Skip to content

chore: sync upstream changes (b71a7fbf)#77

Merged
willdurand merged 6 commits into
amofrom
sync/upstream-b71a7fbf
Jul 1, 2026
Merged

chore: sync upstream changes (b71a7fbf)#77
willdurand merged 6 commits into
amofrom
sync/upstream-b71a7fbf

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

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

Commits included

b71a7fbf refactor: simplify code in `re::fast::Compiler::compile`
84e17587 tests: add test case for better coverage of `verify_literal_with_mask_simd`.
90faf557 style: fix clippy warnings.
f29e5f3d chore: remove unnecessary function and reuse existing one.
8c5d91a9 feat: enforce rules profiling feature consistency for serialized rules

Generated automatically by the Sync Upstream workflow.

plusvic and others added 6 commits June 30, 2026 12:03
Introduces a check during rules deserialization to verify that the `rules-profiling` feature status (enabled/disabled) matches between the compiled rules and the current YARA-X binary. This prevents potential runtime issues if rules are deserialized by a binary with differing profiling expectations.

The serialization version is incremented as a new field, `rules_profiling_enabled`, is added to the `Rules` struct, altering the binary format.
@willdurand willdurand marked this pull request as ready for review July 1, 2026 09:53
@willdurand willdurand merged commit fa0bdb1 into amo Jul 1, 2026
1 check passed
@willdurand willdurand deleted the sync/upstream-b71a7fbf branch July 1, 2026 10:01
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