Skip to content

Commit 5952f6a

Browse files
author
kroening
committed
NULL_is_zero from/to symbol_table
git-svn-id: svn+ssh://svn.cprover.org/srv/svn/cbmc/trunk@3616 6afb6bc1-c8e4-404c-8f48-9ae832c5b171
1 parent 01977ac commit 5952f6a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/ansi-c/ansi_c_internal_additions.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -300,4 +300,5 @@ void ansi_c_architecture_strings(std::string &code)
300300
code+=architecture_string(config.ansi_c.long_double_width, "long_double_width");
301301
code+=architecture_string(config.ansi_c.wchar_t_width, "wchar_t_width");
302302
code+=architecture_string(config.ansi_c.endianness, "endianness");
303+
code+=architecture_string(config.ansi_c.NULL_is_zero, "NULL_is_zero");
303304
}

src/util/config.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -1048,6 +1048,9 @@ void configt::ansi_ct::set_from_symbol_table(const symbol_tablet &symbol_table)
10481048

10491049
//memory_operand_size=from_ns(ns, "memory_operand_size");
10501050
memory_operand_size=int_width/8;
1051+
1052+
//NULL_is_zero=from_ns("NULL_is_zero");
1053+
NULL_is_zero=true;
10511054
}
10521055

10531056
/*******************************************************************\

0 commit comments

Comments
 (0)