From 7ea3e51bf10ec0ed8f3cbd7c40564485426943f7 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Mon, 24 Nov 2014 21:03:28 +0000 Subject: Loaded empty collections for all binaries. git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@424 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a --- ChangeLog | 5 +++++ src/analysis/binary.c | 8 ++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8e58017..2314027 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 14-11-24 Cyrille Bagard + * src/analysis/binary.c: + Load empty collections for all binaries. + +14-11-24 Cyrille Bagard + * src/arch/arm/v7/arm.c: Extend the ARM decoding and fix some masks. 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)) -- cgit v0.11.2-87-g4458