TransWikia.com

How to set search scope in radare2

Reverse Engineering Asked by ju5t_4n07h3r_7ryh4rd3r on April 6, 2021

Iam wondering how to change search scope in radare2. I`ve made some research and set variables search.from and search.to, according to Radare2 Book, but it doesn’t work at all!
Screenshot from R2, setting search scope.

Could you help me with this one?

r2 -v radare2 3.6.0-git 22077 @ linux-x86-64 git.3.5.1-256-ga49bb7cf6

One Answer

Ok, I think I found the solution.

In case anybody has same issue. You have to set search.in value to "range" in order to "tell" r2 it should look within the scope you provided.

e.search.in=range
e.search.from=[addr]
e.search.to=[addr]

if you want to search whole memory use e.search.in=dbg.maps

Good luck!

Answered by ju5t_4n07h3r_7ryh4rd3r on April 6, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP