summaryrefslogtreecommitdiff
path: root/src/analysis/prototype.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-06-14 21:04:54 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-06-14 21:04:54 (GMT)
commit1399ca35405f64fe5be71c8aa4723c759873b992 (patch)
tree006c7d2ace62eb7c02b956d85138ae1e36078f02 /src/analysis/prototype.h
parentae0135d727fdc67a268ede1530042a42a2a1ccd3 (diff)
Stored the size of the routines (x86 only).
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@77 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/analysis/prototype.h')
-rw-r--r--src/analysis/prototype.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/analysis/prototype.h b/src/analysis/prototype.h
index 299cce6..fe6d0a4 100644
--- a/src/analysis/prototype.h
+++ b/src/analysis/prototype.h
@@ -27,6 +27,7 @@
#include <glib-object.h>
#include <stdint.h>
+#include <sys/types.h>
#include "variable.h"
@@ -69,6 +70,12 @@ void g_binary_routine_set_address(GBinRoutine *, vmpa_t);
/* Fournit la position physique / en mémoire d'une routine. */
vmpa_t g_binary_routine_get_address(const GBinRoutine *);
+/* Définit la taille du code d'une routine. */
+void g_binary_routine_set_size(GBinRoutine *, off_t);
+
+/* Fournit la taille du code associé à une routine. */
+off_t g_binary_routine_get_size(const GBinRoutine *);
+
/* Définit le type d'une routine. */
void g_binary_routine_set_type(GBinRoutine *, RoutineType);