Source: capstone Version: 4.0.2-5 Severity: normal Tags: upstream X-Debbugs-Cc: e...@planetminkoff.com
The cstool binary and rasm2 from the radare2 suite both fail to properly disassemble the 2-byte s390x instruction `0a00` to `svc 0`. The issue occurs when testing the Trixie builds of rasm2 and cstool in a podman container. Building capstone 4.0.2 using the upstream source tarball, the issue occurs, but version 5.0 does not have this issue. Building radare2 5.9.4 from source does not replicate the issue with upstream default options, but if built against the system libcapstone4, the issue reappears. . -- System Information: Debian Release: 12.8 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable'), (100, 'bookworm-fasttrack') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.11.8-1-liquorix-amd64 (SMP w/8 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system)