mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-29 09:03:20 -08:00
move magic check to PE layer
This commit is contained in:
1 parent
33326a8fa6
commit
8d9f85bfcc
5 files changed
+17
-11
No files matched your search
@@ -269,7 +269,7 @@ entry_point(CmdLine *cmdline)
|
||||
coff_print_big_obj(arena, out, indent, raw_data, opts);
|
||||
} else if (coff_is_obj(raw_data)) {
|
||||
coff_print_obj(arena, out, indent, raw_data, opts);
|
||||
} else if (rd_is_pe(raw_data)) {
|
||||
} else if (pe_check_magic(raw_data)) {
|
||||
RDI_Parsed *rdi = 0;
|
||||
if (!(opts & RD_Option_NoRdi)) {
|
||||
rdi = rd_rdi_from_pe(arena, file_path, raw_data);
|
||||
|
||||
Reference in new issue
Block a user