[biabd] do not get summary of pname to then get pname from summary

Summary:
Using the proc name directly should be equivalent and does not rely on
`Summary` caching summaries for us.

Reviewed By: mbouaziz

Differential Revision: D9196503

fbshipit-source-id: dea67999a
master
Jules Villard 6 years ago committed by Facebook Github Bot
parent cc53c99ad4
commit 69142ccad4

@ -1216,13 +1216,8 @@ let rec sym_exec exe_env tenv current_pdesc instr_ (prop_: Prop.normal Prop.t) p
Reporting.log_info_deprecated current_pname exn ; Reporting.log_info_deprecated current_pname exn ;
L.d_strln L.d_strln
(F.sprintf "Skipping function '%s': %s" (Typ.Procname.to_string callee_pname) reason) ; (F.sprintf "Skipping function '%s': %s" (Typ.Procname.to_string callee_pname) reason) ;
( match Summary.get current_pname with Tabulation.log_call_trace ~caller_name:current_pname ~callee_name:callee_pname
| None -> ?callee_attributes ~reason loc Tabulation.CR_skip ;
()
| Some summary ->
let caller_name = Summary.get_proc_name summary in
Tabulation.log_call_trace ~caller_name ~callee_name:callee_pname ?callee_attributes
~reason loc Tabulation.CR_skip ) ;
unknown_or_scan_call ~is_scan:false ~reason ret_typ ret_annots unknown_or_scan_call ~is_scan:false ~reason ret_typ ret_annots
Builtin. Builtin.
{ pdesc= current_pdesc { pdesc= current_pdesc

Loading…
Cancel
Save