NAME=PE: export function names
FILE=bins/pe/Lab05-01.dll
CMDS=iE
EXPECT=<<EOF
[Exports]

nth paddr       vaddr      bind   type size lib      name
---------------------------------------------------------
1    0x0000cc47 0x1000d847 GLOBAL FUNC 0    xdll.dll InstallRT
2    0x0000d2c1 0x1000dec1 GLOBAL FUNC 0    xdll.dll InstallSA
3    0x0000dc92 0x1000e892 GLOBAL FUNC 0    xdll.dll InstallSB
4    0x00006425 0x10007025 GLOBAL FUNC 0    xdll.dll PSLIST
5    0x0000c330 0x1000cf30 GLOBAL FUNC 0    xdll.dll ServiceMain
6    0x000072cb 0x10007ecb GLOBAL FUNC 0    xdll.dll StartEXS
7    0x0000e805 0x1000f405 GLOBAL FUNC 0    xdll.dll UninstallRT
8    0x0000de05 0x1000ea05 GLOBAL FUNC 0    xdll.dll UninstallSA
9    0x0000e538 0x1000f138 GLOBAL FUNC 0    xdll.dll UninstallSB
EOF
RUN

NAME=PE: export function names RAD
FILE=bins/pe/Lab05-01.dll
CMDS=iE*
EXPECT=<<EOF
fs exports
"f sym.xdll.dll_InstallRT 0 0x1000d847"
"f sym.xdll.dll_InstallSA 0 0x1000dec1"
"f sym.xdll.dll_InstallSB 0 0x1000e892"
"f sym.xdll.dll_PSLIST 0 0x10007025"
"f sym.xdll.dll_ServiceMain 0 0x1000cf30"
"f sym.xdll.dll_StartEXS 0 0x10007ecb"
"f sym.xdll.dll_UninstallRT 0 0x1000f405"
"f sym.xdll.dll_UninstallSA 0 0x1000ea05"
"f sym.xdll.dll_UninstallSB 0 0x1000f138"
EOF
RUN

NAME=PE: export function names SIMPLE
FILE=bins/pe/Lab05-01.dll
CMDS=iEq
EXPECT=<<EOF
0x1000d847 0 xdll.dll InstallRT
0x1000dec1 0 xdll.dll InstallSA
0x1000e892 0 xdll.dll InstallSB
0x10007025 0 xdll.dll PSLIST
0x1000cf30 0 xdll.dll ServiceMain
0x10007ecb 0 xdll.dll StartEXS
0x1000f405 0 xdll.dll UninstallRT
0x1000ea05 0 xdll.dll UninstallSA
0x1000f138 0 xdll.dll UninstallSB
EOF
RUN
