#C++ DLL once injected moves memory location of strings to random offset

13 messages · Page 1 of 1 (latest)

low geodeBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.

vast remnant
#

i think youre gonna have to provide a reproducible example in order for us to understand what youre doing

formal pelican
vast remnant
formal pelican
#

i think ive fixed it by using a diff compiler

#

msvc shite

nova kindle
formal pelican
#

I found the issue

#

Basically, when you call Load Library, the OS automatically maps the addresses of the library (DLL) you load to the right stuff

#

But when you just allocate and write to memory, all things like strings aren't mapped to the right place and therefore it starts to pull random and wrong strings that cause errors

#

I wonder if there's a way to manually call these mapping functions that LoadLibrary does.

low geodeBOT
#

@formal pelican

Please Do Not Delete Posts!

Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. In the future you can use !solved to close a post and mark a post as solved.

formal pelican
#

!solved