studys

Results 2 issues of studys

**Bug description** When I use the demo under the qbdi_frida_template directory for testing, Error: access violation accessing 0x0 at _call (frida-qbdi.js:1803) at apply (native) at call (frida-qbdi.js:1809) at (FridaQBDI_sample.js:45) My...

环境:Unidbg(0.9.8),安卓 ARM64。 问题:calloc() 返回的内存未清零,违反 POSIX,进而使上层把脏值当长度,触发写非法页。 复现证据: 我在模拟一个 so 的时候发现会触发越界写操作 导致模拟执行失败,一直找不到原因,经过反复排查发现,样本在调用 calloc分配内存的时候,会分配对 unidbg 已经分配的内存,然后这个内存里面存储的是另一个结构体,错误的分配,导致越界,这是我 hook 抓到的 calloc 分配的值, [calloc@ret ] ret=0x12902000 total=222056 (suspect=0x12902000 sameAddr=true samePage=true) PC=0xfffe1814 LR=0x12125588 [calloc@ret ] head[32]=84326912000000000D0000000000000000000000000000000000000000000000 期望:calloc...