mirror of https://github.com/x64dbg/zydis
Minor bugfixes
This commit is contained in:
parent
a636fa353e
commit
317976afbf
Binary file not shown.
|
@ -13,7 +13,7 @@ The Zydis Instruction Editor was created to easily edit the Zydis instruction da
|
|||
|
||||
## Screenshot ##
|
||||
|
||||
![Zydis Instruction Editor](/screenshot.png?raw=true "Zydis Instruction Editor")
|
||||
![Zydis Instruction Editor](/assets/InstructionEditor/screenshot.png?raw=true "Zydis Instruction Editor")
|
||||
|
||||
## Compilation ##
|
||||
|
||||
|
|
198489
assets/instructions.json
198489
assets/instructions.json
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -568,6 +568,7 @@ static ZydisDecoderStatus ZydisDecodeOperandImmediate(ZydisInstructionDecoder* d
|
|||
// in the lo and hi part of the immediate.
|
||||
if (info->details.internal.imm8initialized)
|
||||
{
|
||||
// TODO: Implement clean solution
|
||||
operand->imm.value.ubyte = info->details.internal.imm8;
|
||||
} else
|
||||
{
|
||||
|
@ -861,6 +862,7 @@ static ZydisDecoderStatus ZydisDecodeOperandModrmRm(ZydisInstructionDecoder* dec
|
|||
if (displacementSize)
|
||||
{
|
||||
ZYDIS_CHECK(ZydisDecodeOperandImmediate(decoder, info, operand, displacementSize, true));
|
||||
info->details.internal.imm8initialized = false;
|
||||
operand->type = ZYDIS_OPERAND_TYPE_MEMORY;
|
||||
operand->mem.disp.size = displacementSize;
|
||||
operand->mem.disp.value.sqword = operand->imm.value.sqword;
|
||||
|
|
Loading…
Reference in New Issue