We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4f9a30 commit 06a68ecCopy full SHA for 06a68ec
doc/architectural/goto-program-transformations.md
@@ -282,6 +282,11 @@ This pass removes unused functions from the goto model. In practice this builds
282
a collection of all the functions that are potentially called, and then removes
283
any function not in this collection.
284
285
+This pass cannot handle function calls via function pointers. Attempting to run
286
+this pass against a goto model which contains such a function call will result
287
+in an invariant violation. Therefore the function pointer removal pass must
288
+always be applied to the goto model before the remove unused functions pass.
289
+
290
The implementation of this pass is called via the \ref
291
remove_unused_functions(goto_modelt &, message_handlert &) function.
292
0 commit comments