mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-17 17:58:09 +08:00
ci: reset all ci setup
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
FROM gcr.io/oss-fuzz-base/base-builder
|
||||
RUN apt-get update && apt-get install -y make autoconf automake libtool
|
||||
|
||||
COPY . $SRC/toml11
|
||||
COPY .clusterfuzzlite/build.sh $SRC/build.sh
|
||||
WORKDIR $SRC/toml11
|
@@ -1,3 +0,0 @@
|
||||
# ClusterFuzzLite set up
|
||||
|
||||
This folder contains a fuzzing set for [ClusterFuzzLite](https://google.github.io/clusterfuzzlite).
|
@@ -1,6 +0,0 @@
|
||||
#!/bin/bash -eu
|
||||
# Copy fuzzer executable to $OUT/
|
||||
$CXX $CFLAGS $LIB_FUZZING_ENGINE \
|
||||
$SRC/toml11/.clusterfuzzlite/parse_fuzzer.cpp \
|
||||
-o $OUT/parse_fuzzer \
|
||||
-I$SRC/toml11/
|
@@ -1,16 +0,0 @@
|
||||
|
||||
#include <toml.hpp>
|
||||
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
|
||||
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
||||
std::string s(reinterpret_cast<const char *>(data), size);
|
||||
std::istringstream iss(s);
|
||||
try {
|
||||
const auto ref = toml::parse(iss);
|
||||
} catch (...) {
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
@@ -1 +0,0 @@
|
||||
language: c++
|
Reference in New Issue
Block a user