Merge commit '16a2cf3873e00fa08e587d1b05c9132d98c24f50' into back-to-imgui
This commit is contained in:
7
external/capstone/arch/Alpha/AlphaMapping.c
vendored
7
external/capstone/arch/Alpha/AlphaMapping.c
vendored
@@ -173,10 +173,13 @@ bool Alpha_getInstruction(csh handle, const uint8_t *code,
|
||||
uint16_t *size, uint64_t address, void *info)
|
||||
{
|
||||
Alpha_init_cs_detail(instr);
|
||||
bool Result = Alpha_LLVM_getInstruction(handle, code, code_len, instr, size,
|
||||
DecodeStatus Result = Alpha_LLVM_getInstruction(handle, code, code_len, instr, size,
|
||||
address, info);
|
||||
Alpha_set_instr_map_data(instr);
|
||||
return Result;
|
||||
if (Result == MCDisassembler_SoftFail) {
|
||||
MCInst_setSoftFail(instr);
|
||||
}
|
||||
return Result != MCDisassembler_Fail;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user