diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-04-12 22:25:43 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-04-12 22:25:43 (GMT) |
commit | 8d4c5ae6dfd812b753109a25d7e84f7e524d4bf0 (patch) | |
tree | b437de37b5447daa02263901aca4ef7a7d2d0386 /src/format/symbol.h | |
parent | b4cbeedf6ed4e04dd85c92e8345b4cb8dcaab27d (diff) |
Improved support of type prefix for symbols.
Diffstat (limited to 'src/format/symbol.h')
-rw-r--r-- | src/format/symbol.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/format/symbol.h b/src/format/symbol.h index e304d69..577eb83 100644 --- a/src/format/symbol.h +++ b/src/format/symbol.h @@ -66,9 +66,9 @@ typedef enum _SymbolStatus typedef enum _SymbolFlag { SFL_NONE = (0 << 0), /* Aucune propriété */ - SFL_PREFIXED_NAME = (1 << 0), /* Indication en amont du nom */ + SFL_HAS_NM_PREFIX = (1 << 0), /* Indication de nature */ - SFL_COUNT + SFL_MASK = (1 << 1) - 1, /* Indication de nature */ } SymbolFlag; @@ -130,6 +130,12 @@ bool g_binary_symbol_has_flag(const GBinSymbol *, SymbolFlag); /* Fournit les particularités du symbole. */ SymbolFlag g_binary_symbol_get_flags(const GBinSymbol *); +/* Fournit le préfixe compatible avec une sortie "nm". */ +bool g_binary_symbol_get_nm_prefix(const GBinSymbol *, char *); + +/* Définit le préfixe compatible avec une sortie "nm". */ +void g_binary_symbol_set_nm_prefix(const GBinSymbol *, char); + /* Fournit une étiquette pour viser un symbole. */ char *g_binary_symbol_get_label(const GBinSymbol *); |