v0.6.2-beta
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 againstGLIBC_2.39and silently produced empty CPGs on jammy — and now bundles the Rust toolchain (rustc/cargo), whichrust2cpgshells out to when loading a crate. Rust is intentionally excluded fromlanguages_with_exclusions(like Go): the default exclusion patterns match cargo-resolved paths and would collapse the CPG to 0 methods. (#25)
Fixed
- Unanchored
--exclude-regexpatterns emptied CPGs on astgen frontends. The defaultexclusion_patternsassumed full-match semantics (true for the JVM frontends) butjssrc2cpgand other astgen frontends apply them as an unanchored substring search against the absolute path, so a bare token like\..*excludedindex.jsand 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.555→4.0.581. (#24)