angr / angr-targets

This repository contains the currently implemented angr concrete targets.
32 stars 9 forks source link

SimProc for PIC support #6

Closed bannsec closed 2 years ago

bannsec commented 4 years ago

Looking at how Symbion handles syncing SimProcedure addresses, it appears it's not able to properly update them when the binary is PIC.

With that in mind, I'd propose adding another (perhaps optional) method to the Concrete class. Something like symbol_address. It would simply take in a symbol and, if the harness knew how to handle it, could get back either the resolved address for that symbol or None if not resolved.

This would both allow for using simprocs on pic code, and also take away the burden of needing to try to keep up with backend changes of how angr handles simproc registration and such.

github-actions[bot] commented 2 years ago

This issue has been marked as stale because it has no recent activity. Please comment or add the pinned tag to prevent this issue from being closed.

github-actions[bot] commented 2 years ago

This issue has been closed due to inactivity.