
* ngram * ctx * push stuff * passing cargo check * save stuf * add * no default * fuzzbench ready * formatt * aaaaaaaa * adaptive map * add all * chg * fix * deleting stuff * fmt * clang18 * fuck * save space * fix? * feature name * fucking nightly only * harness * fix libafl_cc --------- Co-authored-by: Dominik Maier <domenukk@gmail.com>
20 lines
369 B
C
20 lines
369 B
C
#include <stdint.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
|
|
int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
|
|
if (Size >= 8 && *(uint32_t *)Data == 0xaabbccdd) { abort(); }
|
|
char buf[8] = {'a', 'b', 'c', 'd'};
|
|
|
|
if (memcmp(Data, buf, 4) == 0) { abort(); }
|
|
return 0;
|
|
}
|
|
|
|
/*
|
|
int main() {
|
|
|
|
char buf [10] = {0};
|
|
LLVMFuzzerTestOneInput(buf, 10);
|
|
|
|
}*/
|