Suppress spurious output

This commit is contained in:
Your Name
2021-11-09 18:29:25 +00:00
parent 8578b6b01c
commit 02e8919cbc
51 changed files with 367 additions and 387 deletions

View File

@ -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