mirror of
https://github.com/samsonjs/compiler.git
synced 2026-03-25 08:45:52 +00:00
The supporting infrastructure includes a C program for reading a binary blob of x86 code and wrapping it in an ELF executable for Linux x86. Unsure about getting the data for other sections of the binary besides .text.
12 lines
202 B
NASM
12 lines
202 B
NASM
BITS 32
|
|
|
|
lea eax, [ebx+ecx*4]
|
|
lea ebx, [eax+ecx*4]
|
|
lea eax, [ecx+ebx*4]
|
|
lea eax, [ecx+ebx*8]
|
|
lea eax, [ecx+ebx]
|
|
lea eax, [0x1000+10*4]
|
|
lea eax, [eax]
|
|
lea eax, [ecx]
|
|
lea ecx, [eax]
|
|
lea eax, [0xdeadbeef]
|