Repository navigation
Tags
Tags
x86: Relocate and virtualize LOOP instructions LOOP, LOOPE and LOOPNE were copied verbatim, leaving their rel8 relative to the wrong address, and Stalker lost control when they were taken. Rewrite them like JECXZ and JRCXZ, and carry over the address-size prefix, as it selects the counter width. This also stops JECXZ from turning into JRCXZ on x86_64.
gumjs: Strip source in compiled QuickJS bytecode Since QuickJS BC_VERSION 5, JS_WriteObject() serializes each function's source slice into b->debug.source unless JS_STRIP_SOURCE is set on the JSRuntime, duplicating nested function bodies throughout the compiled bytecode blob. Match gumquickcompile by enabling JS_STRIP_SOURCE in gum_compile_script_task_run().
module-registry: Tear down with early destructors On Windows the registry hooks LdrLoadDll() and LdrUnloadDll(), and reverting those hooks patches code. When an agent delegates code memory to its host, the memory hooks needed for that are gone by the time final destructors run, so the patch failed and we aborted. Tear down in gum_shutdown() instead, so callers can do so while patching still works.
PreviousNext