rizin/test/db
Rot127 39ab034d28
Don't print meta items which are not at the current seek. (#6559)
* Don't print meta items which are not at the current seek.

The old code tried (unsuccessfully) to print _any_ meta item _covering_ the seek (ds->at).

There seems to be several bugs getting triggered with that.
One of them giving the behavior of https://github.com/rizinorg/rizin/issues/6556.

If the current seek is in a _data_ region, the disassembler logic doesn't care.
It just assumes that RzAsmOp.size is equivalent to the size of the objects there.
Even though there are only Meta items.

But since some meta items are like 4K bytes, RzAsmOp.size gets
trimmed down.
Anyways, that completely messes up the size calculation (as can be seen in the issue),
and the navigation.
I couldn't figure out where stuff broke.
But the library closes and I have to leave, so I push that.

That "fix" makes it at least behave somewhat consistently.

* Fix leaks

* Fix and add interactive test
2026-06-27 10:36:12 +00:00
..
abi librz/bin: handle PLT sections properly (#6499) 2026-06-13 02:20:41 +08:00
analysis Don't print meta items which are not at the current seek. (#6559) 2026-06-27 10:36:12 +00:00
archos Add reliable http:// test (#6509) 2026-06-18 07:01:00 +08:00
asm librz/arch/tms320: add support for the TMS320C54x series (#6534) 2026-06-20 05:28:41 +08:00
cmd Don't print meta items which are not at the current seek. (#6559) 2026-06-27 10:36:12 +00:00
esil Omitted reflines when internal grep ~ is used (#6062) 2026-04-04 12:03:06 +00:00
extras Convert zero-output EXPECT=<<EOF to single-line EXPECT= (#4746) 2024-11-28 18:18:00 +08:00
formats Add MediaTek md1img and GFH firmware image parsers (#5974) 2026-06-22 20:25:48 +00:00
io Prevent RzBuffer's Oxff_priv from overriding io.0xff (#6371) 2026-05-27 06:18:45 +08:00
json Move afv to afvl, add more modes (#3941) 2023-10-29 14:07:12 +08:00
rzil librz/arch/tms320: add support for the TMS320C54x series (#6534) 2026-06-20 05:28:41 +08:00
tools implement shake-128 and shake-256 (#6490) 2026-06-23 11:47:13 +08:00