diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2017-05-10 20:44:30 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2017-05-10 20:44:30 (GMT) |
commit | 90e0f7ac04c1622f226dda57a3329b6fe98307e8 (patch) | |
tree | 68313927f67ed3f1d903562e1760d32a902f775a /src/arch/undefined.c | |
parent | 8e76324b01e5b4979f346f0bc8c84372477a3d38 (diff) |
Removed the link to binary content used for printing from instructions.
Diffstat (limited to 'src/arch/undefined.c')
-rw-r--r-- | src/arch/undefined.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/arch/undefined.c b/src/arch/undefined.c index 8741c43..3c76a09 100644 --- a/src/arch/undefined.c +++ b/src/arch/undefined.c @@ -70,7 +70,7 @@ static const char *g_undef_instruction_get_encoding(const GUndefInstruction *); static const char *g_undef_instruction_get_keyword(const GUndefInstruction *, AsmSyntax); /* Ajoute à un tampon GLib le contenu de l'instance spécifiée. */ -static void g_undef_instruction_print(GUndefInstruction *, GBufferLine *, size_t, size_t); +static void g_undef_instruction_print(GUndefInstruction *, GBufferLine *, size_t, size_t, const GBinContent *); @@ -267,6 +267,7 @@ const char *g_undef_instruction_get_keyword(const GUndefInstruction *instr, AsmS * msize = taille idéale des positions et adresses; * * content = contenu binaire global à venir lire. * * syntax = type de représentation demandée. * +* content = éventuel contenu binaire brut à imprimer. * * * * Description : Ajoute à un tampon GLib le contenu de l'instance spécifiée. * * * @@ -276,7 +277,7 @@ const char *g_undef_instruction_get_keyword(const GUndefInstruction *instr, AsmS * * ******************************************************************************/ -static void g_undef_instruction_print(GUndefInstruction *instr, GBufferLine *line, size_t index, size_t repeat) +static void g_undef_instruction_print(GUndefInstruction *instr, GBufferLine *line, size_t index, size_t repeat, const GBinContent *content) { GArchInstruction *base; /* Version de base */ const char *key; /* Mot clef principal */ @@ -286,7 +287,7 @@ static void g_undef_instruction_print(GUndefInstruction *instr, GBufferLine *lin g_buffer_line_fill_vmpa(line, get_mrange_addr(&base->range), MDS_32_BITS_UNSIGNED, MDS_32_BITS_UNSIGNED); - g_buffer_line_fill_content(line, base->content, &base->range, VMPA_NO_PHYSICAL); + g_buffer_line_fill_content(line, content, &base->range, VMPA_NO_PHYSICAL); /* Instruction proprement dite */ |