summaryrefslogtreecommitdiff
path: root/src/arch/jvm
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/jvm')
-rw-r--r--src/arch/jvm/instruction.c4
-rw-r--r--src/arch/jvm/operand.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/jvm/instruction.c b/src/arch/jvm/instruction.c
index 9ada8f0..1b927e5 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 exe_format *, AsmSyntax);
+static const char *jvm_get_instruction_text(const GJvmInstruction *, const GExeFormat *, AsmSyntax);
@@ -293,7 +293,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 exe_format *format, AsmSyntax syntax)
+static const char *jvm_get_instruction_text(const GJvmInstruction *instr, const GExeFormat *format, AsmSyntax syntax)
{
return _instructions[instr->type].keyword;
diff --git a/src/arch/jvm/operand.c b/src/arch/jvm/operand.c
index da95101..429516a 100644
--- a/src/arch/jvm/operand.c
+++ b/src/arch/jvm/operand.c
@@ -255,10 +255,10 @@ static char *g_jvm_ref_operand_get_text(const GJvmRefOperand *operand, const exe
switch (operand->type)
{
case JOT_FIELD_REF:
- result = build_reference_from_java_pool((const java_format *)format, operand->index, JRT_FIELD);
+ result = NULL;//build_reference_from_java_pool((const java_format *)format, operand->index, JRT_FIELD);
break;
case JOT_METHOD_REF:
- result = build_reference_from_java_pool((const java_format *)format, operand->index, JRT_METHOD);
+ result = NULL;//build_reference_from_java_pool((const java_format *)format, operand->index, JRT_METHOD);
break;
default:
result = NULL;