#include <assert.h>
#include <string.h>
#include <fstream>
#include <iomanip>
#include "AddressDataBus.h"
#include "components/CPUComponent.h"
#include "FileLoader_ELF.h"
#include "thirdparty/exec_elf.h"
Go to the source code of this file.
◆ ELF_HEADER_VAR
#define ELF_HEADER_VAR |
( |
|
hdr32, |
|
|
|
hdr64, |
|
|
|
type, |
|
|
|
name |
|
) |
| |
Value: type
name = elf32? hdr32->name \
: hdr64->name; \
int size = elf32? sizeof(hdr32->name) : sizeof(hdr64->name); \
switch (size) { \
} \
} else { \
int size = elf32? sizeof(hdr32->name) : sizeof(hdr64->name); \
switch (size) { \
} \
}
◆ N_ELF_MACHINE_TYPES
#define N_ELF_MACHINE_TYPES 89 |