
* Bring back python bindings for sugar,qemu (partially revert #2005) * sugarman, won't you hurry * Test?
15 lines
314 B
C
15 lines
314 B
C
#include <stdint.h>
|
|
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
|
|
int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
|
|
// printf("Got %ld bytes.\n", Size);
|
|
if (Size >= 4 && *(uint32_t *)Data == 0xaabbccdd) { abort(); }
|
|
return 0;
|
|
}
|
|
|
|
int main() {
|
|
char buf[10] = {0};
|
|
LLVMFuzzerTestOneInput(buf, 10);
|
|
}
|