Mercurial > hg > CbC > CbC_llvm
view compiler-rt/test/fuzzer/UncaughtException.cpp @ 256:7d9b19ec7a62
cbclang output is still wrong
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 18 Aug 2023 18:48:47 +0900 |
parents | 2e18cbf3894f |
children |
line wrap: on
line source
#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; }