I am trying to debug a dll by IDA but it have no exported functions so I can not use rundll32.exe to debug it. How can i do that?
3 Answers
I believe you can still execute rundll32.exe
without an exported function by just specifying rundll32.exe <dllpath>,
(don't forget the comma). If I'm not mistaken this will load the DLL and execute the entry point.
-
Thanks for your answer. I tried before but a problem has occurred: "The instruction at 0x75DAEA5C referenced memory at 0xC. the memory could not be read -> 0000000C (exc.code c0000005, tid 1444)" Do you know why? Oct 4, 2018 at 3:43
-
1I guess that's because there's an access violation within the executable.– NirIzrOct 4, 2018 at 3:51
You can use regsvr32.exe
. It will load the DLL (run the entry point) and then silently fail because there is no DllRegisterServer
export.