@@ -27,6 +27,8 @@ Module: Read Goto Programs
27
27
#include " elf_reader.h"
28
28
#include " osx_fat_reader.h"
29
29
30
+ // / Read given goto binary
31
+ // / Does not update config
30
32
bool read_goto_binary (
31
33
const std::string &filename,
32
34
goto_modelt &dest,
@@ -36,6 +38,8 @@ bool read_goto_binary(
36
38
filename, dest.symbol_table , dest.goto_functions , message_handler);
37
39
}
38
40
41
+ // / Read given goto binary
42
+ // / Does not update config
39
43
optionalt<goto_modelt>
40
44
read_goto_binary (const std::string &filename, message_handlert &message_handler)
41
45
{
@@ -50,6 +54,8 @@ read_goto_binary(const std::string &filename, message_handlert &message_handler)
50
54
return std::move (dest);
51
55
}
52
56
57
+ // / Read given goto binary
58
+ // / Does not update config
53
59
bool read_goto_binary (
54
60
const std::string &filename,
55
61
symbol_tablet &symbol_table,
@@ -206,7 +212,7 @@ bool is_goto_binary(const std::string &filename)
206
212
return false ;
207
213
}
208
214
209
- // / reads an object file
215
+ // / reads an object file, and also updates config
210
216
// / \par parameters: a file_name
211
217
// / \return true on error, false otherwise
212
218
bool read_object_and_link (
@@ -241,7 +247,7 @@ bool read_object_and_link(
241
247
return false ;
242
248
}
243
249
244
- // / reads an object file
250
+ // / reads an object file, and also updates the config
245
251
// / \par parameters: a file_name
246
252
// / \return true on error, false otherwise
247
253
bool read_object_and_link (
0 commit comments