summaryrefslogtreecommitdiff
path: root/src/format
diff options
context:
space:
mode:
Diffstat (limited to 'src/format')
-rw-r--r--src/format/format.c12
-rw-r--r--src/format/format.h4
2 files changed, 16 insertions, 0 deletions
diff --git a/src/format/format.c b/src/format/format.c
index fa00856..29c151d 100644
--- a/src/format/format.c
+++ b/src/format/format.c
@@ -134,6 +134,18 @@ const bin_t *g_binary_format_get_content(const GBinFormat *format, off_t *length
}
+
+
+GBinContent *g_binary_format_get_conten_(const GBinFormat *format)
+{
+
+ return format->conten_;
+
+}
+
+
+
+
/******************************************************************************
* *
* Paramètres : format = description de l'exécutable à consulter. *
diff --git a/src/format/format.h b/src/format/format.h
index b01a9d5..ebad980 100644
--- a/src/format/format.h
+++ b/src/format/format.h
@@ -57,6 +57,10 @@ GType g_binary_format_get_type(void);
/* Fournit une référence vers le contenu binaire analysé. */
const bin_t *g_binary_format_get_content(const GBinFormat *, off_t *);
+
+GBinContent *g_binary_format_get_conten_(const GBinFormat *);
+
+
/* Fournit un contexte initialisé pour un désassemblage. */
void g_binary_format_setup_disassembling_context(const GBinFormat *, GProcContext *);