Skip to content

Conversation

@rasta-mouse
Copy link

  • Updated the minimum argc count from 3 to 2. Calling a BOFs entry point without arguments is allowed, so fmt and argn should be optional.
  • Updated getting the BOFs exported function from begin to find. This is simply because it may not be the first exported function, which I found when building PEs in Zig. May be worth adding an error check in case no exported function was found, but meh, it's a POC loader.

minimum arg count should be 2 because a bof can be called without arguments
go may not be the first exported function
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