Skip to content

Commit

Permalink
Add reachability timing
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Sep 28, 2023
1 parent eb674b7 commit dd2a70b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/analyses/base.ml
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,8 @@ struct
if M.tracing then M.traceu "reachability" "All reachable vars: %a\n" AD.pretty !visited;
List.map AD.singleton (AD.elements !visited)

let reachable_vars ask args gs st = Timing.wrap "reachability" (reachable_vars ask args gs) st

let drop_non_ptrs (st:CPA.t) : CPA.t =
if CPA.is_top st then st else
let rec replace_val = function
Expand Down

0 comments on commit dd2a70b

Please sign in to comment.