(资料图)
这里我们可以知道偏移地址(实际地址=基地址+偏移地址+ thumb指令?1:0))
showDilog() → 0x547484
showMessage() → 0x547F30
通过这种方式我们就可以轻松的批量断点我们希望断点的方法了以下为一个简单的批量断点脚本示例:
function start(){ //com.izyplay.defusethebomb.bazhang var arrayAddr = [0x54728C,0x547310,0x54745C,0x547DF8,0x547484,0x548218,0x547F30,0x55DF40 ,0x679798,0x6798B4,0x687428,0x687350]; var arrayName = ["AndroidDialog Create","AndroidDialog Create1","AndroidDialog init" ,"AndroidMessage Create","showDialog","CallStatic","showMessage","SetPressedState" ,"NativeDialog","NativeMessage","ToggleButton","OnClick"];