From bc72442bcb29ea187960a03684223374be8de52e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1aki=20Baz=20Castillo?= Date: Wed, 28 Feb 2024 15:40:09 +0100 Subject: [PATCH] cosmetic --- doc/Fuzzer.md | 10 +++++----- worker/fuzzer/src/fuzzer.cpp | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/doc/Fuzzer.md b/doc/Fuzzer.md index ef05f406ef..0e94468faa 100644 --- a/doc/Fuzzer.md +++ b/doc/Fuzzer.md @@ -39,11 +39,11 @@ For memory leak detection enable the following environment variable: The mediasoup-worker fuzzer reads some custom environment variables to decide which kind of fuzzing perform: -- `MS_FUZZ_STUN=1`: Do STUN fuzzing. -- `MS_FUZZ_DTLS=1`: Do DTLS fuzzing. -- `MS_FUZZ_RTP=1`: Do RTP fuzzing. -- `MS_FUZZ_RTCP=1`: Do RTCP fuzzing. -- `MS_FUZZ_UTILS=1`: Do C++ utils fuzzing. +- `MS_FUZZ_STUN=1`: Enable STUN fuzzer. +- `MS_FUZZ_DTLS=1`: Enable DTLS fuzzer. +- `MS_FUZZ_RTP=1`: Enable RTP fuzzer. +- `MS_FUZZ_RTCP=1`: Enable RTCP fuzzer. +- `MS_FUZZ_UTILS=1`: Enable C++ utils fuzzer. - If none of them is given, then **all** fuzzers are enabled. The log level can also be set by setting the `MS_FUZZ_LOG_LEVEL` environment variable to "debug", "warn" or "error" (it is "none" if unset). diff --git a/worker/fuzzer/src/fuzzer.cpp b/worker/fuzzer/src/fuzzer.cpp index c5a89b1702..403ef2c417 100644 --- a/worker/fuzzer/src/fuzzer.cpp +++ b/worker/fuzzer/src/fuzzer.cpp @@ -96,31 +96,31 @@ int Init() if (std::getenv("MS_FUZZ_STUN") && std::string(std::getenv("MS_FUZZ_STUN")) == "1") { - std::cout << "[fuzzer] STUN fuzzers enabled" << std::endl; + std::cout << "[fuzzer] STUN fuzzer enabled" << std::endl; fuzzStun = true; } if (std::getenv("MS_FUZZ_DTLS") && std::string(std::getenv("MS_FUZZ_DTLS")) == "1") { - std::cout << "[fuzzer] DTLS fuzzers enabled" << std::endl; + std::cout << "[fuzzer] DTLS fuzzer enabled" << std::endl; fuzzDtls = true; } if (std::getenv("MS_FUZZ_RTP") && std::string(std::getenv("MS_FUZZ_RTP")) == "1") { - std::cout << "[fuzzer] RTP fuzzers enabled" << std::endl; + std::cout << "[fuzzer] RTP fuzzer enabled" << std::endl; fuzzRtp = true; } if (std::getenv("MS_FUZZ_RTCP") && std::string(std::getenv("MS_FUZZ_RTCP")) == "1") { - std::cout << "[fuzzer] RTCP fuzzers enabled" << std::endl; + std::cout << "[fuzzer] RTCP fuzzer enabled" << std::endl; fuzzRtcp = true; } if (std::getenv("MS_FUZZ_UTILS") && std::string(std::getenv("MS_FUZZ_UTILS")) == "1") { - std::cout << "[fuzzer] Utils fuzzers enabled" << std::endl; + std::cout << "[fuzzer] Utils fuzzer enabled" << std::endl; fuzzUtils = true; }