Comments (5)
如果让程序完全跑起来以后,中断LLDB 然后跑debugme,似乎也oK,
但是给某个函数在svc 前后加了断点,再继续执行,就会遇到
error: memory read failed for 0xfffffffe18d90000
crash提示在
0x1033c0be8 <+276>: mov x1, x0
尝试打印$x1 和x0是这样的:
(lldb) po $x0
error: Couldn't materialize: couldn't read the value of register x0
error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression
(lldb) po $x1
error: Couldn't materialize: couldn't read the value of register x1
error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression
(lldb) reg read
General Purpose Registers:
x19 = 0x0000000281b69530
x20 = 0x0000000281b69530
x21 = 0x0000000281b69540
x22 = 0x00000002225717b8
x23 = 0x00000001070b9658
x24 = 0x000000028308d560
x25 = 0x000000005f910b68
x26 = 0x00000002226b4037
x27 = 0x0000000106804000 (void *)0x000000010689aec0
x28 = 0x00000001067a4000
fp = 0x00000001704710f0
lr = 0x00000001033c0be8 TikTok`___lldb_unnamed_symbol400914$$TikTok + 276
sp = 0x0000000170471080
pc = 0x00000001033c0be8 TikTok`___lldb_unnamed_symbol400914$$TikTok + 276
20 registers were unavailable.
from xia0lldb.
如果我尝试使用patcher
比如代码段
0x105968c14 <+320>: b 0x105968bf4 ; <+288>
0x105968c18 <+324>: svc #0x80
0x105968c1c <+328>: add sp, sp, #0x50 ; =0x50
我想把0x105968c18 改为nop,
(lldb) patcher -a 0x105968c18 -i nop -s 4
[*] start patch text at address:0x105968c18 size:4 to ins:"nop" and data:0x1f, 0x20, 0x03, 0xd5
[*] make ins data:
{0x1f, 0x20, 0x03, 0xd5 ,0x1f, 0x20, 0x03, 0xd5 ,0x1f, 0x20, 0x03, 0xd5 ,0x1f, 0x20, 0x03, 0xd5 }
[+] patch done
[x] power by xia0@2019
然后再继续,也会遇到
error: memory read failed for 0x10765f6400
from xia0lldb.
douyin就别想一步搞定了
from xia0lldb.
@4ch12dy 能详细说说吗?你是说xia0LLDB 里面那些反反调试的没法用还是有bug?还是被针对了
from xia0lldb.
有对抗
from xia0lldb.
Related Issues (20)
- xcode lldb does not support image to im HOT 2
- 砸壳失败 HOT 4
- xbr -E main failed
- v3.0 error: module importing failed: invalid pathname HOT 1
- debugme
- debuggme
- 与QT Creator程序冲突 HOT 3
- 输入sbt命令,报错,求大佬指点 HOT 1
- xbe -E main And debugme ERROR HOT 1
- debugme error
- 当dumpdecrypted -X时报错 AttributeError: 'NoneType' object has no attribute 'startswith' HOT 4
- Aweme 17.2 sbt无法显示符号,加了block symbol 也不行 HOT 2
- 后台打开名字带空格的app失败 HOT 1
- debugme执行失败
- 执行dumpdecrypted -X报错
- debugme 可以移植到frida上面么
- xcode13.4 info -a和-f 报错
- traceOC: trace ObjectC call by inlinehook msg_send stub code 这个功能啥时候能加下 期待
- Xcode 14 && python39使用choose命令报错,详细如下图 HOT 1
- 命令无法加载
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xia0lldb.