chc.invariants.CNonRelationalValue module
Base class and subclasses
Base class for all non-relational values. |
|
Symbolic expression (consisting of symbolic constants). |
|
Bound expressed by symbolic values. |
|
Numerical interval value. |
|
Symbolic base with numerical offset (interval) value. |
|
Set of symbolic memory regions. |
|
Set of initialized variables. |
|
State machine (currently not used). |
Different types of non-relational values used in invariants.
- class chc.invariants.CNonRelationalValue.CNRVBaseOffsetValue(invd: CFunInvDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]
Bases:
chc.invariants.CNonRelationalValue.CNonRelationalValueSymbolic base with numerical offset (interval) value.
- property addresstype: str
- property canbenull: bool
- property is_base_offset_value: bool
- property lowerbound: Optional[CXNumerical]
- property offsetvalue: CXNumerical
- property upperbound: Optional[CXNumerical]
- property xpr: CXXpr
- class chc.invariants.CNonRelationalValue.CNRVInitializedSet(invd: CFunInvDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]
Bases:
chc.invariants.CNonRelationalValue.CNonRelationalValueSet of initialized variables.
- property is_initialized_set: bool
- property symbols: List[CXSymbol]
- class chc.invariants.CNonRelationalValue.CNRVIntervalValue(invd: CFunInvDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]
Bases:
chc.invariants.CNonRelationalValue.CNonRelationalValueNumerical interval value.
- property is_interval_value: bool
- property lowerbound: Optional[CXNumerical]
- property upperbound: Optional[CXNumerical]
- property value: CXNumerical
- class chc.invariants.CNonRelationalValue.CNRVPolicyStateSet(invd: CFunInvDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]
Bases:
chc.invariants.CNonRelationalValue.CNonRelationalValueState machine (currently not used).
- property is_policy_state_set: bool
- property symbols: List[CXSymbol]
- class chc.invariants.CNonRelationalValue.CNRVRegionSet(invd: CFunInvDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]
Bases:
chc.invariants.CNonRelationalValue.CNonRelationalValueSet of symbolic memory regions.
- property is_region_set: bool
- property regions: List[CXSymbol]
- property size: int
- class chc.invariants.CNonRelationalValue.CNRVSymbolicBound(invd: CFunInvDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]
Bases:
chc.invariants.CNonRelationalValue.CNonRelationalValueBound expressed by symbolic values.
- property bound: CXprListList
- property boundtype: str
- property is_symbolic_bound: bool
- class chc.invariants.CNonRelationalValue.CNRVSymbolicExpr(invd: CFunInvDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]
Bases:
chc.invariants.CNonRelationalValue.CNonRelationalValueSymbolic expression (consisting of symbolic constants).
- property is_symbolic_expr: bool
- property xpr: CXXpr
- class chc.invariants.CNonRelationalValue.CNonRelationalValue(invd: CFunInvDictionary, ixval: chc.util.IndexedTable.IndexedTableValue)[source]
Bases:
chc.invariants.CFunDictionaryRecord.CFunInvDictionaryRecordBase class for all non-relational values.
- property is_base_offset_value: bool
- property is_initialized_set: bool
- property is_interval_value: bool
- property is_policy_state_set: bool
- property is_region_set: bool
- property is_symbolic_bound: bool
- property is_symbolic_expr: bool