mirror of
https://github.com/GaloisInc/macaw.git
synced 2024-12-02 10:54:04 +03:00
14 lines
345 B
C
14 lines
345 B
C
#include "util.h"
|
|
|
|
void _start() {
|
|
long long x;
|
|
here:
|
|
// This makes an instruction with a short 0x90 nop slide.
|
|
x = 0x9090909090909090;
|
|
// The +4 is completely ignored by gcc. You have to modify the assembly by
|
|
// hand after compiling to make this jump into the middle of an emitted
|
|
// instruction.
|
|
goto *(&&here + 4);
|
|
EXIT();
|
|
}
|