mirror of
https://github.com/bitdefender/bddisasm.git
synced 2024-11-22 07:28:07 +00:00
commit
2b1c90b631
@ -1894,7 +1894,7 @@ NdParseOperand(
|
|||||||
// Fill in branch information.
|
// Fill in branch information.
|
||||||
Instrux->BranchInfo.IsBranch = 1;
|
Instrux->BranchInfo.IsBranch = 1;
|
||||||
Instrux->BranchInfo.IsConditional = Instrux->Category == ND_CAT_COND_BR;
|
Instrux->BranchInfo.IsConditional = Instrux->Category == ND_CAT_COND_BR;
|
||||||
// Indirect branches are those which get their target address from a register or memory, including RET familly.
|
// Indirect branches are those which get their target address from a register or memory, including RET family.
|
||||||
Instrux->BranchInfo.IsIndirect = ((!Instrux->Operands[0].Flags.IsDefault) &&
|
Instrux->BranchInfo.IsIndirect = ((!Instrux->Operands[0].Flags.IsDefault) &&
|
||||||
((Instrux->Operands[0].Type == ND_OP_REG) || (Instrux->Operands[0].Type == ND_OP_MEM))) ||
|
((Instrux->Operands[0].Type == ND_OP_REG) || (Instrux->Operands[0].Type == ND_OP_MEM))) ||
|
||||||
(Instrux->Category == ND_CAT_RET);
|
(Instrux->Category == ND_CAT_RET);
|
||||||
|
@ -279,7 +279,7 @@ typedef struct _ND_IDBE
|
|||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Operand sizes descriptors. These are internal and stored inside the specifier. They must be interpreted
|
// Operand size descriptors. These are internal and stored inside the specifier. They must be interpreted
|
||||||
// accordingly to extract the actual size used in the instruction. These should not be used by anyone using
|
// accordingly to extract the actual size used in the instruction. These should not be used by anyone using
|
||||||
// the disassembler. Use the "Size" and "RawSize" fields inside the operand instead.
|
// the disassembler. Use the "Size" and "RawSize" fields inside the operand instead.
|
||||||
//
|
//
|
||||||
@ -418,7 +418,7 @@ typedef enum _ND_OPERAND_TYPE_SPEC
|
|||||||
ND_OPT_SSP,
|
ND_OPT_SSP,
|
||||||
ND_OPT_UIF,
|
ND_OPT_UIF,
|
||||||
|
|
||||||
// General Purpose REgisters.
|
// General Purpose Registers.
|
||||||
ND_OPT_AH,
|
ND_OPT_AH,
|
||||||
ND_OPT_rAX,
|
ND_OPT_rAX,
|
||||||
ND_OPT_rCX,
|
ND_OPT_rCX,
|
||||||
|
Loading…
Reference in New Issue
Block a user