[pulse][isl] enable to check invalid for er specs in interprocedural analysis

Reviewed By: skcho

Differential Revision: D27587955

fbshipit-source-id: 652f66435
master
Loc Le 4 years ago committed by Facebook GitHub Bot
parent e549103d75
commit 7c63bef44e

@ -730,8 +730,7 @@ let apply_prepost ~is_isl_error_prepost callee_proc_name call_location ~callee_p
[check_all_valid], whereas the "normal" mode encodes some error specs implicitly in the [check_all_valid], whereas the "normal" mode encodes some error specs implicitly in the
ContinueProgram ok specs *) ContinueProgram ok specs *)
let* astate = let* astate =
if Config.pulse_isl then if Config.pulse_isl then Ok astate
if is_isl_error_prepost then Error (AccessResult.ISLError astate) else Ok astate
else check_all_valid callee_proc_name call_location pre_post call_state else check_all_valid callee_proc_name call_location pre_post call_state
in in
(* reset [visited] *) (* reset [visited] *)

Loading…
Cancel
Save