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

Recording base address used for memory access #5

Open
ampotos opened this issue Aug 25, 2016 · 0 comments
Open

Recording base address used for memory access #5

ampotos opened this issue Aug 25, 2016 · 0 comments

Comments

@ampotos
Copy link
Owner

ampotos commented Aug 25, 2016

When an access is record, if the access is of the form base + disp + scale * index record the base value.
The base will change between each block and may change inside a block. So recording it in a AVL tree can be a gooo think.
The tree can be store in the access_t structure and the data must store the base adrress and the number of time it was used for this offset. Record is a disp and/or scale*index was used to perform the access can also be a good idea (just storing a flag is nice, Idon't think we need the value).

Also this data have to be add on the ouptut, at least Json output (the console output may disappear soon).

This will be later used for inner struct or inner array during the structure recovery. It also be needed to when the monitoring of the stack will be add.

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

No branches or pull requests

1 participant