From 3ea8ce1c0a944d59ac46f079c09f957269ee9870 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sun, 17 Jun 2018 02:34:34 +0300 Subject: [PATCH] Obfuscator: better default parameter #2518 --- dbms/programs/obfuscator/Obfuscator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/programs/obfuscator/Obfuscator.cpp b/dbms/programs/obfuscator/Obfuscator.cpp index 56724332c16..c555ff2b6eb 100644 --- a/dbms/programs/obfuscator/Obfuscator.cpp +++ b/dbms/programs/obfuscator/Obfuscator.cpp @@ -945,7 +945,7 @@ try ("silent", po::value()->default_value(false), "don't print information messages to stderr") ("order", po::value()->default_value(5), "order of markov model to generate strings") ("frequency-cutoff", po::value()->default_value(5), "frequency cutoff for markov model: remove all buckets with count less than specified") - ("num-buckets-cutoff", po::value()->default_value(2), "cutoff for number of different possible continuations for a context: remove all histograms with less than specified number of buckets") + ("num-buckets-cutoff", po::value()->default_value(0), "cutoff for number of different possible continuations for a context: remove all histograms with less than specified number of buckets") ("frequency-add", po::value()->default_value(0), "add a constant to every count to lower probability distribution skew") ("frequency-desaturate", po::value()->default_value(0), "0..1 - move every frequency towards average to lower probability distribution skew") ("determinator-sliding-window-size", po::value()->default_value(8), "size of a sliding window in a source string - its hash is used as a seed for RNG in markov model")