rizin/test/db/formats/plan9
Florian Märkl bedcf6f354
Add indicator to oml for which map is visible at seek (#2409)
There may be multiple maps containing the current seek. This indicates
only the highest-priority one, which is also the one whose data is
visible at the seek address.
2022-03-14 08:59:40 +01:00

29 lines
729 B
Text

NAME=Plan9: Open/iI
FILE=bins/plan9/bin
CMDS=iI~?plan9
EXPECT=<<EOF
1
EOF
RUN
NAME=Plan9: maps
FILE=bins/plan9/bin
CMDS=oml
EXPECT=<<EOF
1 fd: 4 +0x00000000 0x364a0721 - 0x364a0e21 r-x mmap.text
2 fd: 3 +0x00000020 0x00000020 * 0x364a0720 r-x fmap.text
3 fd: 5 +0x00000000 0x76d40c21 - 0x76d41120 rw- mmap.data
4 fd: 3 +0x364a0721 0x364a0721 - 0x76d40c20 r-- fmap.data
EOF
RUN
NAME=Plan9: sections
FILE=bins/plan9/bin
CMDS=iS
EXPECT=<<EOF
paddr size vaddr vsize align perm name type flags
-----------------------------------------------------------------------
0x00000020 0x364a0701 0x00000020 0x364a0e02 0x0 -r-x text
0x364a0721 0x408a0500 0x364a0721 0x408a0a00 0x0 -rw- data
EOF
RUN