-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #454 from thk123/refactor/generalise-show-goto-fun…
…ctions-flag Replaced all instances of show-goto-functions with a define
- Loading branch information
Showing
14 changed files
with
47 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,13 +15,15 @@ Author: Daniel Kroening, [email protected] | |
#include <langapi/language_ui.h> | ||
|
||
#include <analyses/goto_check.h> | ||
#include <goto-programs/show_goto_functions.h> | ||
|
||
class goto_functionst; | ||
class optionst; | ||
|
||
#define CLOBBER_OPTIONS \ | ||
"(depth):(context-bound):(unwind):" \ | ||
GOTO_CHECK_OPTIONS \ | ||
OPT_GOTO_CHECK \ | ||
OPT_SHOW_GOTO_FUNCTIONS \ | ||
"(no-assertions)(no-assumptions)" \ | ||
"(error-label):(verbosity):(no-library)" \ | ||
"(version)" \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ Author: Daniel Kroening, [email protected] | |
#include <langapi/language_ui.h> | ||
|
||
#include <goto-programs/get_goto_model.h> | ||
#include <goto-programs/show_goto_functions.h> | ||
|
||
class bmct; | ||
class goto_functionst; | ||
|
@@ -26,7 +27,8 @@ class optionst; | |
"(classpath):(cp):(main-class):" \ | ||
"(16)(32)(64)(LP64)(ILP64)(LLP64)(ILP32)(LP32)" \ | ||
"(little-endian)(big-endian)" \ | ||
"(show-goto-functions)(show-loops)" \ | ||
OPT_SHOW_GOTO_FUNCTIONS \ | ||
"(show-loops)" \ | ||
"(show-symbol-table)(show-parse-tree)" \ | ||
"(show-properties)(show-reachable-properties)(property):" \ | ||
"(verbosity):(version)" \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ Author: Daniel Kroening, [email protected] | |
|
||
#include <langapi/language_ui.h> | ||
#include <goto-programs/goto_functions.h> | ||
#include <goto-programs/show_goto_functions.h> | ||
|
||
#include <analyses/goto_check.h> | ||
|
||
|
@@ -22,7 +23,7 @@ Author: Daniel Kroening, [email protected] | |
"(document-claims-latex)(document-claims-html)" \ | ||
"(document-properties-latex)(document-properties-html)" \ | ||
"(dump-c)(dump-cpp)(use-system-headers)(dot)(xml)" \ | ||
GOTO_CHECK_OPTIONS \ | ||
OPT_GOTO_CHECK \ | ||
/* no-X-check are deprecated and ignored */ \ | ||
"(no-bounds-check)(no-pointer-check)(no-div-by-zero-check)" \ | ||
"(no-nan-check)" \ | ||
|
@@ -43,7 +44,8 @@ Author: Daniel Kroening, [email protected] | |
"(nondet-volatile)(isr):" \ | ||
"(stack-depth):(nondet-static)" \ | ||
"(function-enter):(function-exit):(branch):" \ | ||
"(show-goto-functions)(show-value-sets)" \ | ||
OPT_SHOW_GOTO_FUNCTIONS \ | ||
"(show-value-sets)" \ | ||
"(show-global-may-alias)" \ | ||
"(show-local-bitvector-analysis)(show-custom-bitvector-analysis)" \ | ||
"(show-escape-analysis)(escape-analysis)" \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ Author: Daniel Kroening, [email protected] | |
#include <util/parse_options.h> | ||
|
||
#include <goto-programs/get_goto_model.h> | ||
#include <goto-programs/show_goto_functions.h> | ||
|
||
#include <langapi/language_ui.h> | ||
|
||
|
@@ -27,7 +28,7 @@ class optionst; | |
"(function):" \ | ||
"D:I:" \ | ||
"(depth):(context-bound):(branch-bound):(unwind):" \ | ||
GOTO_CHECK_OPTIONS \ | ||
OPT_GOTO_CHECK \ | ||
"(no-assertions)(no-assumptions)" \ | ||
"(16)(32)(64)(LP64)(ILP64)(LLP64)(ILP32)(LP32)" \ | ||
"(little-endian)(big-endian)" \ | ||
|
@@ -39,7 +40,8 @@ class optionst; | |
"(ppc-macos)(unsigned-char)" \ | ||
"(string-abstraction)(no-arch)(arch):(floatbv)(fixedbv)" \ | ||
"(round-to-nearest)(round-to-plus-inf)(round-to-minus-inf)(round-to-zero)" \ | ||
"(show-locs)(show-vcc)(show-properties)(show-goto-functions)" \ | ||
"(show-locs)(show-vcc)(show-properties)" \ | ||
OPT_SHOW_GOTO_FUNCTIONS \ | ||
"(property):(trace)(show-trace)(stop-on-fail)(eager-infeasibility)" \ | ||
"(no-simplify)(no-unwinding-assertions)(no-propagation)" | ||
// the last line is for CBMC-regression testing only | ||
|