ESBMC
Efficient SMT-based Context-Bounded Model Checker
Loading...
Searching...
No Matches
exception_globals.h
Go to the documentation of this file.
1#pragma once
2
3#include <util/irep/irep.h>
4
5class contextt;
6
39{
40constexpr const char *thrown_id = "c:@__ESBMC_exc_thrown";
41constexpr const char *typeid_id = "c:@__ESBMC_exc_typeid";
42constexpr const char *value_id = "c:@__ESBMC_exc_value";
43constexpr const char *uncaught_count_id = "c:@__ESBMC_exc_uncaught_count";
44constexpr const char *site_id = "c:@__ESBMC_exc_site";
45constexpr const char *terminate_reason_id = "c:@__ESBMC_exc_terminate_reason";
46
51constexpr unsigned unattributed_site = 0;
52constexpr const char *push_handled_id = "c:@F@__ESBMC_push_handled_exception";
53constexpr const char *pop_handled_id = "c:@F@__ESBMC_pop_handled_exception";
54constexpr const char *rethrow_current_id =
55 "c:@F@__ESBMC_rethrow_current_exception";
56
66} // namespace exception_globals
67
Definition context.h:57
void create_exception_state_symbols(contextt &context)
Idempotently register the exception-state globals in context, zero-initialised (thrown=false,...
Definition exception_globals.cpp:63
Global symbols that carry the in-flight exception across the GOTO program once throw/catch dispatch i...
Definition exception_globals.h:39
constexpr const char * value_id
Definition exception_globals.h:42
constexpr const char * thrown_id
Definition exception_globals.h:40
constexpr const char * push_handled_id
Definition exception_globals.h:52
constexpr const char * rethrow_current_id
Definition exception_globals.h:54
constexpr const char * typeid_id
Definition exception_globals.h:41
constexpr const char * terminate_reason_id
Definition exception_globals.h:45
constexpr const char * pop_handled_id
Definition exception_globals.h:53
constexpr const char * uncaught_count_id
Definition exception_globals.h:43
constexpr unsigned unattributed_site
Site id for a raise no property may be attributed to: one in a hidden operational model,...
Definition exception_globals.h:51
constexpr const char * site_id
Definition exception_globals.h:44
terminate_reasont
Definition exception_globals.h:58
@ terminate_reason_noexcept
Definition exception_globals.h:61
@ terminate_reason_generic
Definition exception_globals.h:59
@ terminate_reason_uncaught
Definition exception_globals.h:60
@ terminate_reason_exception_spec
Definition exception_globals.h:62
@ terminate_reason_unwinding
Definition exception_globals.h:64
@ terminate_reason_no_active
Definition exception_globals.h:63