print thread backtrace
This commit is contained in:
parent
1a41f6f588
commit
c60a077821
@ -72,6 +72,9 @@ Interceptor.attach(Module.findExportByName(null, "dlopen"), {
|
||||
Interceptor.attach(offset.add(funcAddr), {
|
||||
onEnter: function(args) {
|
||||
console.log('hooked !');
|
||||
Thread.backtrace(this.context, Backtracer.ACCURATE).forEach(function(addr) {
|
||||
console.log('\t' + addr + ' : ' + DebugSymbol.fromAddress(addr));
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user