Skip to content

Conversation

@xxr0ss
Copy link
Contributor

@xxr0ss xxr0ss commented Mar 11, 2024

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
Copy link
Contributor Author

xxr0ss commented Mar 11, 2024

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