diff options
Diffstat (limited to 'src/format/symbol.h')
-rw-r--r-- | src/format/symbol.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/format/symbol.h b/src/format/symbol.h index c3e53cc..fafc55f 100644 --- a/src/format/symbol.h +++ b/src/format/symbol.h @@ -42,7 +42,8 @@ typedef enum _SymbolType STP_OBJECT, /* Objet quelconque */ STP_FUNCTION, /* Simple morceau de code */ STP_ENTRY_POINT, /* Morceau de code en entrée */ - STP_STRING /* Chaîne de caractères */ + STP_STRING, /* Chaîne de caractères */ + STP_RO_STRING /* Chaîne de caractères */ } SymbolType; @@ -142,7 +143,7 @@ GDbComment *g_binary_symbol_get_comment(const GBinSymbol *); #define ADD_STR_AS_SYM(_fmt, _sym, _ins) \ do \ { \ - _sym = g_binary_symbol_new(STP_DATA, NULL, 0); \ + _sym = g_binary_symbol_new(STP_RO_STRING, NULL, 0); \ g_binary_symbol_attach_instruction(_sym, _ins); \ g_binary_format_add_symbol(G_BIN_FORMAT(_fmt), _sym); \ } \ |