diff options
author | Ivan Lozano <ivanlozano@google.com> | 2020-02-11 08:24:25 -0500 |
---|---|---|
committer | Ivan Lozano <ivanlozano@google.com> | 2021-01-25 11:11:10 -0500 |
commit | 6cd99e6ab45dce7b1a3b865bacf76ce54651bd07 (patch) | |
tree | d107adced00e84c7b91a06cc4114df14b6990318 /rust/compiler.go | |
parent | f98384ad80493750c8a3fabea2db1812fc8089d1 (diff) |
Add Rust fuzzing support.
Add a rust_fuzz module which builds a libfuzzer binary that enabes
asan+sancov. This relies on the libfuzzer-sys crate.
Bug: 147140513
Test: Local rust_fuzz example builds, fuzzes with asan+sancov.
Change-Id: I57db3b8d25869791824ccfab768d13b0bb9d42fa
Diffstat (limited to 'rust/compiler.go')
-rw-r--r-- | rust/compiler.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/compiler.go b/rust/compiler.go index bcea6cccc..2d9575c0e 100644 --- a/rust/compiler.go +++ b/rust/compiler.go @@ -146,6 +146,7 @@ type baseCompiler struct { relative string path android.InstallPath location installLocation + sanitize *sanitize coverageOutputZipFile android.OptionalPath distFile android.OptionalPath |