diff options
Diffstat (limited to 'src/format')
-rw-r--r-- | src/format/symbol.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/format/symbol.c b/src/format/symbol.c index 2346c63..58fdfb3 100644 --- a/src/format/symbol.c +++ b/src/format/symbol.c @@ -494,6 +494,8 @@ void g_binary_symbol_attach_instruction(GBinSymbol *symbol, GArchInstruction *in GBinRoutine *g_binary_symbol_get_routine(const GBinSymbol *symbol) { + /* TODO : rajouter des assert() sur le type de symbole */ + return symbol->extra.routine; } @@ -513,6 +515,8 @@ GBinRoutine *g_binary_symbol_get_routine(const GBinSymbol *symbol) GArchInstruction *g_binary_symbol_get_instruction(const GBinSymbol *symbol) { + /* TODO : rajouter des assert() sur le type de symbole */ + return symbol->extra.instr; } |