mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-19 04:30:10 -08:00
define enum for image type
This commit is contained in:
1 parent
0d0a6d3980
commit
d0d1786cec
3 files changed
+14
-5
No files matched your search
@@ -5159,7 +5159,7 @@ coff_print_obj(Arena *arena, String8List *out, String8 indent, String8 raw_data,
|
||||
|
||||
if (opts & RD_Option_Dwarf) {
|
||||
DW_SectionArray dwarf_sections = rd_dw_sections_from_coff_section_table(scratch.arena, raw_data, string_table_off, header->section_count, sections);
|
||||
dw_format(arena, out, indent, opts, &dwarf_sections, arch, Image_COFF_PE);
|
||||
dw_format(arena, out, indent, opts, &dwarf_sections, arch, Image_CoffPe);
|
||||
}
|
||||
|
||||
exit:;
|
||||
@@ -6857,7 +6857,7 @@ pe_print(Arena *arena, String8List *out, String8 indent, String8 raw_data, RD_Op
|
||||
|
||||
if (opts & RD_Option_Dwarf) {
|
||||
DW_SectionArray dwarf_sections = rd_dw_sections_from_coff_section_table(scratch.arena, raw_data, string_table_off, coff_header->section_count, sections);
|
||||
dw_format(arena, out, indent, opts, &dwarf_sections, arch, Image_COFF_PE);
|
||||
dw_format(arena, out, indent, opts, &dwarf_sections, arch, Image_CoffPe);
|
||||
}
|
||||
|
||||
exit:;
|
||||
|
||||
Reference in new issue
Block a user