mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-27 23:40:25 +00:00
clean cs_disasm_iter()
This commit is contained in:
parent
2c8b2627d1
commit
9090672e97
5
cs.c
5
cs.c
@ -712,11 +712,6 @@ bool cs_disasm_iter(csh ud, const uint8_t **code, size_t *size,
|
||||
sizeof(insn->mnemonic) - 1);
|
||||
skipdata_opstr(insn->op_str, *code, skipdata_bytes);
|
||||
|
||||
// NOTE: if detail mode is OFF, content of detail pointer is irrelevant
|
||||
// to be sure, zero out content of detail pointer
|
||||
//if (insn->detail)
|
||||
// memset(insn->detail, 0, sizeof(cs_detail));
|
||||
|
||||
*code += skipdata_bytes;
|
||||
*size -= skipdata_bytes;
|
||||
*address += skipdata_bytes;
|
||||
|
Loading…
Reference in New Issue
Block a user