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

NAME=PE: corkami aslr.dll - DYNAMIC_BASE/ASLR enabled
FILE=bins/pe/aslr.dll
ARGS=-n
CMDS=!rz-bin -I bins/pe/aslr.dll | grep PIE | grep true
EXPECT=<<EOF
PIE      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
