mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-09 19:45:13 +02:00
14 lines
331 B
C++
14 lines
331 B
C++
// Phase 16 — libFuzzer entry, benign.
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
#include <cstdio>
|
|
#include <cstdlib>
|
|
|
|
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
|
(void)data; (void)size;
|
|
std::printf("__NYX_SINK_HIT__\n");
|
|
std::fflush(stdout);
|
|
std::system("echo hello");
|
|
return 0;
|
|
}
|