Comments (8)
第四部主要是针对mobile设备的。。mac的我好久没测试了,之前也是可以的。。你可以尝试直接用自带的 itracer 注入下试试,不行的话,可以网上再找找其他的注入工具,只要能够吧 itrace.dylib 成功注入到 对方进程,就可以trace了。。
from itrace.
恩,直接xmake f -p macosx -a x86_64可以编译运行,但是会报segmentation fault 11,不知道是什么数组会在64位系统下指针越界?
from itrace.
是 itrace.dylib crash了? 还是 itrace注入程序本身 crash?如果只是itrace crash没关系的,他只是个注入器而已,如果是 itrace.dylib crash 了。。可以参考readme第一点说明,通过配置:<classname args="0" />
禁用某些class的参数打印:
注: 尽量不要去hook, 频繁调用的class, 比如 UIView NSString, 否则会很卡,操作就不方便了。 注: 如果挂接某个class, 中途打印参数信息挂了, 可以在对应的类名后面 加上 args="0" 属性, 来禁止打印参数信息, 这样会稳定点。 如果要让所有类都不打印参数信息, 可以直接设置:
from itrace.
它应该还没注入成功就crash了,才走到找到pid这一步:
sudo ./itracer Instruments
[itracer]: [itrace]: name: Instruments, pid: 573
Segmentation fault: 11
from itrace.
另外我没找到它查明arch的逻辑,就在prefix里强行def了x64并undef了其他的arch,不知道这样做对不对
from itrace.
哦。。那就是注入问题了,,注入这个程序 我好久没更新了,64bits上也许是有些问题,你可以调下,或者可以用第三方的注入工具,吧 itrace.dylib 注入到 你需要hook的进程中去就行了。
from itrace.
mac上自带的程序是否有注入保护?我试了几个app,发现finder注入会自动重启,xcode/instruments注入后没反应,chrome倒是可以注入成功并正常运作。
from itrace.
是否有保护,这个我最近也没怎么研究过,要不你百度下看看。。
from itrace.
Related Issues (3)
- 64位注入相关 HOT 3
- 64位 打印frame崩溃 HOT 3
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 itrace.