MCPcopy Create free account
hub / github.com/HexHive/NASS / CrashOnOverwrittenData

Method CrashOnOverwrittenData

fuzz/libfuzzer/FuzzerLoop.cpp:583–591  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

581}
582
583void Fuzzer::CrashOnOverwrittenData() {
584 Printf("==%d== ERROR: libFuzzer: fuzz target overwrites its const input\n",
585 GetPid());
586 PrintStackTrace();
587 Printf("SUMMARY: libFuzzer: overwrites-const-input\n");
588 DumpCurrentUnit("crash-");
589 PrintFinalStats();
590 _Exit(Options.ErrorExitCode); // Stop right now.
591}
592
593// Compare two arrays, but not all bytes if the arrays are large.
594static bool LooseMemeq(const uint8_t *A, const uint8_t *B, size_t Size) {

Callers

nothing calls this directly

Calls 3

PrintStackTraceFunction · 0.85
PrintfFunction · 0.70
GetPidFunction · 0.70

Tested by

no test coverage detected