|
CBMC
|
#include <config.h>
Collaboration diagram for configt::ansi_ct:Public Types | |
| enum class | c_standardt { C89 , C99 , C11 , C17 , C23 } |
| enum class | endiannesst { NO_ENDIANNESS , IS_LITTLE_ENDIAN , IS_BIG_ENDIAN } |
| enum class | argument_evaluation_ordert { LEFT_TO_RIGHT , RIGHT_TO_LEFT } |
| enum class | ost { NO_OS , OS_LINUX , OS_MACOS , OS_WIN } |
| enum class | flavourt { NONE , ANSI , GCC , ARM , CLANG , VISUAL_STUDIO , CODEWARRIOR } |
| enum class | preprocessort { NONE , GCC , CLANG , VISUAL_STUDIO , CODEWARRIOR , ARM } |
| enum class | libt { LIB_NONE , LIB_FULL } |
| enum | malloc_failure_modet { malloc_failure_mode_none = 0 , malloc_failure_mode_return_null = 1 , malloc_failure_mode_assert_then_assume = 2 } |
Public Member Functions | |
| void | set_c89 () |
| void | set_c99 () |
| void | set_c11 () |
| void | set_c17 () |
| void | set_c23 () |
| void | set_16 () |
| void | set_32 () |
| void | set_64 () |
| void | set_LP64 () |
| int=32, long=64, pointer=64 | |
| void | set_ILP64 () |
| int=64, long=64, pointer=64 | |
| void | set_LLP64 () |
| int=32, long=32, pointer=64 | |
| void | set_ILP32 () |
| int=32, long=32, pointer=32 | |
| void | set_LP32 () |
| int=16, long=32, pointer=32 | |
| void | set_argument_evaluation_order () |
Sets the architectural parameter recording the order in which compilers evaluate the arguments of a function call from mode and arch_is_x86_family: Visual Studio evaluates right-to-left on all architectures (verified on x86, x64, arm64), GCC evaluates right-to-left on the x86 family only, and left-to-right is used in all other cases. | |
| void | set_arch_spec_i386 () |
| void | set_arch_spec_x86_64 () |
| void | set_arch_spec_power (const irep_idt &subarch) |
| void | set_arch_spec_arm (const irep_idt &subarch) |
| void | set_arch_spec_alpha () |
| void | set_arch_spec_mips (const irep_idt &subarch) |
| void | set_arch_spec_riscv64 () |
| void | set_arch_spec_s390 () |
| void | set_arch_spec_s390x () |
| void | set_arch_spec_sparc (const irep_idt &subarch) |
| void | set_arch_spec_ia64 () |
| void | set_arch_spec_x32 () |
| void | set_arch_spec_v850 () |
| Sets up the widths of variables for the Renesas V850. | |
| void | set_arch_spec_hppa () |
| void | set_arch_spec_sh4 () |
| void | set_arch_spec_loongarch64 () |
| void | set_arch_spec_emscripten () |
Static Public Member Functions | |
| static c_standardt | default_c_standard () |
| static std::string | os_to_string (ost) |
| static ost | string_to_os (const std::string &) |
Static Public Attributes | |
| static const std::size_t | default_object_bits = 8 |
|
strong |
|
strong |
|
strong |
|
static |
Definition at line 789 of file config.cpp.
|
static |
Definition at line 1340 of file config.cpp.
| void configt::ansi_ct::set_16 | ( | ) |
Definition at line 27 of file config.cpp.
| void configt::ansi_ct::set_32 | ( | ) |
Definition at line 32 of file config.cpp.
| void configt::ansi_ct::set_64 | ( | ) |
Definition at line 37 of file config.cpp.
| void configt::ansi_ct::set_arch_spec_alpha | ( | ) |
Definition at line 354 of file config.cpp.
Definition at line 306 of file config.cpp.
| void configt::ansi_ct::set_arch_spec_emscripten | ( | ) |
Definition at line 758 of file config.cpp.
| void configt::ansi_ct::set_arch_spec_hppa | ( | ) |
Definition at line 664 of file config.cpp.
| void configt::ansi_ct::set_arch_spec_i386 | ( | ) |
Definition at line 169 of file config.cpp.
| void configt::ansi_ct::set_arch_spec_ia64 | ( | ) |
Definition at line 568 of file config.cpp.
| void configt::ansi_ct::set_arch_spec_loongarch64 | ( | ) |
Definition at line 727 of file config.cpp.
Definition at line 385 of file config.cpp.
Definition at line 243 of file config.cpp.
| void configt::ansi_ct::set_arch_spec_riscv64 | ( | ) |
Definition at line 437 of file config.cpp.
| void configt::ansi_ct::set_arch_spec_s390 | ( | ) |
Definition at line 465 of file config.cpp.
| void configt::ansi_ct::set_arch_spec_s390x | ( | ) |
Definition at line 496 of file config.cpp.
| void configt::ansi_ct::set_arch_spec_sh4 | ( | ) |
Definition at line 695 of file config.cpp.
Definition at line 526 of file config.cpp.
| void configt::ansi_ct::set_arch_spec_v850 | ( | ) |
Sets up the widths of variables for the Renesas V850.
Definition at line 639 of file config.cpp.
| void configt::ansi_ct::set_arch_spec_x32 | ( | ) |
Definition at line 601 of file config.cpp.
| void configt::ansi_ct::set_arch_spec_x86_64 | ( | ) |
Definition at line 203 of file config.cpp.
| void configt::ansi_ct::set_argument_evaluation_order | ( | ) |
Sets the architectural parameter recording the order in which compilers evaluate the arguments of a function call from mode and arch_is_x86_family: Visual Studio evaluates right-to-left on all architectures (verified on x86, x64, arm64), GCC evaluates right-to-left on the x86 family only, and left-to-right is used in all other cases.
This needs to be re-invoked when either input changes; in particular, goto-cc switches mode after the architecture has been configured.
Definition at line 157 of file config.cpp.
| void configt::ansi_ct::set_ILP32 | ( | ) |
int=32, long=32, pointer=32
Definition at line 111 of file config.cpp.
| void configt::ansi_ct::set_ILP64 | ( | ) |
int=64, long=64, pointer=64
Definition at line 71 of file config.cpp.
| void configt::ansi_ct::set_LLP64 | ( | ) |
int=32, long=32, pointer=64
Definition at line 91 of file config.cpp.
| void configt::ansi_ct::set_LP32 | ( | ) |
int=16, long=32, pointer=32
Definition at line 131 of file config.cpp.
| void configt::ansi_ct::set_LP64 | ( | ) |
int=32, long=64, pointer=64
Definition at line 47 of file config.cpp.
|
static |
Definition at line 1355 of file config.cpp.
| argument_evaluation_ordert configt::ansi_ct::argument_evaluation_order |
| enum configt::ansi_ct::c_standardt configt::ansi_ct::c_standard |
|
static |
| endiannesst configt::ansi_ct::endianness |
| malloc_failure_modet configt::ansi_ct::malloc_failure_mode = malloc_failure_mode_return_null |
| std::optional<mp_integer> configt::ansi_ct::max_argc |
Maximum value of argc, which is operating-systems dependent: Windows limits the number of characters accepte by CreateProcess, and Unix systems have sysconf(ARG_MAX).
| preprocessort configt::ansi_ct::preprocessor |
| std::list<std::string> configt::ansi_ct::preprocessor_options |
| ieee_floatt::rounding_modet configt::ansi_ct::rounding_mode |