Skip to content

Commit fc7d11a

Browse files
author
Owen Jones
committed
Fix merge problems
Two files have moved and sec_driver_parse_optionst has to provide trivial implementations of can_generate_function_body() and generate_function_body()
1 parent 78693ce commit fc7d11a

File tree

2 files changed

+24
-3
lines changed

2 files changed

+24
-3
lines changed

src/driver/sec_driver_parse_options.cpp

+16-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
#include <json/json_parser.h>
1717

18-
#include <goto-programs/convert_nondet.h>
18+
#include <goto-programs/adjust_float_expressions.h>
1919
#include <goto-programs/set_properties.h>
2020
#include <goto-programs/dead_code_elimination.h>
2121
#include <goto-programs/remove_virtual_functions.h>
@@ -26,13 +26,12 @@
2626
#include <goto-programs/read_goto_binary.h>
2727
#include <goto-programs/goto_inline.h>
2828

29-
#include <goto-symex/adjust_float_expressions.h>
30-
3129
#include <analyses/call_graph.h>
3230
#include <analyses/call_graph_helpers.h>
3331
#include <analyses/goto_check.h>
3432
#include <analyses/local_may_alias.h>
3533

34+
#include <java_bytecode/convert_java_nondet.h>
3635
#include <java_bytecode/java_utils.h>
3736
#include <java_bytecode/remove_exceptions.h>
3837
#include <java_bytecode/remove_instanceof.h>
@@ -503,6 +502,20 @@ bool sec_driver_parse_optionst::process_goto_functions(
503502
return false;
504503
}
505504

505+
bool sec_driver_parse_optionst::can_generate_function_body(const irep_idt &name)
506+
{
507+
return false;
508+
}
509+
510+
bool sec_driver_parse_optionst::generate_function_body(
511+
const irep_idt &function_name,
512+
symbol_table_baset &symbol_table,
513+
goto_functiont &function,
514+
bool body_available)
515+
{
516+
return false;
517+
}
518+
506519
/// display command line help
507520
void sec_driver_parse_optionst::help()
508521
{

src/driver/sec_driver_parse_options.h

+8
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,14 @@ class sec_driver_parse_optionst final:
6666
const optionst &options);
6767
bool process_goto_functions(goto_modelt &goto_model, const optionst &options);
6868

69+
bool can_generate_function_body(const irep_idt &name);
70+
71+
bool generate_function_body(
72+
const irep_idt &function_name,
73+
symbol_table_baset &symbol_table,
74+
goto_functiont &function,
75+
bool body_available);
76+
6977
private:
7078
ui_message_handlert ui_message_handler;
7179
std::unique_ptr<context_sensitive_value_set_analysis_drivert>

0 commit comments

Comments
 (0)