#include <interval_domain.h>
Definition at line 23 of file interval_domain.h.
Definition at line 110 of file interval_domain.h.
Definition at line 109 of file interval_domain.h.
Definition at line 30 of file interval_domain.h.
Uses the abstract state to simplify a given expression using context- specific information.
Reimplemented from ai_domain_baset.
Definition at line 488 of file interval_domain.cpp.
Definition at line 211 of file interval_domain.cpp.
Definition at line 351 of file interval_domain.cpp.
Definition at line 358 of file interval_domain.cpp.
Definition at line 239 of file interval_domain.cpp.
Definition at line 217 of file interval_domain.cpp.
Implements ai_domain_baset.
Definition at line 72 of file interval_domain.h.
Definition at line 97 of file interval_domain.h.
Definition at line 92 of file interval_domain.h.
Implements ai_domain_baset.
Definition at line 83 of file interval_domain.h.
Sets *this to the mathematical join between the two domains.
This can be thought of as an abstract version of union; *this is increased so that it contains all of the values that are represented by b as well as its original intervals. The result is an overapproximation, for example: "[0,1]".join("[3,4]") --> "[0,4]" includes 2 which isn't in [0,1] or [3,4].
Join is used in several places, the most significant being merge, which uses it to bring together two different paths of analysis.
Definition at line 153 of file interval_domain.cpp.
Definition at line 408 of file interval_domain.cpp.
all states – the analysis doesn't use this directly (see make_entry) and domains may refuse to implement it.
Implements ai_domain_baset.
Definition at line 65 of file interval_domain.h.
Definition at line 51 of file interval_domain.h.
Reimplemented from ai_domain_baset.
Definition at line 23 of file interval_domain.cpp.
how function calls are treated: a) there is an edge from each call site to the function head b) there is an edge from the last instruction (END_FUNCTION) of the function to the instruction following the call site (this also needs to set the LHS, if applicable)
in some cases, function calls are skipped, in which case: c) there is an edge from the call instruction to the instruction after
"this" is the domain before the instruction "from" "from" is the instruction to be interpreted "to" is the next instruction (for GOTO, FUNCTION_CALL, END_FUNCTION)
PRECONDITION(from.is_dereferenceable(), "Must not be _::end()") PRECONDITION(to.is_dereferenceable(), "Must not be _::end()") PRECONDITION(are_comparable(from,to) || (from->is_function_call() || from->is_end_function())
The history aware version is used by the abstract interpreter for backwards compatability it calls the older signature
Implements ai_domain_baset.
Definition at line 59 of file interval_domain.cpp.
Definition at line 107 of file interval_domain.h.
Definition at line 113 of file interval_domain.h.
Definition at line 112 of file interval_domain.h.