mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-11 09:41:35 +00:00
Changes to fix persistent_ret demo
This commit is contained in:
parent
17fc44d995
commit
5f6bbc7dea
@ -16,12 +16,6 @@
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#ifdef __APPLE__
|
||||
#define MAIN_SECTION
|
||||
#else
|
||||
#define MAIN_SECTION __attribute__((section(".main")))
|
||||
#endif
|
||||
|
||||
void LLVMFuzzerTestOneInput(char *buf, int len) {
|
||||
|
||||
printf (">>> LLVMFuzzerTestOneInput >>>\n");
|
||||
@ -44,7 +38,7 @@ void slow() {
|
||||
|
||||
}
|
||||
|
||||
MAIN_SECTION int main(int argc, char **argv) {
|
||||
int main(int argc, char **argv) {
|
||||
|
||||
char * file;
|
||||
int fd = -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user