Skip to content

chore: sync upstream changes (3dbee488)#89

Merged
willdurand merged 7 commits into
amofrom
sync/upstream-3dbee488
Jul 20, 2026
Merged

chore: sync upstream changes (3dbee488)#89
willdurand merged 7 commits into
amofrom
sync/upstream-3dbee488

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

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

Commits included

3dbee488 fix: align completions with default formatting (#713)
6c36cf81 style: run `cargo fmt`.
1e14f607 perf: adjust the atom quality heuristics to make `FF ?? 01` better than `01`.
3b389ed1 chore: increase `MAX_ATOMS_PER_REGEXP` to 16384.
012ebee4 chore: fix clippy warnings.
1216aa3b docs: improve documentation for `AclEntry` structure.

Generated automatically by the Sync Upstream workflow.

plusvic and others added 7 commits July 17, 2026 12:52
Clarify the rules used for evaluating ACLs.
I found a regexp in production (/\b\d{2}-\d{7}|\d{9}\b/) that needed 10100 atoms, or otherwise it would be a 0-atoms regexp.
…an `01`.

We prefer 256 atoms like `FF ?? 01` than a single-byte `01`.
Aligned the default rule completion with the default formatting, added parens around the range in the in completion.

The `entrypoint` is deprecated, so replacing it with `pe.entry_point` may be desired. An enhancement would be to add import "pe" with the other imports on completion, or when `pe.entry_point` is completed, not just for competing `pe`.
@willdurand
willdurand marked this pull request as ready for review July 20, 2026 09:17
@willdurand
willdurand merged commit ef66e13 into amo Jul 20, 2026
1 check passed
@willdurand
willdurand deleted the sync/upstream-3dbee488 branch July 20, 2026 09:40
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.

3 participants