Documentation ¶
Index ¶
Constants ¶
View Source
const ( // - opt-level=3 (Use the highest optimisation level (default with --release)) // - debuginfo=1 (Include DWARF debug info which is extracted to find which funcs are called) // - embed-bitcode=yes (Required to enable LTO) // - lto (Enable full link time optimisation, this allows unused dynamic dispatch calls to be optimised out) // - codegen-units=1 (Build everything in one codegen unit, increases build time but enables more optimisations // and make libraries only generate one object file) RustFlagsEnv = "RUSTFLAGS=-C opt-level=3 -C debuginfo=1 -C embed-bitcode=yes -C lto -C codegen-units=1" RustLibExtension = ".rcgu.o/" )
Variables ¶
This section is empty.
Functions ¶
func Run ¶
func Run(r reporter.Reporter, source models.SourceInfo, pkgs []models.PackageVulns)
Run runs the language specific analyzers on the code given packages and source info
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.