| 61 | static const FileWithDetails s_file("test.cpp", Standards::Language::CPP, 0); |
| 62 | |
| 63 | static 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 |
| 71 | extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t dataSize); |
no test coverage detected