Skip to content

Commit

Permalink
zero details
Browse files Browse the repository at this point in the history
  • Loading branch information
obs committed Nov 10, 2015
1 parent c340b07 commit d93e4ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/X86/X86Disassembler.c
Original file line number Diff line number Diff line change
Expand Up @@ -932,6 +932,7 @@ bool X86_getInstruction(csh ud, const uint8_t *code, size_t code_len,
memset(instr->flat_insn->detail->x86.prefix, 0, sizeof(instr->flat_insn->detail->x86.prefix));
memset(instr->flat_insn->detail->x86.opcode, 0, sizeof(instr->flat_insn->detail->x86.opcode));
memset(instr->flat_insn->detail->x86.operands, 0, sizeof(instr->flat_insn->detail->x86.operands));
memset(&instr->flat_insn->detail->x86.encoding, 0, sizeof(instr->flat_insn->detail->x86.encoding));
}

if (handle->mode & CS_MODE_16)
Expand Down

0 comments on commit d93e4ac

Please sign in to comment.