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.51k stars 1.54k forks source link

Add a clang-tidy checks and warnings #2312

Closed Rot127 closed 5 months ago

Rot127 commented 5 months ago

Your checklist for this pull request

Detailed description

Requires: https://github.com/capstone-engine/capstone/pull/2309

Test plan

CI green

Closing issues

Partially addresses https://github.com/capstone-engine/capstone/issues/2113

XVilka commented 5 months ago

@kabeor would be nice to have this merged because Rizin uses stricter options by default and it stops us from updating to the latest commit.