diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2014-08-18 21:55:24 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2014-08-18 21:55:24 (GMT) |
commit | a0a7b6c1e05c78ae433f353d15e3366107b67d03 (patch) | |
tree | bca0b187778cf016c6131bfc982b08c67a38442b /src/analysis/binary.h | |
parent | 161c0f8ab227af5033b1b6456607b9b9c3bc60df (diff) |
Inserted storages and collections into loaded binaries (first steps).
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@389 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/analysis/binary.h')
-rw-r--r-- | src/analysis/binary.h | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/src/analysis/binary.h b/src/analysis/binary.h index dbadd64..2a7e7d9 100644 --- a/src/analysis/binary.h +++ b/src/analysis/binary.h @@ -28,7 +28,8 @@ #include <glib-object.h> #include <stdbool.h> - +#include "db/collection.h" +#include "db/item.h" #include "db/protocol.h" #include "../arch/processor.h" #include "../common/xml.h" @@ -108,10 +109,40 @@ void g_loaded_binary_set_storage(GLoadedBinary *, DBFeatures, DBStorage); +/* ------------------------- INFORMATIONS D'ENREGISTREMENTS ------------------------- */ +/* -------------------------- MANIPULATION DES COLLECTIONS -------------------------- */ + + + + +/* Trouve une collection assurant une fonctionnalité donnée. */ +GDbCollection *g_loaded_binary_find_collection(GLoadedBinary *, DBFeatures ); + +/* Demande l'intégration d'une modification dans une collection. */ +bool g_loaded_binary_add_to_collection(GLoadedBinary *, DBFeatures, GDbItem *); + + + + + +#define g_loaded_binary_remove_from_collection(b, f, i) + + +/** + * TODO : + * + * - connect_signal + * - add_obj + * + */ + + + /* Définit les parties de binaire à analyser. */ + void g_loaded_binary_set_parts(GLoadedBinary *, BinaryPartModel, GBinPart **, size_t); /* Fournit les parties de binaire analysées. */ |