Skip to content

Build fails #175

@mranonymous011000001

Description

@mranonymous011000001

⚡ master ~/donut make -f Makefile.mingw
rm -f exe2h exe2h.exe loader.bin instance donut.o hash.o encrypt.o format.o clib.o hash encrypt donut hash.exe encrypt.exe donut.exe lib/libdonut.a lib/libdonut.so loader.exe loader32.exe loader64.exe inject32.exe inject64.exe inject_local32.exe inject_local64.exe

RELEASE

gcc -I include loader/exe2h/exe2h.c -oexe2h
x86_64-w64-mingw32-gcc -I include loader/exe2h/exe2h.c loader/exe2h/mmap-windows.c -lshlwapi -oexe2h.exe
i686-w64-mingw32-gcc -DBYPASS_AMSI_B -DBYPASS_WLDP_A -DBYPASS_ETW_B -fno-toplevel-reorder -fpack-struct=8 -fPIC -O0 -nostdlib loader/loader.c loader/depack.c loader/clib.c hash.c encrypt.c -I include -oloader.exe
In file included from loader/loader.h:97,
from loader/loader.c:32:
loader/peb.h:286:9: error: unknown type name ‘PROCESSOR_NUMBER’
286 | PROCESSOR_NUMBER CurrentIdealProcessor;
| ^~~~~~~~~~~~~~~~
In file included from loader/loader.c:385:
loader/inmem_pe.c: In function ‘RunPE’:
loader/inmem_pe.c:229:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
229 | ntnew->OptionalHeader.ImageBase = (ULONGLONG)cs;
| ^
make: *** [Makefile.mingw:9: donut] Error 1
⚡ master ~/donut

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