mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-06 13:58:40 +00:00
entity parameter tree equipment; architecture -> arch
This commit is contained in:
@@ -81,7 +81,7 @@ elf_parsed_from_data(Arena *arena, String8 elf_data){
|
||||
|
||||
//- validate & translate header values
|
||||
B32 header_is_good = 0;
|
||||
Architecture arch = Architecture_Null;
|
||||
Arch arch = Arch_Null;
|
||||
if (decoded_header){
|
||||
header_is_good = 1;
|
||||
|
||||
@@ -96,8 +96,8 @@ elf_parsed_from_data(Arena *arena, String8 elf_data){
|
||||
if (header_is_good){
|
||||
switch (e_machine){
|
||||
default: header_is_good = 0;
|
||||
case ELF_Machine_386: arch = Architecture_x86; break;
|
||||
case ELF_Machine_X86_64: arch = Architecture_x64; break;
|
||||
case ELF_Machine_386: arch = Arch_x86; break;
|
||||
case ELF_Machine_X86_64: arch = Arch_x64; break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -462,7 +462,7 @@ typedef struct ELF_SegmentArray{
|
||||
typedef struct ELF_Parsed{
|
||||
String8 data;
|
||||
ELF_Class elf_class;
|
||||
Architecture arch;
|
||||
Arch arch;
|
||||
|
||||
ELF_Shdr64 *sections;
|
||||
String8 *section_names;
|
||||
|
||||
Reference in New Issue
Block a user