* Mostly addressing changing the `uninlined_format_args` lint which was
changed to warn-by-default in rust clippy 1.67
* Bump dependencies:
bindgen: 0.61 -> 0.63
cc: 1.0 -> 1.0.42 (Exclue versions w/incompat rayon dependency)
clap: 3.x -> 4.0
rangemap: 0.1 -> 1
xz -> xz2: move to updated version
* Add fallthrough default return to `LLVMFuzzerTestOneInput` in
**/fuzz.c to prevent Clang's -Wreturn-type
* libafl_atheris: Improve POSIX compatibility and reduce warnings
* Check for .dylib and .so libraries
* `source` -> `.` for POSIX shells
* install wheel into the venv to support newer Python packaging
standards
* `LDPRELOAD` -> `LD_PRELOAD`
16 lines
264 B
C
16 lines
264 B
C
#include <stdint.h>
|
|
#include <stdlib.h>
|
|
|
|
int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
|
|
if (Size >= 8 && *(uint32_t *)Data == 0xaabbccdd) { abort(); }
|
|
return 0;
|
|
}
|
|
|
|
/*
|
|
int main() {
|
|
|
|
char buf [10] = {0};
|
|
LLVMFuzzerTestOneInput(buf, 10);
|
|
|
|
}*/
|