mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-23 21:49:46 +00:00
arm: only reset IT block for ARM
This commit is contained in:
parent
efb1c5a096
commit
260a7cea8a
3
cs.c
3
cs.c
@ -467,7 +467,8 @@ size_t CAPSTONE_API cs_disasm(csh ud, const uint8_t *buffer, size_t size, uint64
|
||||
handle->errnum = CS_ERR_OK;
|
||||
|
||||
// reset IT block of ARM structure
|
||||
handle->ITBlock.size = 0;
|
||||
if (handle->arch == CS_ARCH_ARM)
|
||||
handle->ITBlock.size = 0;
|
||||
|
||||
#ifdef CAPSTONE_USE_SYS_DYN_MEM
|
||||
if (count > 0 && count <= INSN_CACHE_SIZE)
|
||||
|
Loading…
Reference in New Issue
Block a user