Skip to content

How to debug? #6

@Pamel-a

Description

@Pamel-a

With InjectDll is possible to inject an x86 dll on an x86 app from an x64 app? (I have not test it yet)

What broken on debug?

// debug code is broken

I'm able to get the dll working fine, however, debugging it on Visual Studio 22
it doesn't hit any breakpoint and complains about not finding the symbols
strange but it still prints the dll messages on the VS console.

When compiling the DllLoaderShellcode project as Debug the post-build of TestDll.dll is copying the loader.x64.bin instead of loader.x64.Debug.bin, is it correct?

1>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(166,5): error MSB3073: The command "copy /b "C:\Users\DllLoaderShellcode\loader.x64.bin"+"C:\Users\DllLoaderShellcode\x64\Debug\TestDll.dll" "C:\Users\DllLoaderShellcode\TestDll\TestDll.x64.Debug.bin"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions