cloud-hypervisor/fuzz
Bo Chen 4fea40f008 fuzz: Balloon: Reduce the guest memory size and queue size
With the guest memory size of 1MB, a valid descriptor size can be close
to the guest memory size (e.g. 1MB) and can contain close to 256k
valid pfn entries (each entry is 4 bytes). Multiplying the queue
size (e.g. 256), there can be close to 64 millions pfn entries to
process in a single request. This is why the oss-fuzz reported a
timeout (with a limit of 60s).

By reducing the guest memory size and the queue size, the worst-case now
is 8 million pfn entries for fuzzing, which can be finished in around 20
seconds according to my local experiment.

Signed-off-by: Bo Chen <chen.bo@intel.com>
2022-10-04 09:40:12 +01:00
..
fuzz_targets fuzz: Balloon: Reduce the guest memory size and queue size 2022-10-04 09:40:12 +01:00
.gitignore fuzz: Add fuzzing infrastructure and QCOW fuzzer 2020-07-17 08:49:35 +02:00
Cargo.lock build: Bump libc from 0.2.133 to 0.2.134 in /fuzz 2022-09-30 00:26:21 +00:00
Cargo.toml build: Bump libc from 0.2.133 to 0.2.134 in /fuzz 2022-09-30 00:26:21 +00:00