capstone-engine / capstone

Capstone disassembly/disassembler framework for ARM, ARM64 (ARMv8), Alpha, BPF, Ethereum VM, HPPA, LoongArch, M68K, M680X, Mips, MOS65XX, PPC, RISC-V(rv32G/rv64G), SH, Sparc, SystemZ, TMS320C64X, TriCore, Webassembly, XCore and X86.
http://www.capstone-engine.org
7.61k stars 1.56k forks source link

tricore: fix runtime errors of integer overflow #2204

Closed imbillow closed 11 months ago

imbillow commented 1 year ago

closes #2188

Also added SafeInt(https://github.com/dcleblanc/SafeInt) library for overflow checking, it's a header file ONLY library so I guess it should be fine?

XVilka commented 1 year ago

@kabeor @Rot127 what are your thoughts on this?

XVilka commented 11 months ago

@kabeor I think this one could be merged now. cc @Rot127

kabeor commented 11 months ago

LGTM, thanks! Merged.