Skip to content

Commit e255c51

Browse files
committed
Add verbosity level to cmdline.
1 parent 5230f1f commit e255c51

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/taint-analysis/taint_config.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,12 @@ void taint_build_cmdline_from_config(
235235
else
236236
cmdline.set("lazy-methods");
237237

238+
{
239+
const auto attr_it = cfg.object.find("verbosity");
240+
if (attr_it != cfg.object.cend())
241+
cmdline.set("verbosity", attr_it->second.value);
242+
}
243+
238244
auto attr_it = cfg.object.find("program");
239245
if (attr_it == cfg.object.cend())
240246
return;

0 commit comments

Comments
 (0)