Skip to content

chore: sync upstream changes (3e9fa5ef)#76

Merged
willdurand merged 2 commits into
amofrom
sync/upstream-3e9fa5ef
Jun 30, 2026
Merged

chore: sync upstream changes (3e9fa5ef)#76
willdurand merged 2 commits into
amofrom
sync/upstream-3e9fa5ef

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR brings in the latest changes from VirusTotal/yara-x.

Commits included

3e9fa5ef perf: SIMD-accelerated masked literal matching (#691)

Generated automatically by the Sync Upstream workflow.

plusvic and others added 2 commits June 30, 2026 11:06
This Pull Request introduces a compiler and runtime optimization for regular expression patterns that consist solely of literal bytes with masks/wildcards (e.g., hex strings containing ?? or half-masked bytes like 1? 2?).

Rather than compiling these patterns to regex bytecode (PikeVM/FastVM), they are now extracted as a specialized SubPattern::LiteralWithMask type, which is verified at scan-time using SIMD vector instructions (Neon/SSE2).
@willdurand willdurand marked this pull request as ready for review June 30, 2026 09:19
@willdurand willdurand merged commit 553c410 into amo Jun 30, 2026
1 check passed
@willdurand willdurand deleted the sync/upstream-3e9fa5ef branch June 30, 2026 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants