Skip to content

Remove --debug-level from cbmc and jbmc #6518

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions jbmc/src/jbmc/jbmc_parse_options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,6 @@ void jbmc_parse_optionst::get_command_line_options(optionst &options)
if(cmdline.isset("depth"))
options.set_option("depth", cmdline.get_value("depth"));

if(cmdline.isset("debug-level"))
options.set_option("debug-level", cmdline.get_value("debug-level"));

if(cmdline.isset("unwindset"))
options.set_option("unwindset", cmdline.get_value("unwindset"));

Expand Down
2 changes: 1 addition & 1 deletion jbmc/src/jbmc/jbmc_parse_options.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class optionst;
OPT_FUNCTIONS \
"(no-simplify)(full-slice)" \
OPT_REACHABILITY_SLICER \
"(debug-level):(no-propagation)(no-simplify-if)" \
"(no-propagation)(no-simplify-if)" \
"(document-subgoals)" \
"(object-bits):" \
"(classpath):(cp):" \
Expand Down
3 changes: 0 additions & 3 deletions src/cbmc/cbmc_parse_options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,6 @@ void cbmc_parse_optionst::get_command_line_options(optionst &options)
if(cmdline.isset("depth"))
options.set_option("depth", cmdline.get_value("depth"));

if(cmdline.isset("debug-level"))
options.set_option("debug-level", cmdline.get_value("debug-level"));

if(cmdline.isset("slice-by-trace"))
{
log.error() << "--slice-by-trace has been removed" << messaget::eom;
Expand Down
2 changes: 1 addition & 1 deletion src/cbmc/cbmc_parse_options.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class optionst;
OPT_FUNCTIONS \
"(no-simplify)(full-slice)" \
OPT_REACHABILITY_SLICER \
"(debug-level):(no-propagation)(no-simplify-if)" \
"(no-propagation)(no-simplify-if)" \
"(document-subgoals)(test-preprocessor)" \
"(show-array-constraints)" \
OPT_CONFIG_C_CPP \
Expand Down
2 changes: 0 additions & 2 deletions src/goto-symex/symex_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ struct symex_configt final

bool havoc_undefined_functions;

mp_integer debug_level;

/// \brief Should the additional validation checks be run?
/// If this flag is set the checks for renaming (both level1 and level2) are
/// executed in the goto_symex_statet (in the assignment method).
Expand Down
2 changes: 0 additions & 2 deletions src/goto-symex/symex_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ Author: Daniel Kroening, [email protected]
#include <util/mathematical_expr.h>
#include <util/replace_symbol.h>
#include <util/std_expr.h>
#include <util/string2int.h>
#include <util/symbol_table.h>

#include "path_storage.h"
Expand All @@ -43,7 +42,6 @@ symex_configt::symex_configt(const optionst &options)
partial_loops(options.get_bool_option("partial-loops")),
havoc_undefined_functions(
options.get_bool_option("havoc-undefined-functions")),
debug_level(unsafe_string2int(options.get_option("debug-level"))),
run_validation_checks(options.get_bool_option("validate-ssa-equation")),
show_symex_steps(options.get_bool_option("show-goto-symex-steps")),
show_points_to_sets(options.get_bool_option("show-points-to-sets")),
Expand Down