Tencent / loli_profiler

Memory instrumentation tool for android app&game developers.
Other
610 stars 76 forks source link

unity 2019.4解析不出来 #36

Closed redcard1 closed 1 year ago

redcard1 commented 1 year ago

unity2019.4,unity和libil2cpp一直解析不出来,看到有生成libil2cpp.so.txt和libunity.so.txt都是有符号的 image

redcard1 commented 1 year ago

image 我的配置是上图这样

redcard1 commented 1 year ago

解决了,需要分两步,采集完再load symbol。。。

redcard1 commented 1 year ago

by the way,能否支持下mmap的获取啊?

sindney commented 1 year ago

好,可以自己扩展下,因为mmap与malloc有关系,并且mmap拿到的大部分是内存池扩容堆栈(类似xcode allocations) 一般引擎抓内存也要切到系统malloc,为了通用,所以我们没做mmap的hook,有需要可以自己fork改