Skip to content

[pull] main from VirusTotal:main#215

Merged
pull[bot] merged 1 commit into
threatcode:mainfrom
VirusTotal:main
May 11, 2026
Merged

[pull] main from VirusTotal:main#215
pull[bot] merged 1 commit into
threatcode:mainfrom
VirusTotal:main

Conversation

@pull

@pull pull Bot commented May 11, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

…o a RegexSet (#657)

When writing complex YARA rules, it is incredibly common to evaluate a single variable or structure field access (e.g., vt.net.domain.raw) against dozens of distinct regular expressions within an or condition. Previously, YARA-X evaluated each of these match operations sequentially.

This PR introduces an advanced compile-time and runtime optimization that detects identical match targets within or conditions, groups their regular expressions into a single multi-pattern RegexSet, and evaluates the entire set simultaneously in a single pass.
@pull pull Bot locked and limited conversation to collaborators May 11, 2026
@pull pull Bot added the ⤵️ pull label May 11, 2026
@pull
pull Bot merged commit 756e90d into threatcode:main May 11, 2026
2 of 3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant