Skip to content

Commit

Permalink
Limit compare_and_jump_indirect_op_valid with EA <= EA_jmp
Browse files Browse the repository at this point in the history
  • Loading branch information
junghee committed Apr 24, 2024
1 parent e91fa5b commit da13d0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/datalog/boundary_value_analysis.dl
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ compare_and_jump_indirect_op_valid(EA_cmp,EA_jmp,EA,IndirectOp,Steps+1):-
// Propagate forward (hopefully) towards the jump.
// We don't support compare/jump pairs that require following complex CFG
// edges.
EA <= EA_jmp,
compare_and_jump_indirect_op_valid(EA_cmp,EA_jmp,Prev,IndirectOp,Steps),
Steps < 3,
may_fallthrough(Prev,EA),
Expand Down

0 comments on commit da13d0e

Please sign in to comment.