ESBMC
Efficient SMT-based Context-Bounded Model Checker
Loading...
Searching...
No Matches
remove_exceptions.h
Go to the documentation of this file.
1#pragma once
2
3#include <set>
4#include <vector>
6
8class contextt;
9class namespacet;
10class optionst;
12
46 goto_functionst &goto_functions,
47 contextt &context,
48 const namespacet &ns,
49 const std::set<irep_idt> &unreported = {},
50 const std::vector<irep_idt> &checked = {});
51
55 const exception_typeidt &types,
56 const irep_idt &type,
57 const std::vector<irep_idt> &checked);
58
60std::vector<irep_idt> python_checked_exceptions(const optionst &options);
Definition context.h:57
Closed-world numeric type-id registry for symbolic exception dispatch (issue #5075).
Definition exception_typeid.h:30
Definition goto_functions.h:56
Definition irep_idt.h:12
Definition namespace.h:10
Definition options.h:11
bool checks_exception(const exception_typeidt &types, const irep_idt &type, const std::vector< irep_idt > &checked)
Whether type is a subtype of a type in checked, or checked is empty.
Definition remove_exceptions.cpp:2103
std::vector< irep_idt > python_checked_exceptions(const optionst &options)
The exception types –python-check-exceptions lists, or none without it.
Definition remove_exceptions.cpp:2167
void remove_exceptions(goto_functionst &goto_functions, contextt &context, const namespacet &ns, const std::set< irep_idt > &unreported={}, const std::vector< irep_idt > &checked={})
Lower C++/Python exception dispatch (THROW/CATCH) into ordinary guarded control flow over the global ...
Definition remove_exceptions.cpp:2146