-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to load multiple dll images #101
Comments
I'm also trying to load multiple DLLs, and adapting code to setup struct to save info for dedicated DLL, instead of global varibles such as @cube0x8 Could you please kindly clarify that why this struct is required in x64 implementation and how to fix this issue? And, if I have two dlls( Thanks and looking forward your reply! |
I've just noticed that this issue has never been addressed. Sorry for this.
I don't want to jump on conclusions for this, since I am not the owner of the project and this is not my call, but to be able to load and link multiple DLLs you will need to make radical changes to the framework, which I guess are out of the scope of the project itself, since loadlibrary provides a set of API to load a single self-contained DLL mostly for fuzzing purposes. |
Hi, I commented out SEH functions in What I've done is just to introduce the I believe there's potential problems, for my demo is so simple that there's no dependency of any kernel32 API. Thanks and looking forward your reply! |
Hi, It sounds like a good approach to me. I guess you will need to modify some of the peloader APIs, but that should be quite simple and straightforward. For example, if you are using the x86_64 version, you will have to modify the exception handling routine to look for the |
Hi juju812 how can i clone your files and compile . |
Hi, I am trying to use loadlibrary to load a dll image which uses windows Component Object Model internally but some error happens. Seems like loadlibrary links multiple PE image incorrectly.
Since the function in my target PE image utilize COM, it is insufficient to load single PE image. Following is how I try to load both my target PE image and COM related symbols from
ole32.dll
.I wonder if I link the images wrong. If so, how should I link multiple images?
The text was updated successfully, but these errors were encountered: