nowsecure / r2frida

Radare2 and Frida better together.
MIT License
1.18k stars 121 forks source link

Add allocation commands #37

Closed trufae closed 7 years ago

trufae commented 7 years ago

We want to manage the heap from Frida.. sooo:

mrmacete commented 7 years ago

Frida allocations are kept until a js reference to them exist, so i propose to:

trufae commented 7 years ago

I have been thinking in making dmh work with frida too. Only for linux atm. But being able to catch heap overflows at runtime using frida and analyze the chunk changes with r2 will be another good use case for r2frida

On 31 Jan 2017, at 14:37, Francesco Tamagni notifications@github.com wrote:

Frida allocations are kept until a js reference to them exist, so i propose to:

keep a dictionary / set of all of them when an allocation is created, the address of its pointer is returned / displayed to r2 user when user is done using it, there should be a command like ds- [addr] with optional address to remove a specific allocation, without args to bulk remove them all — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

trufae commented 7 years ago

Fixed by @mrmacete thanks!