mhelwig / apk-anal

Android APK analyzer based on radare2 and others.
GNU Lesser General Public License v3.0
152 stars 27 forks source link

Small tips for r2pipe o/ #2

Open Maijin opened 6 years ago

Maijin commented 6 years ago

Hey o/

Just a small tips regarding the usage of r2pipe, prefer cmdj that returns json to cmd parsing example:

https://github.com/mhelwig/apk-anal/blob/master/apk-anal.py#L77

r2.cmdj("axtj @ " + address") aflj, izzj, iij, isj, icj

mhelwig commented 6 years ago

Thanks, I will test this. Plan is to switch to json wherever possible instead of the parsing that is done at the moment.