19 lines
310 B
C
19 lines
310 B
C
#ifndef ELF_MACHINE_TYPES_H
|
|
#define ELF_MACHINE_TYPES_H
|
|
|
|
typedef enum ELFMachine
|
|
{
|
|
EM_None = 0,
|
|
EM_M32 = 1, //AT&T WE 32100
|
|
EM_Sparc = 2,
|
|
EM_386 = 3,
|
|
EM_68k = 4,
|
|
EM_88k = 5,
|
|
EM_860 = 7,
|
|
EM_MIPS = 8,
|
|
EM_X86_64 = 0x3E
|
|
} ELFMachine;
|
|
|
|
void GetELFMachineTypeText(ELFMachine type, char buffer[256]);
|
|
|
|
#endif |