diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/analysis/binary.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/analysis/binary.c b/src/analysis/binary.c index 6c8bcba..d7f89b1 100644 --- a/src/analysis/binary.c +++ b/src/analysis/binary.c @@ -40,6 +40,7 @@ #include "disass/disassembler.h" #include "../common/extstr.h" #include "../common/cpp.h" +#include "../core/collections.h" #include "../core/params.h" #include "../glibext/chrysamarshal.h" @@ -153,6 +154,8 @@ static void g_loaded_binary_init(GLoadedBinary *binary) binary->storages[DBF_SEGMENTS_DISPLAY] = DBS_ALL_LOCAL; binary->storages[DBF_BOOKMARKS] = DBS_ALL_LOCAL; + binary->collections = create_collections_list(); + binary->col_display[BVW_BLOCK][BLC_PHYSICAL] = true; binary->col_display[BVW_BLOCK][BLC_VIRTUAL] = true; binary->col_display[BVW_BLOCK][BLC_BINARY] = true; @@ -263,10 +266,11 @@ GLoadedBinary *g_loaded_binary_new_from_xml(xmlXPathContextPtr context, const ch if (result == NULL) return NULL; - /* --------- %< --------- TODO : à bouger pur + de générique --------- %< --------- */ + /* --------- %< --------- TODO : à bouger pour + de générique --------- %< --------- */ - result->collections = create_collections_list(); + // -> init() + //result->collections = create_collections_list(); if (!g_loaded_binary_load_storage(result, context, path)) |