diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-07-19 20:00:40 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-07-19 20:00:40 (GMT) |
commit | 12abead3f60d6f72c0d41672af87215dfc13c8fc (patch) | |
tree | 3fda90b6e1b439644a39730ae8935c74da1f2d44 /src/arch/raw.c | |
parent | 79ae70be75b534c18fbfce38294f5ba7feef0e11 (diff) |
Deleted all references to any asm syntax.
Diffstat (limited to 'src/arch/raw.c')
-rw-r--r-- | src/arch/raw.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/src/arch/raw.c b/src/arch/raw.c index 4ae1e11..1a77fa6 100644 --- a/src/arch/raw.c +++ b/src/arch/raw.c @@ -75,7 +75,7 @@ static void g_raw_instruction_finalize(GRawInstruction *); static const char *g_raw_instruction_get_encoding(const GRawInstruction *); /* Fournit le nom humain de l'instruction manipulée. */ -static const char *g_raw_instruction_get_keyword(const GRawInstruction *, AsmSyntax); +static const char *g_raw_instruction_get_keyword(const GRawInstruction *); @@ -463,8 +463,7 @@ static const char *g_raw_instruction_get_encoding(const GRawInstruction *instr) /****************************************************************************** * * -* Paramètres : instr = instruction d'assemblage à consulter. * -* syntax = type de représentation demandée. * +* Paramètres : instr = instruction d'assemblage à consulter. * * * * Description : Fournit le nom humain de l'instruction manipulée. * * * @@ -474,7 +473,7 @@ static const char *g_raw_instruction_get_encoding(const GRawInstruction *instr) * * ******************************************************************************/ -static const char *g_raw_instruction_get_keyword(const GRawInstruction *instr, AsmSyntax syntax) +static const char *g_raw_instruction_get_keyword(const GRawInstruction *instr) { GArchOperand *operand; /* Octet décodé à afficher */ MemoryDataSize size; /* Taille de valeur associée */ @@ -599,10 +598,9 @@ static bool g_raw_instruction_serialize(GRawInstruction *instr, GAsmStorage *sto /****************************************************************************** * * * Paramètres : instr = instruction d'assemblage à représenter. * -* buffer = espace où placer ledit contenu. * -* msize = taille idéale des positions et adresses; * -* content = contenu binaire global à venir lire. * -* syntax = type de représentation demandée. * +* line = ligne de rendu à compléter. * +* index = indice de cette même ligne dans le tampon global. * +* repeat = indice d'utilisations successives du générateur. * * content = éventuel contenu binaire brut à imprimer. * * * * Description : Ajoute à un tampon GLib le contenu de l'instance spécifiée. * @@ -655,7 +653,7 @@ static void g_raw_instruction_print(GRawInstruction *instr, GBufferLine *line, s /* Zone du code d'assemblage */ - key = g_arch_instruction_get_keyword(base, 0/*, syntax*/); + key = g_arch_instruction_get_keyword(base); klen = strlen(key); g_buffer_line_append_text(line, BLC_ASSEMBLY_HEAD, key, klen, RTT_INSTRUCTION, NULL); @@ -750,7 +748,7 @@ static void g_raw_instruction_print(GRawInstruction *instr, GBufferLine *line, s else first = false; - g_arch_operand_print(op, line, 0/*syntax*/); + g_arch_operand_print(op, line); g_object_unref(G_OBJECT(op)); |