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

pointer detection in the data gatherer #13

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

pointer detection in the data gatherer #13

ampotos opened this issue Aug 25, 2016 · 0 comments

Comments

@ampotos
Copy link
Owner

ampotos commented Aug 25, 2016

It's a lot more easier to detect pointer at runtime than after, even with some context.
So the data gatherer may set a flag on the access_t structure when an offset is storing a value which can be a memory address. To know if a value is a memory address the size must be of a pointer size, and the value must point to a mapped address.

This must be implemented with a minimum overhead (that's why the value will not ba traced to know if it's used to do a memory access). To do that it is possible to store all section on an AVl tree and to check if the value stored is on that tree or in the block tree.

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