Reduce Critical Risks with Rust + Perforce Static Analysis
Harness the memory-safety benefits of the Rust programming language while maintaining code quality.
Find Hidden Safety- and Security-Critical Issues
More teams are adopting Rust for mission-critical projects because it eliminates entire classes of memory-related defects and provides safer concurrency and reduces data races—but Rust alone is not enough. Perforce Static Analysis tackles the blind spots that common Rust linters miss like inter-procedural dataflow, unsafe block analysis, and cross-language coverage in mixed Rust/C/C++ projects.
Full Visibility and Unified Governance Across Mixed-Language Systems
Multi-language systems add layers of complexity and a loss of security, safety, and compliance coverage when Rust is introduced into otherwise governed C/C++ code bases. Perforce Static Analysis streamlines the migration from C and C++ to Rust by providing cross-language visibility within a single workflow. This approach also enables consistent, auditable reporting of security, safety, and compliance findings to support regulated audits.
While there are not any standards yet specific to Rust, the cross-language interoperability between Rust and C/C++ code means many coding standards still apply (but only to the C/C++ code).
Production-Ready Support with Proven, Enterprise-Grade Static Analysis
Reduce tooling and process fragmentation by building Rust code analysis into your existing workflows. Perforce Static Analysis provides the deep inter-procedural dataflow, cross-file reasoning, and audit-ready evidence required for safety- and security-critical environments. What’s more, both QAC and Klocwork integrate with Clippy, unifying Clippy findings with the advanced diagnostics provided by the static analysis tools.
Rust Consortium
Perforce is a proud part of the Safety-Critical Rust Consortium, backed by the Rust Foundation. Our members actively help shape Rust guidelines, static analysis use, formal methods, and language subsets to meet industrial and legal requirements.
Put Your Rust Code to the Test
Fill out the form to test Rust code in your current environment through a free trial of Perforce Static Analysis.
Whether you need SAST at scale or unmatched depth of coverage, Perforce Static Analysis is the best way to get started for analyzing Rust, C, and C++ projects. Request your free trial today.
Explore Perforce Static Analysis Rust Support
See how Rust support in QAC and Klocwork strengthens and scales development.
Frequently Asked Questions
Depending on the amount of mixed-project analysis required, there could be an impact on analysis time.
Currently we support Native Rust Checkers for null pointer deference as well as divide by zero. As the standards come available, we will include checkers for those rules.
Rust improves baseline safety, but logic errors and runtime panics can still be lurking in your Rust code. Furthermore, you may still need to provide evidence of compliance, or secure development practices.
QAC/Klocwork will perform a native Rust analysis, and then combine the results of the Clippy analysis into a comprehensive list of issues identified.