You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
letfreshen_sub (rename_map: var Var.Map.t) (sub: Sub.t) : Sub.t =
does not work when invoked with an inline summary of a function call, since the variables there have not been substituted.
The correct solution is to use the existing variable map in Env.t, and freshen those instead.
Alternately, we could save the variable substitution for subroutines in the environment and apply that before analyzing the inlined subroutine, but this is a hack.
The text was updated successfully, but these errors were encountered:
Right now, the
freshen_sub
function atcbat_tools/wp/lib/bap_wp/src/compare.ml
Line 49 in cd3feba
The correct solution is to use the existing variable map in
Env.t
, and freshen those instead.Alternately, we could save the variable substitution for subroutines in the environment and apply that before analyzing the inlined subroutine, but this is a hack.
The text was updated successfully, but these errors were encountered: