diff options
Diffstat (limited to 'src/analysis/prototype.h')
-rw-r--r-- | src/analysis/prototype.h | 7 |
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); |