summaryrefslogtreecommitdiff
path: root/src/format/elf
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-02-10 10:02:16 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-02-10 10:02:16 (GMT)
commit465488d5b231c2552116a305c48b5fcccea55a09 (patch)
treef4d072ad9cf56466f4e55d0608f7a3fe9204efaf /src/format/elf
parent946f5f093c7265dc5a5e00694325605b249eea43 (diff)
Improved the support of the DEX format.
Diffstat (limited to 'src/format/elf')
-rw-r--r--src/format/elf/elf.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/format/elf/elf.c b/src/format/elf/elf.c
index a48e3b3..4bc8bbf 100644
--- a/src/format/elf/elf.c
+++ b/src/format/elf/elf.c
@@ -39,7 +39,6 @@
#include "strings.h"
#include "symbols.h"
#include "../../gui/panels/log.h"
-#include "../../plugins/pglist.h"
@@ -294,15 +293,16 @@ GBinFormat *g_elf_format_new(GBinContent *content, GExeFormat *parent)
}
- /* TODO : à bouger dans un épilogue commun */
+ if (!g_binary_format_complete_loading(G_BIN_FORMAT(result)))
+ goto gefn_error;
- handle_binary_format(PGA_FORMAT_LOADER_LAST, G_BIN_FORMAT(result));
+ return G_BIN_FORMAT(result);
- g_binary_format_delete_duplicated_symbols(G_BIN_FORMAT(result));
+ gefn_error:
- /* .... */
+ g_object_unref(G_OBJECT(result));
- return G_BIN_FORMAT(result);
+ return NULL;
}