diff options
Diffstat (limited to 'src/binary.c')
-rw-r--r-- | src/binary.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/binary.c b/src/binary.c index 6bfa551..df64a1a 100644 --- a/src/binary.c +++ b/src/binary.c @@ -44,6 +44,7 @@ #include "format/elf/e_elf.h" #include "format/dwarf/d_dwarf.h" #include "format/java/e_java.h" +#include "format/pe/e_pe.h" #ifndef _ @@ -392,6 +393,7 @@ void fill_snippet(GtkSnippet *snippet, GtkWidget *panel, GtkWidget *panel2) register_exe_format(_("Java"), java_is_matching, load_java); + register_exe_format(_("Portable Executable"), pe_is_matching, load_pe); bin_data = map_binary_file("/tmp/hello", &length); @@ -407,7 +409,7 @@ void fill_snippet(GtkSnippet *snippet, GtkWidget *panel, GtkWidget *panel2) printf(" --> ok ? %p\n", format); - exit(0); + //exit(0); return; |