diff options
author | Edznux <edznux@gmail.com> | 2020-10-04 14:29:50 +0200 |
---|---|---|
committer | Edznux <edznux@gmail.com> | 2020-10-04 14:29:50 +0200 |
commit | b0de6fed11d4a8de8f016f1d8db0cb19a6b96eb2 (patch) | |
tree | be37af06b0584cf45f0c5e6f4552a70bd3d4d6d0 | |
parent | ca6106a1dc5b39df9f167b3d30ea4472636564c9 (diff) | |
download | afl++-b0de6fed11d4a8de8f016f1d8db0cb19a6b96eb2.tar.gz |
Mention tags format in macro's name
-rw-r--r-- | include/config.h | 3 | ||||
-rw-r--r-- | src/afl-fuzz-statsd.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/config.h b/include/config.h index 8cdf0633..33113318 100644 --- a/include/config.h +++ b/include/config.h @@ -50,6 +50,9 @@ Server config can be adjusted with AFL_STATSD_HOST and AFL_STATSD_PORT env var. #define STATSD_DEFAULT_PORT 8125 #define STATSD_DEFAULT_HOST "127.0.0.1" +/* comment out to disable tags. */ +#define USE_DOGSTATSD_TAGS + /* If you want to have the original afl internal memory corruption checks. Disabled by default for speed. it is better to use "make ASAN_BUILD=1". */ diff --git a/src/afl-fuzz-statsd.c b/src/afl-fuzz-statsd.c index 5bd1b537..298138be 100644 --- a/src/afl-fuzz-statsd.c +++ b/src/afl-fuzz-statsd.c @@ -92,7 +92,7 @@ int statsd_format_metric(afl_state_t *afl, char *buff, size_t bufflen){ /* Metric format: <some.namespaced.name>:<value>|<type> */ - #ifdef USE_STATSD_TAGS + #ifdef USE_DOGSTATSD_TAGS /* Tags format: DogStatsD <some.namespaced.name>:<value>|<type>|#key:value,key:value,key */ |