Repository navigation
v1.23.0
- Compile Unicode character classes in regular expressions using UTF-8 byte sequences for smaller and faster PikeVM code (1baf65c).
- Add support for
\b{start-half}and\b{end-half}word boundary assertions in regular expressions (e89aaae). - Improve
Scannercreation performance by reusing the WASM linker (#841). - Auto-discover
libmagiclibrary search path when building with themagic-modulefeature (64dd140). - BUGFIX: Allow
--ignore-moduleto ignore modules implemented by YARA-X (#833). - BUGFIX: Don't mistake maps containing
encodingandvaluekeys for encoded values in the Python API (#832). - BUGFIX: Fix memory leaks in the Go API when
Destroyisn't called onScannerorRules(c465b46). - BUGFIX: Fix false positive
E048(ConditionTooLarge) errors when multiple rules share a WASM function (71cfcc9). - BUGFIX: Support regular expressions in
withstatements without panicking (6b7bbb7). - BUGFIX: Handle literal null bytes in metadata strings without panicking (c557033, d970018).
- BUGFIX: Fix overlapping undefined-variable bitmaps in WASM memory when rules use more than 8 variables (2fcf36e).
- BUGFIX: Roll back
anchored_sub_patternswhen restoring compiler snapshots after a rule fails to compile (e2153a9). - BUGFIX: Fix multiple loop hoisting and variable stack issues in the compiler (3b09b1e, 1cdf204, a2a4823, 0165856, 14ec84b).
- BUGFIX: Fix panics, integer overflows, and excessive memory usage when compiling large patterns, wide patterns, hex jumps, and multi-pattern regex sets (f2fa044, ac2e94b, 7883874, 294a49a, c46e2a7, 0f71e3b, eed7687).
- BUGFIX: Fix panics, infinite loops, and error span mapping in
relaxed_re_syntaxmode (64c2a16, 431834f, e3a6a23, 95cd52e, fb2332a). - BUGFIX: Fix stack overflows on deeply nested expressions, span overflows on large inputs, and Unicode whitespace handling in parser and formatter (9e89546, 9137a19, 64d4d90, b107e9d, 985d3cd, 46ea1af, c7d4afb, 24d964f).
- BUGFIX: Fix integer overflows, 32-bit offset truncation, WASM page boundary slices, and large runtime string handling in compiler and scanner (02c6d37, 3af8e05, 852fed0, 77d84c8).
- BUGFIX: Fix arithmetic overflows and panics on unset fields in
math,hash,console, andpemodules (e7510e2, 220a268, 30074ca, 8001188, 8f4999a). - BUGFIX: Fix panics and unbounded recursion in
yr check,yr deps,yr fix warnings, and thetagslinter (360f42f, d90d431, b2293bd, f489e2d). - BUGFIX: Fix multiple issues in the Language Server, including unbounded recursion, lexical scoping in
find_declaration, UTF-16 column mapping, and stale CST caching (2c0360c, b4b9192, 5a1c488, 8b6d7f1, 1973e8a, b3e1ffe).
Contributors: @arxhr007, @CfirTsabari, @dharineesh27, @kevinmuoz