[quandary] eliminate spammy soft error for bad return summary

Reviewed By: jeremydubreil

Differential Revision: D6427143

fbshipit-source-id: 55aedb3
master
Sam Blackshear 7 years ago committed by Facebook Github Bot
parent f08a9a3a71
commit 087ff08b82

@ -317,9 +317,7 @@ module Make (TaintSpecification : TaintSpec.S) = struct
| Some base_var ->
Some (AccessPath.Abs.with_base base_var ret_ap)
| None ->
L.internal_error
"Have summary for retval %a of callee %a, but no ret id to bind it to@\n"
AccessPath.Abs.pp ret_ap Typ.Procname.pp (CallSite.pname callee_site) ;
(* TODO (T23832636): fail hard here *)
None
in
let project ~formal_ap ~actual_ap =

@ -195,4 +195,8 @@ void loop_ok() {
}
}
void ret_void_ok() { return; }
void ret_void_transitive_ok() { return ret_void_ok(); }
}

Loading…
Cancel
Save