load ELF file into memory
问题 I'm trying to put an elf file into memory and then execute it, these are the steps: 1- file to put into memory int main() { printf("Hello world! \n"); return 0; } 2- Compile it gcc -o hello hello.c -static ELF Header: Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 Class: ELF32 Data: 2's complement, little endian Version: 1 (current) OS/ABI: UNIX - System V ABI Version: 0 Type: EXEC (Executable file) Machine: ARM Version: 0x1 Entry point address: 0x8120 Start of program headers: 52