Source release v3.5.0
This commit is contained in:
10
oemcrypto/test/fuzz_tests/sample_test.cc
Normal file
10
oemcrypto/test/fuzz_tests/sample_test.cc
Normal file
@@ -0,0 +1,10 @@
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
|
||||
if (size > 0 && data[0] == 'H')
|
||||
if (size > 1 && data[1] == 'I')
|
||||
if (size > 2 && data[2] == '!')
|
||||
__builtin_trap();
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user