Skip to content

Commit a503584

Browse files
更新readme
1 parent c9cdaaf commit a503584

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# 如何使用?
66
首先要成功加载[Kernel-Trace](https://github.com/AndroidReverser-Test/Kernel-Trace)项目提供的kpm模块。
7-
再将目标游戏的libil2cpp.so完整从内存中dump下并放到默认的/data/local/tmp/libil2cpp_fixed.so路径下。
7+
再将目标游戏的libil2cpp.so完整从内存中dump下并放到默认的/data/local/tmp/libil2cpp_fixed.so路径下(如果没有这样做将会触发从内存中dump libil2cpp.so到/data/data/包名/files/下)
88
然后在要进行trace的手游的私有目录(即/data/data/包名/files/)下创建test_trace.txt文件,并向其中输入要trace的类名即可,类名的获取以[PtraceIl2cppDumper](https://github.com/AndroidReverser-Test/PtraceIl2cppDumper)这个项目dump下来的为准,输入样例如:echo "test_clazz_name" >> test_trace.txt, 推荐使用echo向文件输入要trace的类,程序是默认定时获取test_trace.txt文件的最后一行的内容来作为类名进行trace。然后再通过任意ptrace注入器将本项目编译生成的so注入至游戏进程后,查看[Kernel-Trace](https://github.com/AndroidReverser-Test/Kernel-Trace)的输出即可获取trace结果。
99

1010
# 如何构建

0 commit comments

Comments
 (0)