diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-03-08 21:31:56 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-03-08 21:31:56 (GMT) |
commit | e7ba901892df20045ff3a541b4fa34e36bd05bfb (patch) | |
tree | 4ef5307f7cbb39acc4b02419f4b15ef1801c8c0f /src/format/symbol.h | |
parent | 68bb7efaf61e4f5ca2f2cffce84995ffd667c4cc (diff) |
Listed all idenfied read only strings in a dedicated panel.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@483 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
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); \ } \ |