commit
ea8b909747
13
README.md
13
README.md
@ -2246,17 +2246,14 @@ Process.findModuleByName('linker64').enumerateSymbols().forEach(sym => {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
Interceptor.attach(do_dlopen, function () {
|
Interceptor.attach(do_dlopen, function (args) {
|
||||||
var what = this.context['x0'].readUtf8String();
|
if (args[0].readUtf8String().indexOf(target_lib_name) >= 0) {
|
||||||
if (what.indexOf(target_lib_name) >= 0) {
|
|
||||||
Interceptor.attach(call_ctor, function () {
|
Interceptor.attach(call_ctor, function () {
|
||||||
Interceptor.detachAll();
|
|
||||||
console.log('loading target');
|
|
||||||
const module = Process.findModuleByName(target_lib_name);
|
const module = Process.findModuleByName(target_lib_name);
|
||||||
|
|
||||||
console.log(module.base);
|
|
||||||
base = module.base;
|
base = module.base;
|
||||||
// DoStuff
|
console.log('loading', target_lib_name, '- base @', base);
|
||||||
|
|
||||||
|
// DoStuff
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user