@@ -124,6 +124,18 @@ class ai_baset
124
124
{
125
125
}
126
126
127
+ // / Output the abstract states for a single function
128
+ // / \param ns: The namespace
129
+ // / \param function_identifier: The identifier used to find a symbol to
130
+ // / identify the \p goto_program's source language
131
+ // / \param goto_program: The goto program
132
+ // / \param out: The ostream to direct output to
133
+ virtual void output (
134
+ const namespacet &ns,
135
+ const irep_idt &function_identifier,
136
+ const goto_programt &goto_program,
137
+ std::ostream &out) const ;
138
+
127
139
// / Output the abstract states for a whole program
128
140
virtual void output (
129
141
const namespacet &ns,
@@ -139,15 +151,6 @@ class ai_baset
139
151
output (ns, goto_model.goto_functions , out);
140
152
}
141
153
142
- // / Output the abstract states for a function
143
- void output (
144
- const namespacet &ns,
145
- const goto_programt &goto_program,
146
- std::ostream &out) const
147
- {
148
- output (ns, " " , goto_program, out);
149
- }
150
-
151
154
// / Output the abstract states for a function
152
155
void output (
153
156
const namespacet &ns,
@@ -243,38 +246,26 @@ class ai_baset
243
246
// / entry state required by the analysis
244
247
void entry_state (const goto_functionst &goto_functions);
245
248
246
- // / Output the abstract states for a single function
247
- // / \param ns: The namespace
248
- // / \param goto_program: The goto program
249
- // / \param identifier: The identifier used to find a symbol to identify the
250
- // / source language
251
- // / \param out: The ostream to direct output to
252
- virtual void output (
253
- const namespacet &ns,
254
- const goto_programt &goto_program,
255
- const irep_idt &identifier,
256
- std::ostream &out) const ;
257
-
258
249
// / Output the abstract states for a single function as JSON
259
250
// / \param ns: The namespace
260
251
// / \param goto_program: The goto program
261
- // / \param identifier : The identifier used to find a symbol to identify the
262
- // / source language
252
+ // / \param function_identifier : The identifier used to find a symbol to
253
+ // / identify the source language
263
254
// / \return The JSON object
264
255
virtual jsont output_json (
265
256
const namespacet &ns,
266
- const irep_idt &identifier ,
257
+ const irep_idt &function_identifier ,
267
258
const goto_programt &goto_program) const ;
268
259
269
260
// / Output the abstract states for a single function as XML
270
261
// / \param ns: The namespace
271
262
// / \param goto_program: The goto program
272
- // / \param identifier : The identifier used to find a symbol to identify the
273
- // / source language
263
+ // / \param function_identifier : The identifier used to find a symbol to
264
+ // / identify the source language
274
265
// / \return The XML object
275
266
virtual xmlt output_xml (
276
267
const namespacet &ns,
277
- const irep_idt &identifier ,
268
+ const irep_idt &function_identifier ,
278
269
const goto_programt &goto_program) const ;
279
270
280
271
// / The work queue, sorted by location number
0 commit comments