rizin/test/db/analysis
Rot127 bdd913ab5e
Fix definition of alignment
* Fix definition of alignment.

Alignments for code and data is not defind for 0, bubt nonetheless it
was assigned this value everytwhere. This changes the default value to 1.

* Enforce an alignment of at least 1.

* Fix alignment checks (default is now 1).

* Fix alignment check. 1 was assumed to be valid.

* Fix places where an alignment of 0 is considered still a valid value.

* Fix integration test with invalid alignment

* Remove debug printf

* Remove addrmod member.

It was pressumingly used to indicate aligned addresses in print mode.
But it wasn't documented and the usefulness is dubious.
Since it is easy to spot for users to see if addresses are aligned or not anyways.

* Fix tests after cherry-pick

* Fix rz-find test which consumed the '-X' as number value for '-a'.

* Fix case of arch module not defining value alignments.
2025-02-14 01:27:47 +08:00
..
6502 Updated all tests 2022-11-01 10:58:16 +08:00
8051 Convert zero-output EXPECT=<<EOF to single-line EXPECT= (#4746) 2024-11-28 18:18:00 +08:00
amd29k Remove RzAnalysisPlugin.set_reg_profile (#2091) 2021-12-11 10:18:31 +01:00
arc Remove RzAnalysisPlugin.set_reg_profile (#2091) 2021-12-11 10:18:31 +01:00
arm Bump Capstone to newest next (#4758) 2024-12-19 00:08:14 +08:00
arm64 table: Right-align number columns (#4849) 2025-01-19 23:00:37 +08:00
avr iS/iSS: Right-align "align" column (#4850) 2025-01-20 21:19:19 +08:00
chip8
classes table: Right-align number columns (#4849) 2025-01-19 23:00:37 +08:00
cris Remove RzAnalysisPlugin.set_reg_profile (#2091) 2021-12-11 10:18:31 +01:00
dalvik Analysis: sort function by address while printing (#4179) 2024-02-02 23:50:34 +08:00
gb Updated all tests 2022-11-01 10:58:16 +08:00
golang Check for jumps to preludes by default. (#4651) 2024-09-29 20:19:51 +02:00
h8300 Updated all tests 2022-11-01 10:58:16 +08:00
hexagon Fix disasm if first instruction is at a map boundary. (#4718) 2024-11-17 13:49:17 +08:00
i4004 Updated all tests 2022-11-01 10:58:16 +08:00
java Fix definition of alignment 2025-02-14 01:27:47 +08:00
loongarch Add initial support to loongarch 32/64 (#4810) 2025-01-01 15:36:23 +08:00
luac
m68k Remove RzAnalysisPlugin.set_reg_profile (#2091) 2021-12-11 10:18:31 +01:00
m680x Updated all tests 2022-11-01 10:58:16 +08:00
mach0 Fix all db/analysis tests 2021-10-27 09:31:50 +02:00
mcore Remove RzAnalysisPlugin.set_reg_profile (#2091) 2021-12-11 10:18:31 +01:00
mips librz/arch/mips: improve the ISA support and analysis (#4621) 2024-12-29 20:00:41 +08:00
msp430 MSP430: Fix immediate value/memory distinction 2024-05-31 06:52:52 +08:00
noreturn Fix all db/analysis tests 2021-10-27 09:31:50 +02:00
null Remove RzAnalysisPlugin.set_reg_profile (#2091) 2021-12-11 10:18:31 +01:00
path
pic Fix "pic18 call instructions not detected" (#4532) 2024-06-04 12:31:59 +08:00
ppc Bump Capstone to newest next (#4758) 2024-12-19 00:08:14 +08:00
riscv Demangle flags symbols (#3915) 2023-10-20 09:33:30 +02:00
rl78 librz/arch/mips: improve the ISA support and analysis (#4621) 2024-12-29 20:00:41 +08:00
rx table: Right-align number columns (#4849) 2025-01-19 23:00:37 +08:00
sh Convert zero-output EXPECT=<<EOF to single-line EXPECT= (#4746) 2024-11-28 18:18:00 +08:00
snes
sparc librz/arch: capstone v6 update (without MIPS) (#4662) 2024-10-25 00:07:07 +08:00
spc700 Updated all tests 2022-11-01 10:58:16 +08:00
sysz librz/arch: capstone v6 update (without MIPS) (#4662) 2024-10-25 00:07:07 +08:00
thumb Change permissions of some tests to 0644 from 0755 (#4636) 2024-09-18 13:52:33 +08:00
tms320 Updated all tests 2022-11-01 10:58:16 +08:00
tms320.c64x_32 Merge rz_asm and rz_analysis into one library but keep deprecated apis. 2024-03-07 18:38:49 +08:00
tricore librz/arch/tricore: bump capstone and fix RzIL generation (#4696) 2024-11-03 19:47:12 +08:00
v810 v810: RzIL support (#4096) 2024-01-14 10:45:48 +08:00
v850 v850: add local variables detection (#4271) 2024-02-20 00:08:03 +08:00
vars table: Right-align number columns (#4849) 2025-01-19 23:00:37 +08:00
x86_16 Update capstone instruction ids 2023-07-16 13:22:47 +08:00
x86_32 Convert zero-output EXPECT=<<EOF to single-line EXPECT= (#4746) 2024-11-28 18:18:00 +08:00
x86_64 iS/iSS: Right-align "align" column (#4850) 2025-01-20 21:19:19 +08:00
xap arch/xap: refactor the code up to rizin standard (#4659) 2024-10-04 01:45:37 +08:00
xtensa librz/arch: migrate Xtensa to Capstone (#4654) 2024-11-11 00:38:54 +08:00
z80 Updated all tests 2022-11-01 10:58:16 +08:00