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.18k stars 1.52k forks source link

Mapping - return NULL if compiled with DIET #2370

Closed XVilka closed 1 month ago

XVilka commented 1 month ago

Your checklist for this pull request

Detailed description

It should fix the error when Capstone compiled with DIET define

Test plan

Builds fine with DIET option

Reported by @numas13