mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-12 18:18:07 +00:00
Changes to fix persistent_ret demo
This commit is contained in:
@ -16,12 +16,6 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#ifdef __APPLE__
|
|
||||||
#define MAIN_SECTION
|
|
||||||
#else
|
|
||||||
#define MAIN_SECTION __attribute__((section(".main")))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void LLVMFuzzerTestOneInput(char *buf, int len) {
|
void LLVMFuzzerTestOneInput(char *buf, int len) {
|
||||||
|
|
||||||
printf (">>> LLVMFuzzerTestOneInput >>>\n");
|
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;
|
char * file;
|
||||||
int fd = -1;
|
int fd = -1;
|
||||||
|
Reference in New Issue
Block a user