@@ -218,15 +218,26 @@ class goto_symext
218
218
const get_goto_functiont &get_goto_function);
219
219
220
220
// / \brief Called for each step in the symbolic execution
221
+ // / This calls \ref print_symex_step to print symex's current instruction if
222
+ // / required, then \ref execute_instruction to execute the actual instruction
223
+ // / body.
224
+ // / \param get_goto_function: The delegate to retrieve function bodies (see
225
+ // / \ref get_goto_functiont)
226
+ // / \param state: Symbolic execution state for current instruction
227
+ virtual void
228
+ symex_step (const get_goto_functiont &get_goto_function, statet &state);
229
+
230
+ // / \brief Executes the instruction `state.source.pc`
221
231
// / Case-switches over the type of the instruction being executed and calls
222
232
// / another function appropriate to the instruction type, for example
223
233
// / \ref symex_function_call if the current instruction is a function call,
224
234
// / \ref symex_goto if the current instruction is a goto, etc.
225
235
// / \param get_goto_function: The delegate to retrieve function bodies (see
226
236
// / \ref get_goto_functiont)
227
237
// / \param state: Symbolic execution state for current instruction
228
- virtual void
229
- symex_step (const get_goto_functiont &get_goto_function, statet &state);
238
+ void execute_next_instruction (
239
+ const get_goto_functiont &get_goto_function,
240
+ statet &state);
230
241
231
242
// / Prints the route of symex as it walks through the code. Used for
232
243
// / debugging.
0 commit comments