ESBMC
Efficient SMT-based Context-Bounded Model Checker
Loading...
Searching...
No Matches
goto_binary_reader.h
Go to the documentation of this file.
1#pragma once
2
4#include <vector>
5#include <string>
6
7class context;
9
11{
12public:
18 const void *data,
19 size_t size,
20 contextt &context,
21 contextt &ignored,
22 goto_functionst *goto_functions = nullptr);
23
24 void set_functions_to_read(const std::vector<std::string> &funcs)
25 {
26 function_set.insert(funcs.begin(), funcs.end());
27 }
28
30 const std::string &path,
31 contextt &context,
32 goto_functionst &dest);
33
34private:
35 // whitelist (if not empty) of functions to read symbols of
36 std::unordered_set<std::string> function_set;
37};
Definition context.h:57
Definition goto_binary_reader.h:11
bool read_goto_binary_array(const void *data, size_t size, contextt &context, contextt &ignored, goto_functionst *goto_functions=nullptr)
Reads a bundled library blob.
Definition goto_binary_reader.cpp:10
bool read_goto_binary(const std::string &path, contextt &context, goto_functionst &dest)
Definition goto_binary_reader.cpp:23
void set_functions_to_read(const std::vector< std::string > &funcs)
Definition goto_binary_reader.h:24
Definition goto_functions.h:56
Definition path.py:1