mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-20 05:23:43 +00:00
Suppress spurious output
This commit is contained in:
@ -3,12 +3,38 @@
|
||||
|
||||
#include "frida-gumjs.h"
|
||||
|
||||
#include "debug.h"
|
||||
|
||||
#define UNUSED_PARAMETER(x) (void)(x)
|
||||
#define IGNORED_RETURN(x) (void)!(x)
|
||||
|
||||
guint64 util_read_address(char *key);
|
||||
|
||||
guint64 util_read_num(char *key);
|
||||
guint64 util_read_num(char *key);
|
||||
gboolean util_output_enabled(void);
|
||||
|
||||
#define FOKF(x...) \
|
||||
do { \
|
||||
\
|
||||
if (!util_output_enabled()) { break; } \
|
||||
\
|
||||
OKF(x); \
|
||||
\
|
||||
} while (0)
|
||||
|
||||
#define FWARNF(x...) \
|
||||
do { \
|
||||
\
|
||||
WARNF(x); \
|
||||
\
|
||||
} while (0)
|
||||
|
||||
#define FFATAL(x...) \
|
||||
do { \
|
||||
\
|
||||
FATAL(x); \
|
||||
\
|
||||
} while (0)
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user