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

Getting callee in payload exit function in the case of indirect call #10

Closed
tylergu opened this issue Apr 9, 2021 · 1 comment
Closed

Comments

@tylergu
Copy link
Contributor

tylergu commented Apr 9, 2021

In the case of indirect call with register-related addressing mode, SPI finds the callee by fetching saved register value from stack and computes the effective callee address. But this is not possible in the payload exit function as the saved registers are consumed by the original function call.

@tylergu
Copy link
Contributor Author

tylergu commented Jul 15, 2021

We now save callee information in the pre-instrumentation function, and retrieve it in the post-instrumentation function.

@tylergu tylergu closed this as completed Jul 15, 2021
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