Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
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?
Thanks so much./
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.
You can use regsvr32.exe. It will load the DLL (run the entry point) and then silently fail because there is no DllRegisterServer export.
Implement the C application which loads your library, i.e. calls LoadLibrary().
Required, but never shown