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

viv: x86: extract function call arguments #926

Open
williballenthin opened this issue Mar 24, 2022 · 1 comment
Open

viv: x86: extract function call arguments #926

williballenthin opened this issue Mar 24, 2022 · 1 comment

Comments

@williballenthin
Copy link
Collaborator

supporting #771, figure out how to extract function call arguments with vivisect against x86 programs.

@williballenthin
Copy link
Collaborator Author

potential strategy: do an emulation pass (such as via viv-utils FullCoverageEmulatorDriver) and extract reg/stack context at each call site. then use calling convention and API definition info to extract arguments.

can use the metadata from the ruleset to figure out which API calls are ever inspected and only extracte/evaluate the scope when there's at least one rule interested in the API.

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

No branches or pull requests

1 participant