Download raw body.
security/yara update
Hi
- build and tests for yara/python with update to version 4.5.2
- build OK for yara/main with update to version 4.5.5, on current/amd64.
There are some errors during "make test", for "test-pe":
$ make test
(...)
make check-TESTS
PASS: test-arena
PASS: test-alignment
PASS: test-atoms
PASS: test-api
PASS: test-rules
FAIL: test-pe
PASS: test-elf
PASS: test-version
PASS: test-bitmask
PASS: test-math
PASS: test-stack
PASS: test-re-split
PASS: test-async
PASS: test-string
PASS: test-exception
PASS: test-dotnet
PASS: test-magic
============================================================================
Testsuite summary for yara 4.5.5
============================================================================
# TOTAL: 17
# PASS: 16
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
In the past, I had the same errors when trying to test "yara" with LibreSSL, OK when using OpenSSL instead
=> see issue https://github.com/VirusTotal/yara/issues/2085
On Tue, 10 Feb 2026 11:28:09 +0000, Stuart Henderson wrote:
> Does anyone know how to test this beyond "make test"?
For a simple test, you could create a rule file for YARA and check it with a txt file:
$ echo "Hello World" > ~/tmp/test.txt
$ cat ~/tmp/hello.yar
rule find_hello {
strings:
$text = "Hello World"
condition:
$text
}
$ yara ~/tmp/hello.yar ~/tmp/test.txt
find_hello /home/fox/tmp/test.txt
Laurent
security/yara update