diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2017-05-16 21:56:55 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2017-05-16 21:56:55 (GMT) |
commit | 4691a434a34a19317156a761967f719e408b73bb (patch) | |
tree | 1daaf5be5d4a9f52d492380c2862580129d2ad12 /src/format/symbol-int.h | |
parent | 1996274a43883aa58e8c565f7698bc7c338a9ce0 (diff) |
Merged routines into symbols.
Diffstat (limited to 'src/format/symbol-int.h')
-rw-r--r-- | src/format/symbol-int.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/format/symbol-int.h b/src/format/symbol-int.h index 4a79a65..49a0b97 100644 --- a/src/format/symbol-int.h +++ b/src/format/symbol-int.h @@ -29,22 +29,21 @@ +/* Fournit une étiquette pour viser un symbole. */ +typedef const char * (* get_symbol_label_fc) (GBinSymbol *); + + + /* Symbole d'exécutable (instance) */ struct _GBinSymbol { GObject parent; /* A laisser en premier */ + mrange_t range; /* Couverture mémoire */ SymbolType type; /* Type du symbole */ char *alt; /* Nom alternatif */ - union - { - GArchInstruction *instr; /* Instruction correspondante */ - GBinRoutine *routine; /* Compléments pour fonction */ - - } extra; - }; /* Symbole d'exécutable (classe) */ @@ -52,8 +51,9 @@ struct _GBinSymbolClass { GObjectClass parent; /* A laisser en premier */ -}; + get_symbol_label_fc get_label; /* Obtention d'une étiquette */ +}; |