We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e37d3d5 commit c6f1430Copy full SHA for c6f1430
src/goto-programs/initialize_goto_model.cpp
@@ -21,6 +21,8 @@ Author: Daniel Kroening, [email protected]
21
#include <langapi/mode.h>
22
#include <langapi/language_ui.h>
23
24
+#include <goto-programs/rebuild_goto_start_function.h>
25
+
26
#include "goto_convert_functions.h"
27
#include "read_goto_binary.h"
28
@@ -131,6 +133,20 @@ bool initialize_goto_model(
131
133
return true;
132
134
}
135
136
+ if(cmdline.isset("function"))
137
+ {
138
+ const std::string &function_id=cmdline.get_value("function");
139
+ rebuild_goto_start_functiont start_function_rebuilder(
140
+ msg.get_message_handler(),
141
+ goto_model.symbol_table,
142
+ goto_model.goto_functions);
143
144
+ if(start_function_rebuilder(function_id))
145
146
+ return 6;
147
+ }
148
149
150
msg.status() << "Generating GOTO Program" << messaget::eom;
151
152
goto_convert(
0 commit comments