Skip to content
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

Work out how to choose/format arguments in library wrapping #18

Closed
ncatlin opened this issue Sep 30, 2016 · 0 comments
Closed

Work out how to choose/format arguments in library wrapping #18

ncatlin opened this issue Sep 30, 2016 · 0 comments
Labels

Comments

@ncatlin
Copy link
Owner

ncatlin commented Sep 30, 2016

Option 1 (Current): Dev adds wrappings for arguments that they think look interesting, in a format that suits. This allows for handy custom formats like "RWX" instead of "0x40".

If it's not already there then you need to request it or write+build it yourself. Distribution of your fancy wrapping code would have to be in the form of source (pain in the neck) or binary (what could go wrong).

Option 2: The client reads in an optional user-supplied text file for each library it loads. It reads symbols, arguments required from each symbol and the format of each argument.

Pros- Easy to contribute to, customise for individual binaries and safe to distribute.
Cons- Does nothing more than return the argument. No custom processing code.

Option 3: Option 1 [unless an option 2 file exists]

Option 4: ???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant