Skip to content

Update Loader #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Update Loader #1

wants to merge 2 commits into from

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