C-then-asm shellcoding approach

0001-01-01

The C-then-asm shellcoding approach refers to writing shellcode in C first, then converted into assembly language (eg: with gcc -S).

The advantages of this approach are that it tends to be easier and faster to write code in C than assembler for most people, and you can take advantage of compiler optimizations in the resulting assembler code.