Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/melkor.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
/* GLOBAL VARS */
FILE *logfp;
struct stat elfstatinfo;
int PAGESIZE;
unsigned int mode = 0; // Metadata to fuzz (parameters)
unsigned int orcn = 0; // OrcN inside the for() loop. fuzz_* modules will use it through different loops
unsigned int n = 5000; // Default for option -n
Expand Down
2 changes: 1 addition & 1 deletion src/melkor.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
*/
typedef int (*func_ptr)(void);

int PAGESIZE; // Set at runtime with getpagesize() in melkor.c
extern int PAGESIZE; // Set at runtime with getpagesize() in melkor.c

#ifndef PT_GNU_STACK
#define PT_GNU_STACK 0x6474e551 // Indicates executable stack
Expand Down