fuzz: Link all targets once

This commit is contained in:
MarcoFalke
2020-12-03 16:42:49 +01:00
parent 751ffaabad
commit 44444ba759
97 changed files with 434 additions and 1306 deletions

View File

@@ -188,9 +188,9 @@ void Test(const std::string& str)
ECCVerifyHandle handle;
}
} // namespace
void test_one_input(const std::vector<uint8_t>& buffer)
FUZZ_TARGET(script_assets_test_minimizer)
{
if (buffer.size() < 2 || buffer.back() != '\n' || buffer[buffer.size() - 2] != ',') return;
const std::string str((const char*)buffer.data(), buffer.size() - 2);