File tree 2 files changed +18
-0
lines changed
2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -216,3 +216,17 @@ void inverted_partial_topological_order(
216
216
);
217
217
output.push_back (start_function);
218
218
}
219
+
220
+ void get_inverted_topological_order (
221
+ call_grapht const & call_graph,
222
+ goto_functionst const & functions,
223
+ std::vector<irep_idt>& output)
224
+ {
225
+ std::unordered_set<irep_idt,dstring_hash> processed;
226
+ for (auto const & elem : functions.function_map )
227
+ inverted_partial_topological_order (
228
+ call_graph,
229
+ elem.first ,
230
+ processed,
231
+ output);
232
+ }
Original file line number Diff line number Diff line change @@ -114,5 +114,9 @@ void inverted_partial_topological_order(
114
114
std::vector<irep_idt>& output
115
115
);
116
116
117
+ void get_inverted_topological_order (
118
+ call_grapht const & call_graph,
119
+ goto_functionst const & functions,
120
+ std::vector<irep_idt>& output);
117
121
118
122
#endif // CPROVER_ANALYSES_CALL_GRAPH_H
You can’t perform that action at this time.
0 commit comments