mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-27 07:20:33 +00:00
Init DecodeComplete with false for all archs. (#2164)
This commit is contained in:
parent
e00a210a3d
commit
9a0af75d8a
@ -95167,7 +95167,7 @@ static bool checkDecoderPredicate(MCInst *Inst, unsigned Idx)
|
||||
Ptr += Len; \
|
||||
MCInst_clear(MI); \
|
||||
MCInst_setOpcode(MI, Opc); \
|
||||
bool DecodeComplete; \
|
||||
bool DecodeComplete = false; \
|
||||
S = decoder(S, DecodeIdx, insn, MI, Address, \
|
||||
&DecodeComplete); \
|
||||
return S; \
|
||||
@ -95185,7 +95185,7 @@ static bool checkDecoderPredicate(MCInst *Inst, unsigned Idx)
|
||||
NumToSkip |= (*Ptr++) << 16; \
|
||||
/* Perform the decode operation. */ \
|
||||
MCInst_setOpcode(MI, Opc); \
|
||||
bool DecodeComplete; \
|
||||
bool DecodeComplete = false; \
|
||||
S = decoder(S, DecodeIdx, insn, MI, Address, \
|
||||
&DecodeComplete); \
|
||||
if (DecodeComplete) { \
|
||||
|
@ -9819,7 +9819,7 @@ static DecodeStatus fname(const uint8_t DecodeTable[], MCInst *MI, \
|
||||
NumToSkip |= (*Ptr++) << 16; \
|
||||
/* Perform the decode operation. */ \
|
||||
MCInst_setOpcode(MI, Opc); \
|
||||
bool DecodeComplete; \
|
||||
bool DecodeComplete = false; \
|
||||
S = decoder(S, DecodeIdx, insn, MI, Address, &DecodeComplete); \
|
||||
if (DecodeComplete) { \
|
||||
/* Decoding complete. */ \
|
||||
|
@ -1720,7 +1720,7 @@ static DecodeStatus fname(const uint8_t DecodeTable[], MCInst *MI,\
|
||||
\
|
||||
MCInst_clear(MI);\
|
||||
MCInst_setOpcode(MI, Opc);\
|
||||
bool DecodeComplete;\
|
||||
bool DecodeComplete = false;\
|
||||
S = decoder(S, DecodeIdx, insn, MI, Address, DisAsm, &DecodeComplete);\
|
||||
CS_ASSERT(DecodeComplete);\
|
||||
\
|
||||
@ -1738,7 +1738,7 @@ static DecodeStatus fname(const uint8_t DecodeTable[], MCInst *MI,\
|
||||
\
|
||||
MCInst TmpMI;\
|
||||
MCInst_setOpcode(&TmpMI, Opc);\
|
||||
bool DecodeComplete;\
|
||||
bool DecodeComplete = false;\
|
||||
S = decoder(S, DecodeIdx, insn, &TmpMI, Address, DisAsm, &DecodeComplete);\
|
||||
\
|
||||
if (DecodeComplete) {\
|
||||
|
Loading…
Reference in New Issue
Block a user