Added the skeleton for the machine types.

This commit is contained in:
2024-04-11 22:01:15 -05:00
parent 3a452b0922
commit 34f2956922
7 changed files with 65 additions and 18 deletions
+19
View File
@@ -0,0 +1,19 @@
#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