summaryrefslogtreecommitdiff
path: root/src/arch/instruction-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-05-10 20:44:30 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-05-10 20:44:30 (GMT)
commit90e0f7ac04c1622f226dda57a3329b6fe98307e8 (patch)
tree68313927f67ed3f1d903562e1760d32a902f775a /src/arch/instruction-int.h
parent8e76324b01e5b4979f346f0bc8c84372477a3d38 (diff)
Removed the link to binary content used for printing from instructions.
Diffstat (limited to 'src/arch/instruction-int.h')
-rw-r--r--src/arch/instruction-int.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/arch/instruction-int.h b/src/arch/instruction-int.h
index b7bd5f3..b62bba7 100644
--- a/src/arch/instruction-int.h
+++ b/src/arch/instruction-int.h
@@ -38,7 +38,7 @@ typedef const char * (* get_instruction_encoding_fc) (const GArchInstruction *);
typedef const char * (* get_instruction_keyword_fc) (GArchInstruction *, AsmSyntax );
/* Ajoute à un tampon GLib le contenu de l'instance spécifiée. */
-typedef GBufferLine * (* print_instruction_fc) (const GArchInstruction *, GBufferLine *, size_t, size_t);
+typedef GBufferLine * (* print_instruction_fc) (const GArchInstruction *, GBufferLine *, size_t, size_t, const GBinContent *);
/* Liste les registres lus et écrits par l'instruction. */
typedef void (* get_instruction_rw_regs_fc) (const GArchInstruction *, GArchRegister ***, size_t *, GArchRegister ***, size_t *);
@@ -52,7 +52,6 @@ struct _GArchInstruction
const instr_hook_fc *hooks; /* Traitements complémentaires */
- const GBinContent *content; /* Contenu binaire global */
mrange_t range; /* Emplacement en mémoire */
flat_array_t *operands; /* Liste des opérandes */