You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#include <cstdint>
|
|
#include <vector>
|
|
|
|
extern "C" int LLVMFuzzerTestOneInput(const std::uint8_t *data, size_t size) {
|
|
std::vector<uint8_t> v;
|
|
// Intentionally throw std::length_error
|
|
v.reserve(static_cast<uint64_t>(-1));
|
|
|
|
return 0;
|
|
}
|