diff options
| author | Stefan Boberg <[email protected]> | 2026-04-23 18:16:57 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2026-04-23 18:16:57 +0200 |
| commit | 0232b991cd7d8e3a2114ea30e4591dd3e7b65c36 (patch) | |
| tree | 94730e7594fd09ae1fa820391ce311f6daf13905 /thirdparty/fmt/test/fuzzing/main.cc | |
| parent | Fix forward declaration order for s_GotSigWinch and SigWinchHandler (diff) | |
| parent | trace: declare Region event name fields as AnsiString (#1012) (diff) | |
| download | archived-zen-sb/zen-help.tar.xz archived-zen-sb/zen-help.zip | |
Merge branch 'main' into sb/zen-helpsb/zen-help
- Combine HelpCommand (this branch) with HistoryCommand (main) in zen CLI dispatcher
- Keep filter-aware TuiPickOne rewrite; adopt main's ASCII arrow glyphs in doc comment
Diffstat (limited to 'thirdparty/fmt/test/fuzzing/main.cc')
| -rw-r--r-- | thirdparty/fmt/test/fuzzing/main.cc | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/thirdparty/fmt/test/fuzzing/main.cc b/thirdparty/fmt/test/fuzzing/main.cc deleted file mode 100644 index 8f8c719b7..000000000 --- a/thirdparty/fmt/test/fuzzing/main.cc +++ /dev/null @@ -1,22 +0,0 @@ -#include <cassert> -#include <fstream> -#include <vector> - -#include "fuzzer-common.h" - -extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size); - -int main(int argc, char** argv) { - for (int i = 1; i < argc; ++i) { - std::ifstream in(argv[i]); - assert(in); - in.seekg(0, std::ios_base::end); - const auto size = in.tellg(); - assert(size >= 0); - in.seekg(0, std::ios_base::beg); - std::vector<char> buf(static_cast<size_t>(size)); - in.read(buf.data(), size); - assert(in.gcount() == size); - LLVMFuzzerTestOneInput(as_bytes(buf.data()), buf.size()); - } -} |