* 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
11 KiB
11 KiB
END
EOF
RUN
EOF
RUN