Sign in
cobalt
/
cobalt
/
579fd3d94490c679e9ed2edd8e43e3473f383544
/
.
/
third_party
/
llvm-project
/
compiler-rt
/
test
/
fuzzer
/
UncaughtException.cpp
blob: 35df4a9ce326ac351ea25a7de6995714e77f1d2a [
file
] [
log
] [
blame
]
#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
;
}