Skip to content

Better stack values dependencies tracking #28

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

Open
theihor opened this issue May 22, 2025 · 0 comments
Open

Better stack values dependencies tracking #28

theihor opened this issue May 22, 2025 · 0 comments

Comments

@theihor
Copy link
Collaborator

theihor commented May 22, 2025

Stack slots may be accessed indirectly. For example:

r2 = *(u64 *)(r10 -16) ;; r2 = fp-16
r3 = *(u64 *)(r2 -16) ;; r3 = fp-16-16 = fp-32

However currently the app treats memory accesses through any register except r10 as non-stack access.
This makes it blind to data dependencies through stack slots accessed in this way.

Implement evaluation of the pointer arithmetic in case a register value is known to refer to a stack slot.
Then, use this information when computing dependencies for visualization.

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

No branches or pull requests

1 participant