启动:
objection -g com.android.settings explore
//查看环境
env
//列举so文件
memory list modules
//列举so文件导出方法
memory list exports libA3AEECD8.so
//将结果写入文件中
memory list exports libA3AEECD8.so --json /root/test.json
//查找可以hook的类
android hooking list classes
//查找带关键词的类
android hooking search classes display
//查看对应类有哪些方法
android hooking list class_methods com.android.settings.DisplaySettings
//生产hook类的代码
android hooking generate simple
//搜索类中的方法
android hooking search classes com.example.httptest.MainActivity
android hooking list class_methods
com.example.httptest.MainActivity$1
android hooking list class_methods
com.example.httptest.MainActivity$ChangeOrientation
//内存搜索/修改
memory search "64 65 78 0a 30 33 35 00"
memory search "99999999999" --string
memory write 0x130b4060 "99999999999" --string
//输出内容保存到文件
objection -g cn.xxx.xxxx run android hooking list classes > abc.log
//查看/结束任务
jobs list
jobs kill 1qdu22kih04