crosvm/fuzz
Daniel Verkamp 0d2f3d276d fuzz: ensure sys_util path dependency is used
When compiling a new-enough crosvm for fuzzing (after
https://crrev.com/c/1749950), the build would fail with an error about
importing two different version of sys_util:

expected struct `sys_util::shm::SharedMemory`, found a different struct
`sys_util::shm::SharedMemory`
expected reference `sys_util::shm::SharedMemory (struct
`sys_util::shm::SharedMemory`)
found reference sys_util::shm::SharedMemory (struct
`sys_util::shm::SharedMemory`)
perhaps two different versions of crate `sys_util` are being used?

Fix this by patching the version of sys_util used by audio_streams
so that it also uses the path dependency instead of the sys_util from
the dev-rust/sys_util ebuild in the fuzz-specific Cargo.toml.

BUG=chromium:1057532
TEST=`USE='asan fuzzer' emerge-nami crosvm`

Change-Id: I38252465a1111a9a8f643a59e36733016c5db99d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2086401
Reviewed-by: Zach Reizner <zachr@chromium.org>
Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Manoj Gupta <manojgupta@chromium.org>
2020-03-06 05:26:00 +00:00
..
.gitignore Add kernel_loader fuzzing 2018-01-12 22:37:48 -08:00
block_fuzzer.rs fuzz: add block_size to block_fuzzer constructor 2019-12-12 19:44:07 +00:00
Cargo.toml fuzz: ensure sys_util path dependency is used 2020-03-06 05:26:00 +00:00
fs_server_fuzzer.rs fuzz: Add virtio-fs server fuzzer 2019-11-08 03:06:15 +00:00
OWNERS fuzz: update to use new cros fuzzing 2019-03-25 17:43:51 -07:00
qcow_fuzzer.rs disk: move qcow into disk crate 2020-01-06 21:26:38 +00:00
usb_descriptor_fuzzer.rs fuzz: convert fuzzers to cros_fuzz framework 2019-10-28 20:30:18 +00:00
virtqueue_fuzzer.rs fuzz: Refactor and improve virtqueue_fuzzer performance 2019-10-29 21:10:42 +00:00
zimage_fuzzer.rs fuzz: convert fuzzers to cros_fuzz framework 2019-10-28 20:30:18 +00:00