ESBMC
Efficient SMT-based Context-Bounded Model Checker
Loading...
Searching...
No Matches
waypoint.h
Go to the documentation of this file.
1#ifndef CPROVER_GOTO_SYMEX_WAYPOINT_H
2#define CPROVER_GOTO_SYMEX_WAYPOINT_H
3
4#include <big-int/bigint.hh>
5#include <irep2/irep2.h>
6#include <string>
7
8#define c_nonset -1
9
11{
12public:
22
23 enum Action
24 {
25 follow, // must be passed exactly once
26 avoid, // must never be passed
27 cycle // must be passed infinitely
28 };
29
30 // Parsed \result constraint for function_return waypoints.
31 // expr is an IRep2 expression tree with symbol2tc("\\result") as placeholder.
33 {
35 bool valid = false;
36 };
37
40 size_t segment_idx = 0;
41 std::string file;
42 std::string value;
43 std::string format;
46 std::string function;
51};
52
53#endif
Definition bigint.hh:58
Definition irep_idt.h:12
Definition waypoint.h:11
Action
Definition waypoint.h:24
@ cycle
Definition waypoint.h:27
@ avoid
Definition waypoint.h:26
@ follow
Definition waypoint.h:25
parsed_constraintt parsed_cond
Definition waypoint.h:50
std::string function
Definition waypoint.h:46
Type
Definition waypoint.h:14
@ branching
Definition waypoint.h:19
@ function_return
Definition waypoint.h:18
@ target
Definition waypoint.h:16
@ unknown
Definition waypoint.h:20
@ assumption
Definition waypoint.h:15
@ function_enter
Definition waypoint.h:17
Action action
Definition waypoint.h:39
std::string file
Definition waypoint.h:41
irep_idt column_id
Definition waypoint.h:48
size_t segment_idx
Definition waypoint.h:40
irep_idt line_id
Definition waypoint.h:47
Type type
Definition waypoint.h:38
std::string value
Definition waypoint.h:42
irep_idt function_id
Definition waypoint.h:49
BigInt line
Definition waypoint.h:44
BigInt column
Definition waypoint.h:45
std::string format
Definition waypoint.h:43
Classes and definitions for non-stringy internal representation.
irep_container< expr2t > expr2tc
Definition irep2.h:431
Definition waypoint.h:33
bool valid
Definition waypoint.h:35
expr2tc expr
Definition waypoint.h:34
#define c_nonset
Definition waypoint.h:8