
* add python grammar loader for Nautilus * fmt * fmt toml * add python to macos CI deps * install python * fmt * ci * clippy * fix workflow * fmt * fix baby nautilus * fix nautilus sync * fmt * fmt * clippy * typo * fix miri * remove pyo3 from workspace to packages which need it and make it optional * go back to AsRef<Path> for nautilus grammar loading * replace hardcoded python flags for macos build * typo * taplo fmt * revert formatting of libafl_qemu_arch * ci * typo * remove expects in NautilusContext::from_file and make them Results * remove not(miri) clause in test * try and fix python build fir ios and android * again * android * tmate * fix android build * document load_python_grammar * log if python or json when loading nautilus grammar * make nautilus optional * add nautilus as feature to forkserver_simple_nautilus
19 lines
373 B
C++
19 lines
373 B
C++
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <stdint.h>
|
|
#include <string.h>
|
|
|
|
extern "C" __declspec(dllexport) size_t
|
|
LLVMFuzzerTestOneInput(const char *data, unsigned int len) {
|
|
if (data[0] == 'b') {
|
|
if (data[1] == 'a') {
|
|
if (data[2] == 'd') {
|
|
// STATUS_ACCESS_VIOLATION
|
|
int volatile *p = 0x0;
|
|
*p = 0;
|
|
}
|
|
}
|
|
}
|
|
return 0;
|
|
}
|