Skip to content
This repository has been archived by the owner on Jun 16, 2019. It is now read-only.

Analyzing RA location on the stack #21

Open
surovic opened this issue Apr 2, 2018 · 0 comments
Open

Analyzing RA location on the stack #21

surovic opened this issue Apr 2, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@surovic
Copy link

surovic commented Apr 2, 2018

The current approach to analyzing the stack frame in RemillStackRecovery can be supplemented by analyzing the location of the return address of the caller relative to the top of the stack stored in the stack pointer. A thing to note is that this needs the ABI to define that the callee is responsible for cleaning up stack.

This kind of analysis could provide information about the number of stack parameters passed into the callee without the callee actually accessing any of the parameters. Which is useful when analyzing callsites of the callee so that we won't recover too many or few parameters.

@surovic surovic added the enhancement New feature or request label Apr 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant