[infer][ondemnad] remove the call to `Summary.write_summary` in BufferOverrun which is no longer necessary

Summary: Writing the summaries to disk now happens automatically during the on-demand analysis calls. So, individual checkers do not need to worry anymore about when should the analysis summaries be written to disk for the interprocedural analysis to do the right thing.

Reviewed By: sblackshear

Differential Revision: D4764337

fbshipit-source-id: 63870db
master
Jeremy Dubreil 8 years ago committed by Facebook Github Bot
parent 40e63aa42c
commit 81c0877e20

@ -419,7 +419,6 @@ let compute_post
= fun { pdesc; tenv; extras = get_pdesc } ->
let cfg = CFG.from_pdesc pdesc in
let pdata = ProcData.make pdesc tenv get_pdesc in
let pname = Procdesc.get_proc_name pdesc in
let inv_map = Analyzer.exec_pdesc ~initial:Dom.Mem.bot pdata in
let entry_mem =
let entry_id = CFG.id (CFG.start_node cfg) in
@ -433,7 +432,6 @@ let compute_post
Report.report_error pdesc cond_set;
match entry_mem, exit_mem with
| Some entry_mem, Some exit_mem ->
Summary.write_summary pname (entry_mem, exit_mem, cond_set);
Some (entry_mem, exit_mem, cond_set)
| _ -> None

Loading…
Cancel
Save