|
|
@ -118,7 +118,7 @@ let checker {Callbacks.summary; proc_desc; tenv} : Specs.summary =
|
|
|
|
in
|
|
|
|
in
|
|
|
|
let extras = FormalMap.make proc_desc in
|
|
|
|
let extras = FormalMap.make proc_desc in
|
|
|
|
let proc_data = ProcData.make proc_desc tenv extras in
|
|
|
|
let proc_data = ProcData.make proc_desc tenv extras in
|
|
|
|
match Analyzer.compute_post proc_data ~initial:ResourceLeakDomain.initial ~debug:false with
|
|
|
|
match Analyzer.compute_post proc_data ~initial:ResourceLeakDomain.initial with
|
|
|
|
| Some post ->
|
|
|
|
| Some post ->
|
|
|
|
(* 1(f) *)
|
|
|
|
(* 1(f) *)
|
|
|
|
report post proc_data ;
|
|
|
|
report post proc_data ;
|
|
|
@ -127,4 +127,3 @@ let checker {Callbacks.summary; proc_desc; tenv} : Specs.summary =
|
|
|
|
L.(die InternalError)
|
|
|
|
L.(die InternalError)
|
|
|
|
"Analyzer failed to compute post for %a" Typ.Procname.pp
|
|
|
|
"Analyzer failed to compute post for %a" Typ.Procname.pp
|
|
|
|
(Procdesc.get_proc_name proc_data.pdesc)
|
|
|
|
(Procdesc.get_proc_name proc_data.pdesc)
|
|
|
|
|
|
|
|
|
|
|
|