Skip to content
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

Hello, doesn't DarkLoadLibrary support x86? #15

Open
maxbad opened this issue Nov 24, 2021 · 3 comments
Open

Hello, doesn't DarkLoadLibrary support x86? #15

maxbad opened this issue Nov 24, 2021 · 3 comments

Comments

@maxbad
Copy link

maxbad commented Nov 24, 2021

I use vs2019's x64 to compile normally, but it fails to compile on X86.

1>Assembling src\syscallsstubs.asm...
1>src\syscallsstubs.asm(1): error A2013: .MODEL must precede this directive
1>src\syscallsstubs.asm(5): error A2034: must be in segment block : NtProtectVirtualMemory
1>src\syscallsstubs.asm(6): error A2034: must be in segment block
1>src\syscallsstubs.asm(7): error A2034: must be in segment block
1>src\syscallsstubs.asm(8): error A2034: must be in segment block
1>src\syscallsstubs.asm(9): error A2034: must be in segment block
1>src\syscallsstubs.asm(10): error A2034: must be in segment block
1>src\syscallsstubs.asm(11): error A2034: must be in segment block
1>src\syscallsstubs.asm(12): error A2034: must be in segment block
1>src\syscallsstubs.asm(13): error A2034: must be in segment block
1>src\syscallsstubs.asm(14): error A2034: must be in segment block
1>src\syscallsstubs.asm(15): error A2034: must be in segment block
1>src\syscallsstubs.asm(16): error A2034: must be in segment block
1>src\syscallsstubs.asm(17): error A2034: must be in segment block
1>src\syscallsstubs.asm(18): error A2034: must be in segment block
1>src\syscallsstubs.asm(19): error A2034: must be in segment block
1>src\syscallsstubs.asm(20): error A2034: must be in segment block
1>src\syscallsstubs.asm(21): fatal error A1010: unmatched block nesting : NtProtectVirtualMemory
@physics-sec
Copy link
Contributor

It seems that Visual Studio tries to compile the x64 assembly even for x86.
That shouldn't be hard to fix, but for the moment: no, it doesn't support x86

@maxbad
Copy link
Author

maxbad commented Nov 25, 2021

Very much looking forward to fixing this problem

@pulpgit
Copy link

pulpgit commented Feb 10, 2022

Just exclude the asm file from the x86 build and then compiles ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants