mirror of
https://gitlab.com/qemu-project/capstone.git
synced 2025-09-17 02:01:15 +08:00
arm64: handle alias insn in a better way, and add support for MNEG. bug reported by Patroklos Argyroudis
This commit is contained in:
10
MCInst.c
10
MCInst.c
@ -35,11 +35,21 @@ void MCInst_setOpcode(MCInst *inst, unsigned Op)
|
||||
inst->Opcode = Op;
|
||||
}
|
||||
|
||||
void MCInst_setOpcodePub(MCInst *inst, unsigned Op)
|
||||
{
|
||||
inst->OpcodePub = Op;
|
||||
}
|
||||
|
||||
unsigned MCInst_getOpcode(const MCInst *inst)
|
||||
{
|
||||
return inst->Opcode;
|
||||
}
|
||||
|
||||
unsigned MCInst_getOpcodePub(const MCInst *inst)
|
||||
{
|
||||
return inst->OpcodePub;
|
||||
}
|
||||
|
||||
MCOperand *MCInst_getOperand(MCInst *inst, unsigned i)
|
||||
{
|
||||
return &inst->Operands[i];
|
||||
|
Reference in New Issue
Block a user