diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2024-11-23 15:59:19 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2024-11-23 15:59:19 (GMT) |
commit | 411f03130cf45194689bc344f19a3b77c33a31ae (patch) | |
tree | f047b62015eb37e30629398f9adcb977a5a6c6f6 /src/format/program.h | |
parent | 80d779749adf228078b61f268bf952ba91a277f0 (diff) |
Restore more features for formats.
Diffstat (limited to 'src/format/program.h')
-rw-r--r-- | src/format/program.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/format/program.h b/src/format/program.h index 51b7860..0eb26ae 100644 --- a/src/format/program.h +++ b/src/format/program.h @@ -25,6 +25,10 @@ #define _FORMAT_PROGRAM_H +#include <stdbool.h> + + +#include "../arch/vmpa.h" #include "../common/datatypes.h" #include "../glibext/helpers.h" @@ -38,14 +42,14 @@ DECLARE_GTYPE(GProgramFormat, g_program_format, G, PROGRAM_FORMAT); /* Indique le boutisme employé par le format binaire analysé. */ SourceEndian g_program_format_get_endianness(const GProgramFormat *); +/* Fournit l'emplacement d'une section donnée. */ +bool g_program_format_get_section_range_by_name(const GProgramFormat *, const char *, mrange_t *); #if 0 -#include <glib-object.h> -#include <stdbool.h> #include <sys/types.h> |