Skip to content

Commit f7666fd

Browse files
ctx -> man
1 parent b2b3519 commit f7666fd

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/analyses/apron/linearTwoVarEqualityAnalysis.apron.ml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ let spec_module: (module MCPSpec) Lazy.t =
1414
struct
1515
include SpecFunctor (Priv) (AD) (RelationPrecCompareUtil.DummyUtil)
1616
let name () = "lin2vareq"
17-
let branch ctx e b =
17+
let branch man e b =
1818
if M.tracing then M.trace "lin2vareq" "Branching";
19-
let res = branch ctx e b in
20-
let st = ctx.local in
21-
let ask = Analyses.ask_of_ctx ctx in
22-
let _ = assign_from_globals_wrapper ask ctx.global st e (fun d e' ->
19+
let res = branch man e b in
20+
let st = man.local in
21+
let ask = Analyses.ask_of_man man in
22+
let _ = assign_from_globals_wrapper ask man.global st e (fun d e' ->
2323
try
2424
let tcons = AD.tcons1_of_cil_exp ask d d.env e (not b) (no_overflow ask e) in
25-
let constraintlist = AD.refine_value_domains ctx d tcons in
26-
List.iter (fun e -> ctx.emit (Events.Assert e)) constraintlist;
25+
let constraintlist = AD.refine_value_domains man d tcons in
26+
List.iter (fun e -> man.emit (Events.Assert e)) constraintlist;
2727
d
2828
with _ -> d)
2929
in

src/cdomains/apron/linearTwoVarEqualityDomain.apron.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ struct
710710

711711
let substitute_exp ask t var exp no_ov = timing_wrap "substitution" (substitute_exp ask t var exp) no_ov
712712

713-
let refine_value_domains (ctx:('a,'b,'c,'d) Analyses.ctx) t tcons =
713+
let refine_value_domains (man:('a,'b,'c,'d) Analyses.man) t tcons =
714714
match t.d with
715715
| None -> []
716716
| Some d ->

0 commit comments

Comments
 (0)