Skip to content

Fix eBPF exit instruction - #61

Draft
xxr0ss wants to merge 1 commit into
angr:masterfrom
xxr0ss:master
Draft

Fix eBPF exit instruction#61
xxr0ss wants to merge 1 commit into
angr:masterfrom
xxr0ss:master

Conversation

@xxr0ss

@xxr0ss xxr0ss commented Mar 11, 2024

Copy link
Copy Markdown
Contributor

exit means "return" according to
Jump instructions

code value src description notes
BPF_EXIT 0x9 0x0 return BPF_JMP only

and Program-local functions

A BPF_EXIT within the program-local function will return to the caller.

@xxr0ss
xxr0ss marked this pull request as draft March 11, 2024 13:10
@xxr0ss

xxr0ss commented Mar 11, 2024

Copy link
Copy Markdown
Contributor Author

oh, I think I need to figure out the calculation of return address before this change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant