File tree 3 files changed +13
-0
lines changed
3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -720,6 +720,8 @@ int cbmc_parse_optionst::get_goto_program(
720
720
show_goto_functions (ns, get_ui (), goto_functions);
721
721
return 0 ;
722
722
}
723
+
724
+ status () << config.object_bits_info () << eom;
723
725
}
724
726
725
727
catch (const char *e)
Original file line number Diff line number Diff line change @@ -1194,6 +1194,16 @@ void configt::set_object_bits_from_symbol_table(
1194
1194
}
1195
1195
}
1196
1196
1197
+ std::string configt::object_bits_info ()
1198
+ {
1199
+ return " Running with " +std::to_string (bv_encoding.object_bits )+
1200
+ " object bits, " +
1201
+ std::to_string (ansi_c.pointer_width -bv_encoding.object_bits )+
1202
+ " offset bits (" +
1203
+ (bv_encoding.is_object_bits_default ? " default" : " user-specified" )+
1204
+ " )" ;
1205
+ }
1206
+
1197
1207
irep_idt configt::this_architecture ()
1198
1208
{
1199
1209
irep_idt this_arch;
Original file line number Diff line number Diff line change @@ -168,6 +168,7 @@ class configt
168
168
bool set (const cmdlinet &cmdline);
169
169
170
170
void set_object_bits_from_symbol_table (const symbol_tablet &);
171
+ std::string object_bits_info ();
171
172
172
173
static irep_idt this_architecture ();
173
174
static irep_idt this_operating_system ();
You can’t perform that action at this time.
0 commit comments