summaryrefslogtreecommitdiff
path: root/src/analysis/binary.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/binary.h')
-rw-r--r--src/analysis/binary.h22
1 files changed, 4 insertions, 18 deletions
diff --git a/src/analysis/binary.h b/src/analysis/binary.h
index ca62084..b57e072 100644
--- a/src/analysis/binary.h
+++ b/src/analysis/binary.h
@@ -29,22 +29,17 @@
#include <stdbool.h>
#include "content.h"
+#include "loaded.h"
#include "db/collection.h"
#include "db/client.h"
#include "db/protocol.h"
#include "../arch/processor.h"
-#include "../common/xml.h"
#include "../format/debuggable.h"
#include "../format/executable.h"
#include "../glibext/gbuffercache.h"
-/* Redéfinition depuis project.c : projet d'étude regroupant les binaires analysés (instance) */
-typedef struct _GStudyProject GStudyProject;
-
-
-
/* ------------------------ ENCADREMENTS D'UN BINAIRE CHARGE ------------------------ */
@@ -79,13 +74,10 @@ typedef enum _BinaryPartModel
GType g_loaded_binary_get_type(void);
/* Interprète un contenu binaire chargé. */
-GLoadedBinary *g_loaded_binary_new(GBinContent *);
-
-/* Interprète un contenu binaire chargé avec un appui XML. */
-GLoadedBinary *g_loaded_binary_new_from_xml(xmlXPathContextPtr, const char *, GStudyProject *);
+GLoadedContent *g_loaded_binary_new(GExeFormat *);
-/* Ecrit une sauvegarde du binaire dans un fichier XML. */
-bool g_loaded_binary_save(const GLoadedBinary *, xmlDocPtr, xmlXPathContextPtr, const char *, const char *);
+/* Interprète un contenu binaire chargé. */
+GLoadedBinary *g_loaded_binary_new_old(GBinContent *);
/* Fournit le nom associé à l'élément binaire. */
const char *g_loaded_binary_get_name(const GLoadedBinary *, bool);
@@ -160,12 +152,6 @@ bool _g_loaded_binary_remove_from_collection(GLoadedBinary *, DBFeatures, GDbIte
-/* Lance l'analyse d'un élément binaire chargé. */
-void g_loaded_binary_analyse(GLoadedBinary *);
-
-/* Lance l'analyse d'un binaire chargé et attend sa conclusion. */
-void g_loaded_binary_analyse_and_wait(GLoadedBinary *);
-
/* Fournit le format de fichier reconnu dans le contenu binaire. */
bool g_loaded_binary_attach_debug_info(GLoadedBinary *, GBinContent *);