MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / doCheck

Function doCheck

oss-fuzz/main.cpp:63–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61static const FileWithDetails s_file("test.cpp", Standards::Language::CPP, 0);
62
63static void doCheck(const uint8_t *data, size_t dataSize)
64{
65 Suppressions supprs;
66 CppCheck cppcheck(s_settings, supprs, s_errorLogger, nullptr, false, nullptr);
67 cppcheck.checkBuffer(s_file, reinterpret_cast<const char*>(data), dataSize);
68}
69
70#ifndef NO_FUZZ
71extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t dataSize);

Callers 2

LLVMFuzzerTestOneInputFunction · 0.85
mainFunction · 0.85

Calls 1

checkBufferMethod · 0.80

Tested by

no test coverage detected