Repository navigation
- Add
has_string,has_method, andhas_classfunctions with YARA-compatible overloads to thedexmodule, keepingcontains_string,contains_method, andcontains_classas aliases (e55460d). - Support an optional
aliasargument in the#[module_export]macro for exporting module functions under alternate names (00a0f97). - Add Windows ARM64 release builds (CLI and C API) and Python wheels (#873).
- Add generated man pages for
yrand its subcommands undercli/man/(a3d3f31). - Share compiled regular expressions and regexp sets across
Scannerinstances inRules(#665). - Multiple performance and memory usage improvements in the scanner, FastVM, and
dotnetanddexmodules (0258378, 18d2d89, d75b776, ec3a736, 33c01a1, a35f733, 348fa69). - Increase the maximum WASM function instruction limit (
MAX_FUNC_INSTRS) from 100,000 to 300,000 to support larger rule conditions (3533f81). - Highlight all YARA keywords and operators in the Playground editor (#856).
- BUGFIX: Eliminate terminal flickering during
yr scanby replacingindicatifwith a lightweight synchronized terminal renderer (6b592e0). - BUGFIX: Restrict
includedirectives to regular files inside configured include directories to prevent path traversal (aae52cc). - BUGFIX: Fix
0 of themand contiguous0 of (...)expressions matching when some patterns match (#848). - BUGFIX: Fix wrong length and debug underflow in
non_matching_rules()when non-matching private rules are present (#846). - BUGFIX: Prevent module functions and methods from leaking into the global symbol table or shadowing other modules (#872).
- BUGFIX: Keep DEX string, type, and prototype indices aligned when entries are skipped, and read non-ASCII MUTF-8 strings in full (#885).
- BUGFIX: Preserve
includes_enabledacrossCompiler.build()calls in the Python API (8c7c2a3). - BUGFIX: Gracefully handle out-of-range timestamps in the Python API and YAML serializer (419f7e0).
- BUGFIX: Fix build failures when enabling
olecf-module,msi-module, orvba-module, ordex-modulewithoutcrypto(#844, #880). - BUGFIX: Enable
rsa'spkcs1v15feature for compatibility withrsa0.10.0 while continuing to accept RSA keys shorter than 1024 bits (#866). - BUGFIX: Fix compiler panics and overflows on method calls without a symbol table, nested field access hoisting, integer read header constraints, and non-UTF-8 include paths (bd52352, 92e236e, 0c940e8, 36c241a).
- BUGFIX: Fix regular expression compilation and matching bugs involving empty repetitions,
LineEndstart-of-buffer handling, and non-wide byte pairs in PikeVM lookarounds (5ed88d3, 15116ba, 69d5d60). - BUGFIX: Ensure
replace_if_longeronly extends existing matches and allows in-place updates atmax_matches_per_pattern(8a9aa72, 1b9e3a0). - BUGFIX: Fix non-monotonic
method_listand table truncation handling in thedotnetmodule parser (cfe605d). - BUGFIX: Harden
crx,olecf,authenticode,pe,dotnet,elf,macho, anddexmodule parsers against excessive memory allocation, unbounded recursion, and algorithmic complexity attacks (0200269, d1c894e, e7d1c7d, afe7227, 693c228, 92e70f1, 19ad91d, 9990355).
Contributors: @AlonSoko, @CharmingGroot, @CfirTsabari, @debugactiveprocess, @kevinmuoz, @VISHNU0906, @zdiff