diff options
author | van Hauser <vh@thc.org> | 2020-11-30 21:54:18 +0100 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-11-30 21:54:18 +0100 |
commit | e769102491a4a5aa90afe57cce48211338133d3f (patch) | |
tree | 3f5a3003ae4ca5451edd023ab116be3ce91f76d9 /include/debug.h | |
parent | 1b75cc9f742ca6f5c95788269c66c346036b7233 (diff) | |
download | afl++-e769102491a4a5aa90afe57cce48211338133d3f.tar.gz |
more DEBUGF
Diffstat (limited to 'include/debug.h')
-rw-r--r-- | include/debug.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/debug.h b/include/debug.h index e6d3c3fc..5512023c 100644 --- a/include/debug.h +++ b/include/debug.h @@ -270,6 +270,16 @@ \ } while (0) +/* Show a prefixed debug output. */ + +#define DEBUGF(x...) \ + do { \ + \ + SAYF(cMGN "[D] " cBRI "DEBUG: " cRST x); \ + SAYF(cRST ""); \ + \ + } while (0) + /* Error-checking versions of read() and write() that call RPFATAL() as appropriate. */ |