NAME=PE: corkami dll.dll - DYNAMIC_BASE/ASLR disabled
FILE=bins/pe/dll.dll
ARGS=-n
CMDS=!rabin2 -I bins/pe/dll.dll | grep "pic      false" 
EXPECT=<<EOF
pic      false
EOF
RUN

NAME=PE: corkami aslr.dll - DYNAMIC_BASE/ASLR enabled
FILE=bins/pe/aslr.dll
ARGS=-n
CMDS=!rabin2 -I bins/pe/aslr.dll | grep pic | grep true
EXPECT=<<EOF
pic      true
EOF
RUN

# merged: PE: corkami aslr.dll - pi 1
NAME=PE: corkami aslr.dll - entrypoint
FILE=bins/pe/aslr.dll
CMDS=<<EOF
s
?e --
pi 1
EOF
EXPECT=<<EOF
0x1001000
--
mov eax, 1
EOF
RUN
