Skip to content

v0.6.2-beta

Choose a tag to compare

@Lekssays Lekssays released this 15 Jul 11:53
· 128 commits to main since this release
a0b6351

Feature + fix release.

Added

  • Rust frontend support (rust2cpg). Rust is now a supported language end-to-end. The Joern container base image moved from jammy (Ubuntu 22.04, glibc 2.35) to noble (24.04, glibc 2.39)rust2cpg's native astgen is linked against GLIBC_2.39 and silently produced empty CPGs on jammy — and now bundles the Rust toolchain (rustc/cargo), which rust2cpg shells out to when loading a crate. Rust is intentionally excluded from languages_with_exclusions (like Go): the default exclusion patterns match cargo-resolved paths and would collapse the CPG to 0 methods. (#25)

Fixed

  • Unanchored --exclude-regex patterns emptied CPGs on astgen frontends. The default exclusion_patterns assumed full-match semantics (true for the JVM frontends) but jssrc2cpg and other astgen frontends apply them as an unanchored substring search against the absolute path, so a bare token like \..* excluded index.js and every real source file — yielding an empty CPG. Every token is now anchored with a (?:^|.*/) boundary; this is a no-op for the JVM frontends and additionally lets root-level dirs (e.g. vendor/) match. (#23, #24)

Changed

  • Bump Joern 4.0.5554.0.581. (#24)