mirror of
https://github.com/httptoolkit/frida-interception-and-unpinning.git
synced 2026-10-28 17:52:52 +01:00
Fix two tiny but fundamental breakages in config.js
Due to this, concatenating scripts broke (missing semi-colon meant latest IIFEs were treated as arguments and totally broke) and anonymous module handling failed and threw various errors due to unavailable handles.
This commit is contained in:
@@ -203,7 +203,7 @@ new ApiResolver('module').enumerateMatches('exports:linker*!*dlopen*').forEach((
|
||||
}
|
||||
},
|
||||
onLeave(retval) {
|
||||
if (!this.path || retval.isNull()) return;
|
||||
if (!this.path || !retval || retval.isNull()) return;
|
||||
if (!MODULE_LOAD_CALLBACKS[this.moduleName]) return;
|
||||
|
||||
let module = Process.findModuleByName(this.moduleName)
|
||||
@@ -252,4 +252,4 @@ const getAnonymousModule = (name, path, handle) => {
|
||||
name,
|
||||
path,
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user