Skip to content

Commit 37b868a

Browse files
authored
Merge pull request #251 from diffblue/feature/revert-recording-symbol-table
Revert security-scanner version of recording symbol table
2 parents e83e307 + c4ed1ae commit 37b868a

40 files changed

+191
-674
lines changed

src/analyses/is_threaded.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class is_threaded_domaint:public ai_domain_baset
8585
void is_threadedt::compute(const goto_functionst &goto_functions)
8686
{
8787
// the analysis doesn't actually use the namespace, fake one
88-
concrete_symbol_tablet symbol_table;
88+
symbol_tablet symbol_table;
8989
const namespacet ns(symbol_table);
9090

9191
ait<is_threaded_domaint> is_threaded_analysis;

src/ansi-c/ansi_c_language.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ bool ansi_c_languaget::typecheck(
106106
symbol_tablet &symbol_table,
107107
const std::string &module)
108108
{
109-
concrete_symbol_tablet new_symbol_table;
109+
symbol_tablet new_symbol_table;
110110

111111
if(ansi_c_typecheck(
112112
parse_tree,

src/ansi-c/ansi_c_typecheck.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ bool ansi_c_typecheck(
4242
const unsigned errors_before=
4343
message_handler.get_message_count(messaget::M_ERROR);
4444

45-
concrete_symbol_tablet symbol_table;
45+
symbol_tablet symbol_table;
4646
ansi_c_parse_treet ansi_c_parse_tree;
4747

4848
ansi_c_typecheckt ansi_c_typecheck(

src/ansi-c/type2name.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,6 @@ std::string type2name(const typet &type, const namespacet &ns)
269269

270270
std::string type2name(const typet &type)
271271
{
272-
concrete_symbol_tablet symbol_table;
272+
symbol_tablet symbol_table;
273273
return type2name(type, namespacet(symbol_table));
274274
}

src/cbmc/bmc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class bmct:public safety_checkert
6868

6969
protected:
7070
const optionst &options;
71-
concrete_symbol_tablet new_symbol_table;
71+
symbol_tablet new_symbol_table;
7272
namespacet ns;
7373
symex_target_equationt equation;
7474
symex_bmct symex;

src/cpp/cpp_language.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ bool cpp_languaget::typecheck(
126126
if(module=="")
127127
return false;
128128

129-
concrete_symbol_tablet new_symbol_table;
129+
symbol_tablet new_symbol_table;
130130

131131
if(cpp_typecheck(
132132
cpp_parse_tree, new_symbol_table, module, get_message_handler()))

src/cpp/cpp_typecheck.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ bool cpp_typecheck(
102102
const unsigned errors_before=
103103
message_handler.get_message_count(messaget::M_ERROR);
104104

105-
concrete_symbol_tablet symbol_table;
105+
symbol_tablet symbol_table;
106106
cpp_parse_treet cpp_parse_tree;
107107

108108
cpp_typecheckt cpp_typecheck(cpp_parse_tree, symbol_table,

src/goto-cc/linker_script_merge.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ int linker_script_merget::add_linker_script_definitions()
5353
return fail;
5454
}
5555

56-
concrete_symbol_tablet original_st;
56+
symbol_tablet original_st;
5757
goto_functionst original_gf;
5858
fail=read_goto_binary(goto_file, original_st, original_gf,
5959
get_message_handler());

src/goto-instrument/dump_c.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ void dump_ct::operator()(std::ostream &os)
4646

4747
// add copies of struct types when ID_C_transparent_union is only
4848
// annotated to parameter
49-
concrete_symbol_tablet symbols_transparent;
49+
symbol_tablet symbols_transparent;
5050
for(const auto &named_symbol : copied_symbol_table.symbols)
5151
{
5252
const symbolt &symbol=named_symbol.second;

src/goto-instrument/dump_c_class.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class dump_ct
4848

4949
protected:
5050
const goto_functionst &goto_functions;
51-
concrete_symbol_tablet copied_symbol_table;
51+
symbol_tablet copied_symbol_table;
5252
const namespacet ns;
5353
std::unique_ptr<languaget> language;
5454
const bool harness;

0 commit comments

Comments
 (0)