Skip to content

Commit

Permalink
Fix off-by-one error
Browse files Browse the repository at this point in the history
  • Loading branch information
zoep committed Aug 27, 2024
1 parent 2ec04a6 commit e4cbf6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Act/HEVM.hs
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ checkConstructors solvers initcode runtimecode store (Contract ctor _) codemap =
-- check is any addresses casted to contracts can be aliased
checkAliasing solvers ctor (map fst casts) calldata
-- Symbolically execute bytecode
solbehvs <- removeFails <$> getInitcodeBranches solvers initcode hevminitmap calldata (symAddrCnstr 0 fresh) fresh
solbehvs <- removeFails <$> getInitcodeBranches solvers initcode hevminitmap calldata (symAddrCnstr 1 fresh) fresh

-- traceM "Solc behvs: "
-- traceM $ showBehvs solbehvs
Expand Down

0 comments on commit e4cbf6c

Please sign in to comment.