Download gemma.cpp/build/_deps/json-src/tests/thirdparty/Fuzzer/FuzzerMain.cpp from ZeroWw/gemma-2-9b-SBS: direct link, hf CLI and curl.
- Browser
- Download file 715 Bytes
-
https://huggingface.co/ZeroWw/gemma-2-9b-SBS/resolve/main/gemma.cpp/build/_deps/json-src/tests/thirdparty/Fuzzer/FuzzerMain.cpp
- Command line
-
hf download hf://ZeroWw/gemma-2-9b-SBS/gemma.cpp/build/_deps/json-src/tests/thirdparty/Fuzzer/FuzzerMain.cpp
-
curl -L -o FuzzerMain.cpp https://huggingface.co/ZeroWw/gemma-2-9b-SBS/resolve/main/gemma.cpp/build/_deps/json-src/tests/thirdparty/Fuzzer/FuzzerMain.cpp
715 Bytes
| //===- FuzzerMain.cpp - main() function and flags -------------------------===// | |
| // | |
| // The LLVM Compiler Infrastructure | |
| // | |
| // This file is distributed under the University of Illinois Open Source | |
| // License. See LICENSE.TXT for details. | |
| // | |
| //===----------------------------------------------------------------------===// | |
| // main() and flags. | |
| //===----------------------------------------------------------------------===// | |
| extern "C" { | |
| // This function should be defined by the user. | |
| int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size); | |
| } // extern "C" | |
| int main(int argc, char **argv) { | |
| return fuzzer::FuzzerDriver(&argc, &argv, LLVMFuzzerTestOneInput); | |
| } | |