-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Negative jump offsets are valid in eBPF
Therefore, while all paths through the CFG should end with an exit instruction, it is not necessarily the last instruction. Signed-off-by: Paul Chaignon <[email protected]>
- Loading branch information
Showing
3 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
-- asm | ||
mov r1, 0 | ||
ja +2 | ||
mov r2, 0 | ||
exit | ||
mov r0, 0 | ||
ja -4 | ||
-- result | ||
0x0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters