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

NAME=PE: corkami aslr.dll - entrypoint
FILE=bins/pe/aslr.dll
CMDS=s
EXPECT=<<EOF
0x1001000
EOF
RUN

NAME=PE: corkami aslr.dll - pi 1
FILE=bins/pe/aslr.dll
CMDS=pi 1
EXPECT=<<EOF
mov eax, 1
EOF
RUN
