Skip to content

Commit 5d82bf3

Browse files
roro47facebook-github-bot
authored andcommitted
[cost] log unmodeled function
Summary: Log unmodeled function and send result to scuba. Reviewed By: ezgicicek Differential Revision: D22090755 fbshipit-source-id: ba92ae8a6
1 parent f5993b7 commit 5d82bf3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

infer/src/bufferoverrun/bufferOverrunAnalysis.ml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,8 @@ module TransferFunctions = struct
405405
| _, `NotFound ->
406406
(* This may happen for procedures with a biabduction model too. *)
407407
L.d_printfln_escaped "/!\\ Unknown call to %a" Procname.pp callee_pname ;
408+
ScubaLogging.log_message ~label:"unmodeled_function_inferbo"
409+
~message:(F.asprintf "Unmodeled Function[Inferbo] : %a" Procname.pp callee_pname) ;
408410
Dom.Mem.add_unknown_from ret ~callee_pname ~location mem ) )
409411
| Call (((id, _) as ret), fun_exp, _, location, _) ->
410412
let mem = Dom.Mem.add_stack_loc (Loc.of_id id) mem in

0 commit comments

Comments
 (0)