mirror of
https://github.com/rizinorg/rizin.git
synced 2026-10-12 02:21:57 +00:00
'rizin' is missing a lot of syscalls for i.e. arm. We can check that with: rizin -a x86_64 -b 64 -k linux -q -c asl vs rizin -a arm -b 64 -k linux -q -c asl 'rz_syscall_item_new_from_string' splits the incoming string by commas and expects at least 3 items as a result. This patch fixes syscall preprocessing by appending empty strings to match the expected number of items after a split. This is a clone of a fix posted to radare2 [1]. [1] https://github.com/radareorg/radare2/pull/21508