diff options
Diffstat (limited to 'src/format/symbol.h')
-rw-r--r-- | src/format/symbol.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/format/symbol.h b/src/format/symbol.h index 7f0cd1c..bfbf541 100644 --- a/src/format/symbol.h +++ b/src/format/symbol.h @@ -35,6 +35,7 @@ /* Types de symbole */ typedef enum _SymbolType { + STP_DATA, /* Données brutes */ STP_OBJECT, /* Objet quelconque */ STP_FUNCTION, /* Simple morceau de code */ STP_STRING /* Chaîne de caractères */ @@ -71,6 +72,11 @@ const char *g_binary_symbol_to_string(const GBinSymbol *); /* Fournit l'adresse associée à un symbole. */ vmpa_t g_binary_symbol_get_address(const GBinSymbol *); + +/* Fournit l'adresse associée à un symbole. */ +const vmpa2t *g_binary_symbol_get_address2(const GBinSymbol *); + + /* Fournit la taille officielle d'un symbole. */ off_t g_binary_symbol_get_size(const GBinSymbol *); @@ -80,6 +86,12 @@ void g_binary_symbol_set_alt_name(GBinSymbol *, char *); /* Attache la routine associée au symbole. */ void g_binary_symbol_attach_routine(GBinSymbol *, GBinRoutine *); +/* Attache l'instruction associée au symbole. */ +void g_binary_symbol_attach_instruction(GBinSymbol *, GArchInstruction *); + +/* Fournit l'éventuelle instruction associée au symbole. */ +GArchInstruction *g_binary_symbol_get_instruction(const GBinSymbol *); + #endif /* _FORMAT_SYMBOL_H */ |