Remove old Yara tests

This commit is contained in:
Sylvain Pelissier 2024-09-06 07:30:54 +02:00 committed by pancake
parent 8e107e3c72
commit db0fb9fdde
2 changed files with 0 additions and 52 deletions

View File

@ -49,9 +49,6 @@ dwarf: bins
vc4: bins
${RUNTEST} db/extras/asm/vc4
yara: bins
${RUNTEST} db/extras/cmd/yara
clean:
$(MAKE) -C unit clean
rm -rf tmp

View File

@ -1,49 +0,0 @@
NAME=yara scan
FILE=bins/elf/vim
CMDS=<<EOF
yrs
f
EOF
EXPECT=<<EOF
BLOWFISH_Constants
SHA256_Constants
0x001936c4 4 yara1_SHA256_Constants_0
0x0019372b 4 yara1_SHA256_Constants_1
0x0019379d 4 yara1_SHA256_Constants_2
0x001937e5 4 yara1_SHA256_Constants_3
0x004960c0 4 yara0_BLOWFISH_Constants_0
0x004960c4 4 yara0_BLOWFISH_Constants_1
0x004960c8 4 yara0_BLOWFISH_Constants_2
0x004960cc 4 yara0_BLOWFISH_Constants_3
0x004964c0 4 yara0_BLOWFISH_Constants_4
0x004968c8 4 yara0_BLOWFISH_Constants_5
EOF
RUN
NAME=yara: scan with strings
FILE=malloc://1024
CMDS=<<EOF
wx cffbc0b5e9b5dba5a5dbb5e9d728ae2222ae28d7
yrs S
EOF
EXPECT=<<EOF
SHA512_Constants
0x00000000: yara0_SHA512_Constants_0 : cffbc0b5
0x00000004: yara0_SHA512_Constants_1 : e9b5dba5
0x00000008: yara0_SHA512_Constants_2 : a5dbb5e9
0x0000000c: yara0_SHA512_Constants_3 : d728ae22
0x00000010: yara0_SHA512_Constants_4 : 22ae28d7
EOF
RUN
NAME=yara: versions
FILE=malloc://1024
CMDS=<<EOF
yrv~yara?
yara version~yara?
EOF
EXPECT=<<EOF
2
2
EOF
RUN