Add test for show current offset's function (#476)

This commit is contained in:
Daven Du 2021-02-02 06:46:47 +08:00 committed by GitHub
parent 5ffa09ab86
commit c023766f50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,21 @@ EXPECT=<<EOF
EOF
RUN
NAME=af display current offset function
FILE=bins/elf/ls
CMDS=<<EOF
s main
af
afl.
sd 1
afl.
EOF
EXPECT=<<EOF
0x00004070 300 6757 -> 6739 main
0x00004070 300 6757 -> 6739 main
EOF
RUN
NAME=af localflag
FILE=bins/mach0/mac-ls2
CMDS=<<EOF