dump so

来源:互联网 发布:分卷包数据不正确修复 编辑:程序博客网 时间:2024/05/29 11:53

先在mmap下断,F9直到 目标so加载到内存中,ctrl+s查看so起始地址,去hex view中dump出来。


IDA dump脚本


static main(void){  auto fp, begin, end, dexbyte;  fp = fopen("C:\\dump.dex","wb");  begin = r0;  end = r0 + r1;  for ( dexbyte = begin; dexbyte < end; dexbyte ++ )      fputc(Byte(dexbyte), fp);}


注:更改变量 “begin”和"end"值


0 0
原创粉丝点击