Mr-Un1k0d3r / EDRs

1.96k stars 348 forks source link

Added cast to parameter and modified GetBytesByName type #13

Closed xalicex closed 2 years ago

xalicex commented 2 years ago

I've modified some variable type and function in order to be able to compile and execute the code on my machine. This version is working perfectly. Maybe other people hadthe same issue ?

For instance "GetBytesByName" was a bool but returned nothing (compilation error). "OffsetNamesTable" variable was a DWORD* leading to a compilation error during the operation base + OffsetNamesTableOffset (compilation error)

Mr-Un1k0d3r commented 2 years ago

thank you for your contribution.

xalicex commented 2 years ago

Thank you :)

Just to be specific. I had no problems to compile the old code with mingw on my debian. But in Visual Studio it wasn't possible.