module greed.memory.lambda_constraint
class LambdaConstraint
Base class for uninstantiated constraints (see the LambdaMemory class)
Extending the Theory of Arrays: memset, memcpy, and Beyond (https://llbmc.org/files/papers/VSTTE13.pdf) see 5.3 "Instantiating Quantifiers"
method __init__
method copy
method instantiate
Instantiate the constraint (on read)
Args:
index: The read index
Returns: All instantiated constraints (recursively from the LambdaConstraint hierarchy)
class LambdaMemsetConstraint
Uninstantiated memset constraint
method __init__
Args:
array: the SMT array on which the memset is appliedstart: the start indexvalue: the value to writesize: how many bytes to writenew_array: the new array (after the memset)parent: the parent LambdaConstraint
method copy
Copy the constraint (on state copy)
Args:
new_state: the new state
method instantiate
Instantiate the constraint (on read)
Args:
index: The read index
class LambdaMemsetInfiniteConstraint
Uninstantiated memset infinite constraint
method __init__
Args:
array: the SMT array on which the memset is appliedstart: the start indexvalue: the value to writenew_array: the new array (after the memset)parent: the parent LambdaConstraint
method copy
Copy the constraint (on state copy)
Args:
new_state: the new state
method instantiate
Instantiate the constraint (on read)
Args:
index: The read index
class LambdaMemcopyConstraint
Uninstantiated memcopy constraint
method __init__
Args:
array: the SMT array srcstart: the start indexsource: the source arraysource_start: the start index of the source arraysize: how many bytes to writenew_array: the SMT array target of the memcopyparent: the parent LambdaConstraint
method copy
Copy the constraint (on state copy)
Args:
new_state: the new state
method instantiate
Instantiate the constraint (on read)
Args:
index: The read index
class LambdaMemcopyInfiniteConstraint
Uninstantiated memcopy infinite constraint
method __init__
Args:
array: the SMT array srcstart: the start indexsource: the source arraysource_start: the start index of the source arraynew_array: the SMT array target of the memcopyparent: the parent LambdaConstraint
method copy
Copy the constraint (on state copy)
Args:
new_state: the new state
method instantiate
Instantiate the constraint (on read)
Args:
index: The read index
This file was automatically generated via lazydocs.