WCC(1) User Commands WCC(1)

wcc - recompile binary files

wcc [options] file

The Witchcraft Core Compiler is part of the Witchcraft Compiler Collection.

The wcc compiler takes binaries (ELF, PE, ...) as an input and creates valid ELF binaries as an output. It can be used to create relocatable object files from executables or shared libraries.

Options:

<output file>
<architecture>
<0xaddress>
<interpreter>
<poison>

-s, --shared

-c, --compile

-S, --static

-x, --strip

-X, --sstrip

-E, --exec

-C, --core

-O, --original

-D, --disasm

-d, --debug

-h, --help

-v, --verbose

-V, --version

Unlink the binary /bin/ls into a relocatable object named /tmp/ls.o
Use the gcc compiler to link the previously generated /tmp/ls.o relocatable object into a shared library /tmp/ls.so

The Witcraft Compiler Collection is a set of reverse engineering tools.

Written by endrazine (Jonathan Brossard)

Witchcraft Compiler Collection online bug tracker: <https://github.com/endrazine/wcc/issues>

Copyright Jonathan Brossard
License : MIT and BSD Licenses. See <https://github.com/endrazine/wcc/blob/master/LICENSE>.

wsh(1), wld(1), wldd(1), wcch(1)

The full documentation of the Witchcraft Compiler Collection is available online at https://github.com/endrazine/wcc/wiki

April 2017 Witchcraft Compiler Collection