mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-27 23:20:40 +00:00
781fcccf55
* Move CMDS= before EXPECT= in tests * Revert "Move CMDS= before EXPECT= in tests" This reverts commit13a9085a36
. * Move CMDS= before EXPECT= in tests, take 2 * Revert "Move CMDS= before EXPECT= in tests, take 2" This reverts commit7c0bf6d8e3
. * Move CMDS= before EXPECT= in tests, take 3 Co-authored-by: pancake <pancake@nopcode.org>
108 lines
1.0 KiB
Plaintext
108 lines
1.0 KiB
Plaintext
NAME=debruijn little endian
|
|
FILE=-
|
|
CMDS=<<EOF
|
|
e cfg.bigendian=false
|
|
wopO 0x41574141
|
|
EOF
|
|
EXPECT=<<EOF
|
|
64
|
|
EOF
|
|
RUN
|
|
|
|
NAME=debruijn big endian
|
|
FILE=-
|
|
CMDS=<<EOF
|
|
e cfg.bigendian=true
|
|
wopO 0x41574141
|
|
EOF
|
|
EXPECT=<<EOF
|
|
65
|
|
EOF
|
|
RUN
|
|
|
|
NAME=wopD 0x10 @ 0
|
|
FILE=-
|
|
CMDS=<<EOF
|
|
wopD 0x10 @ 0
|
|
p8 0x10
|
|
EOF
|
|
EXPECT=<<EOF
|
|
41414142414143414144414145414146
|
|
EOF
|
|
RUN
|
|
|
|
NAME=wopD* 0x10
|
|
FILE=-
|
|
CMDS=wopD* 0x10
|
|
EXPECT=<<EOF
|
|
wx 41414142414143414144414145414146
|
|
EOF
|
|
RUN
|
|
|
|
NAME=wopO 0x41417641
|
|
FILE=-
|
|
CMDS=wopO 0x41417641
|
|
EXPECT=<<EOF
|
|
140
|
|
EOF
|
|
RUN
|
|
|
|
NAME=wopO 41417641
|
|
FILE=-
|
|
CMDS=wopO 41417641
|
|
EXPECT=<<EOF
|
|
EOF
|
|
RUN
|
|
|
|
NAME=woE woD rc4
|
|
FILE=-
|
|
CMDS=<<EOF
|
|
w helloworld
|
|
woE rc4 key
|
|
woD rc4 key
|
|
ps
|
|
EOF
|
|
EXPECT=<<EOF
|
|
helloworld
|
|
EOF
|
|
RUN
|
|
|
|
NAME=woE woD xor
|
|
FILE=-
|
|
CMDS=<<EOF
|
|
w helloworld
|
|
woE xor key
|
|
woD xor key
|
|
ps
|
|
EOF
|
|
EXPECT=<<EOF
|
|
helloworld
|
|
EOF
|
|
RUN
|
|
|
|
NAME=woE woD blowfish
|
|
FILE=-
|
|
CMDS=<<EOF
|
|
w helloworld
|
|
woE blowfish key
|
|
woD blowfish key
|
|
ps
|
|
EOF
|
|
EXPECT=<<EOF
|
|
helloworld
|
|
EOF
|
|
RUN
|
|
|
|
NAME=woE woD aes-ecb
|
|
FILE=-
|
|
CMDS=<<EOF
|
|
w helloworld
|
|
woE aes-ecb key
|
|
woD aes-ecb key
|
|
ps
|
|
EOF
|
|
EXPECT=<<EOF
|
|
helloworld
|
|
EOF
|
|
RUN
|