We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e6abf8 commit 91c3885Copy full SHA for 91c3885
1 file changed
os/win/x86/inmem/ds.asm
@@ -252,9 +252,9 @@ call_entrypoint:
252
push DLL_PROCESS_ATTACH ; fdwReason
253
push ebx ; HINSTANCE
254
; DllMain = RVA2VA(entry_exe, cs, opt->AddressOfEntryPoint);
255
- add ebx, [esp + _ds.AddressOfEntryPoint]
+ add ebx, [esp + _ds.AddressOfEntryPoint + 3*4]
256
call ebx
257
popad ; release _ds
258
popad ; restore registers
259
ret
260
-
+
0 commit comments