/AndroidBinUtils

安卓逆向相关的一些二进制工具 / Some bin utils for android reverse engineer

Primary LanguageC

说明 / intro

  • 该工程下的工具主要运行在安卓手机上,请将工具用 adb push 到手机后使用

  • These bin utils are work only on android devices, please push to your devices first (use adb push cmd)

  • 发布的版本只提供了 armeabi-v7a 架构的版本,如果需要其他版本,请自行编译

  • Release versions only contain armeabi-v7a, if you need other arch, please compile by yourself

elftag

  • modify app_process32(64) to load third so lib

reference

usage

usage: elftag [option] <elffile>
 modify dynamic section tag of DEBUG to NEEDED and set its value to android_runtime.so
 Options are:
  -r        Revert modification to DEBUG tag
  -h        Display this information

FixElfSection

  • 用于dump elf文件后的section修复,修复后可以在IDA中直接查看

  • FixElfSection 的 AndroidStudio 实现

reference

usage

usage: FixElfSection <elffile>
 fix.so will be created in the same directory

SoFixer

  • so修复相关

  • SoFixer 的 AndroidStudio 实现

reference

usage

SoFixer v0.2 author F8LEFT(currwin)
Useage: SoFixer <option(s)> -s sourcefile -o generatefile
 try rebuild shdr with phdr
 Options are:
  -d --debug                                 Show debug info
  -m --memso memBaseAddr(16bit format)       Source file is dump from memory from address x
  -s --source sourceFilePath                 Source file path
  -o --output generateFilePath               Generate file path
  -h --help                                  Display this information