summaryrefslogtreecommitdiff
path: root/src/arch/jvm
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/jvm')
-rw-r--r--src/arch/jvm/instruction.c5
-rw-r--r--src/arch/jvm/operand.c3
2 files changed, 3 insertions, 5 deletions
diff --git a/src/arch/jvm/instruction.c b/src/arch/jvm/instruction.c
index d0301fb..c7a9bfb 100644
--- a/src/arch/jvm/instruction.c
+++ b/src/arch/jvm/instruction.c
@@ -151,7 +151,7 @@ static jvm_instruction _instructions[JOP_COUNT] = {
/* Traduit une instruction en version humainement lisible. */
-static const char *jvm_get_instruction_text(const GJvmInstruction *, const GExeFormat *, AsmSyntax);
+static const char *jvm_get_instruction_text(const GJvmInstruction *, const GExeFormat *);
@@ -283,7 +283,6 @@ JvmOpcodes jvm_guess_next_instruction(const bin_t *data, off_t pos, off_t len, b
* *
* Paramètres : instr = instruction à traiter. *
* format = format du binaire manipulé. *
-* syntax = type de représentation demandée. *
* *
* Description : Traduit une instruction en version humainement lisible. *
* *
@@ -293,7 +292,7 @@ JvmOpcodes jvm_guess_next_instruction(const bin_t *data, off_t pos, off_t len, b
* *
******************************************************************************/
-static const char *jvm_get_instruction_text(const GJvmInstruction *instr, const GExeFormat *format, AsmSyntax syntax)
+static const char *jvm_get_instruction_text(const GJvmInstruction *instr, const GExeFormat *format)
{
return _instructions[instr->type].keyword;
diff --git a/src/arch/jvm/operand.c b/src/arch/jvm/operand.c
index 2cab5e3..4168bcf 100644
--- a/src/arch/jvm/operand.c
+++ b/src/arch/jvm/operand.c
@@ -233,7 +233,6 @@ GArchOperand *g_jvm_ref_operand_new(const bin_t *data, off_t *pos, off_t len, Jv
* *
* Paramètres : operand = opérande à traiter. *
* format = format du binaire manipulé. *
-* syntax = type de représentation demandée. *
* *
* Description : Traduit un opérande en version humainement lisible. *
* *
@@ -243,7 +242,7 @@ GArchOperand *g_jvm_ref_operand_new(const bin_t *data, off_t *pos, off_t len, Jv
* *
******************************************************************************/
-static char *g_jvm_ref_operand_get_text(const GJvmRefOperand *operand, const exe_format *format, AsmSyntax syntax)
+static char *g_jvm_ref_operand_get_text(const GJvmRefOperand *operand, const exe_format *format)
{
char *result; /* Chaîne à retourner */