rizin/librz/reg
NOT XVilka 155ead6822
librz/reg: derive CC with more than four argument registers (#6600)
rz_reg_profile_to_cc() only emitted the first four argument registers
(A0-A3), so architectures that pass more arguments in registers -- the
C6000 EABI uses ten, and x86-64/riscv/ppc all declare more than four --
got a truncated convention. Walk the whole A0-A9 role range, stopping at
the first role the profile leaves undefined, and build the cc string with
RzStrBuf. Covered by a new test_reg unit test.

Co-authored-by agent: Claude/claude-opus-4-8

Co-authored-by: Anton Kochkov <anton.kochkov@gmail.com>
2026-07-06 03:35:41 +08:00
..
d Deprecate RzSyscallPort and move the existing sysregs to SDB (#1160) 2021-06-02 02:01:51 +08:00
arena.c Remove rz_list_iter_get_data() (#5900) 2026-02-10 22:03:37 +08:00
meson.build Rewrite RzReg to use RzBitVector 2022-11-01 10:58:16 +08:00
profile.c librz/reg: derive CC with more than four argument registers (#6600) 2026-07-06 03:35:41 +08:00
rcond.c Rewrite ar and dr with newshell (#2006) 2021-12-06 19:02:43 +01:00
README.md librz: add some initial documentation (#3782) 2023-10-13 13:46:19 +08:00
reg.c RzReg: Associate roles with RzRegItem instead of name strings (#6291) 2026-04-30 12:03:51 +02:00
rvalue.c librz/reg: handle 1 bit fields the same on BE and LE (#6496) 2026-06-11 16:10:32 +08:00