Skip to content

Latest commit

 

History

History
 
 

overview

M/o/Vfuscator overview

This directory provides a basic example of the M/o/Vfuscator.

In this example, prime.c from the validation directory is compiled with the M/o/Vfuscator.

Assembly:

GCC M/o/Vfuscator
gcc asm mov asm

Control flow graphs:

GCC M/o/Vfuscator
gcc CFG mov CFG

In action:

movcc prime.c -o prime
demo_mov

The assembly generated by gcc for the is_prime function.

gcc -S ./overview/prime.c -o prime_gcc.asm

The assembly generated by the M/o/Vfuscator for the is_prime function.

movcc -S ./overview/prime.c -o prime_mov.asm

The object generated by gcc for the is_prime function.

gcc -c ./overview/prime.c -o prime_gcc.o

The object generated by the M/o/Vfuscator for the is_prime function.

movcc -c ./overview/prime.c -o prime_mov.o

A complete executable compiled with gcc via:

gcc -s ./validation/prime.c -o prime_gcc

A complete executable compiled with the M/o/Vfuscator via:

movcc -s ./validation/prime.c -o prime_mov