diff options
Diffstat (limited to 'src/arch/dalvik/operand.h')
-rw-r--r-- | src/arch/dalvik/operand.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/arch/dalvik/operand.h b/src/arch/dalvik/operand.h index 27901be..af15bde 100644 --- a/src/arch/dalvik/operand.h +++ b/src/arch/dalvik/operand.h @@ -65,6 +65,8 @@ #define DALVIK_OP_POOL(p) ((p) << DALVIK_OP_POOL_OFF) #define DALVIK_OP_GET_POOL(v) (((v) & DALVIK_OP_POOL_MASK) >> DALVIK_OP_POOL_OFF) +#define DALVIK_OP_GET_MNEMONIC(v) ((v) & 0xff) + /* Types d'opérandes supportés */ typedef enum _DalvikOperandType @@ -112,7 +114,7 @@ typedef enum _DalvikOperandType /* Procède à la lecture d'opérandes pour une instruction. */ -bool dalvik_read_operands(GArchInstruction *, GExeFormat *, const GBinContent *, vmpa2t *, SourceEndian, DalvikOperandType, ...); +bool dalvik_read_operands(GArchInstruction *, GExeFormat *, const GBinContent *, vmpa2t *, SourceEndian, DalvikOperandType); /* Procède à la lecture d'opérandes pour une instruction. */ void dalvik_mark_first_operand_as_written(GArchInstruction *); |