xoreaxeaxeax / movfuscator

The single instruction C compiler
Other
9.39k stars 396 forks source link

Not able to compile using movcc #43

Closed edcdecl closed 2 years ago

edcdecl commented 2 years ago

Operating system: Kubuntu Architecture: 64-bit Movfuscator was run with sudo

movfuscator test.c:

include

int main() { printf("Hello World!"); return 0; }

console output: M/o/Vfuscation started...

emit/mov>addrgp4(5) emit/mov>argp4(addrgp4(5)) emit/mov>addrgp4(5) emit/mov>calli4(addrgp4(printf)) emit/mov>cnsti4(0) emit/mov>cnsti4(0) emit/mov>reti4(cnsti4(0)) emit/mov>labelv(4)

M/o/Vfuscation complete.

/usr/bin/ld: cannot find -lgcc /usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.so when searching for -lc /usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.a when searching for -lc /usr/bin/ld: cannot find -lc /usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libc.so when searching for -lc /usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libm.so when searching for -lm /usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libm.a when searching for -lm /usr/bin/ld: cannot find -lm /usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libm.so when searching for -lm

edcdecl commented 2 years ago

Turns I was stupid and I forgot to install 64-bit libc.