SymbStateAccessor Type
Provides convenience helpers for a symbolic state.
Constructors
| Constructor |
Description
|
|
|
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.AllocateStackBuffer
Parameters:
int
Returns: uint64
|
Allocate a buffer from the current stack and return its address.
|
Full Usage:
this.AllocateSymbolicBuffer
Parameters:
string
length : int
nullTerminate : bool
Returns: SymbByteBuffer
|
Allocates a stack buffer and fills it with symbolic bytes.
|
Full Usage:
this.AllocateSymbolicBuffer
Parameters:
string
length : int
Returns: SymbByteBuffer
|
Allocates a stack buffer and fills it with symbolic bytes.
|
Full Usage:
this.AllocateSymbolicString
Parameters:
string
maxLength : int
Returns: SymbByteBuffer
|
Allocates a null-terminated symbolic C-string buffer on the stack.
|
|
Allocates a null-terminated symbolic C-string buffer on the stack.
|
|
Creates symbolic byte variables without writing them to memory.
|
|
|
|
|
|
Get the return value for the supported ABI.
|
Full Usage:
this.InitializeDefaultStack
|
Initialize the stack pointer with the default stack top. |
Full Usage:
this.InitializeFramePointer
|
Initialize the frame pointer with the current stack pointer. |
|
Initialize the stack pointer with the given stack top.
|
|
Pop a word-sized value from the stack.
|
|
|
|
Set an integer or pointer argument for the supported ABI.
|
|
Sets an argument register to point to a symbolic byte buffer.
|
Full Usage:
this.SetArgumentSymbolicString
Parameters:
int
name : string
maxLength : int
Returns: SymbByteBuffer
|
Allocates a symbolic C string and passes it as an argument.
|
Full Usage:
this.SetArgumentSymbolicString
Parameters:
int
name : string
Returns: SymbByteBuffer
|
Allocates a symbolic C string and passes it as an argument.
|
|
Set a register value by register ID.
|
|
Set a register value by name.
|
|
Set the current stack pointer value.
|
Full Usage:
this.StackPointer
Returns: uint64
|
Current stack pointer value.
|
|
The underlying symbolic state.
|
Full Usage:
this.TryGetConcreteRegister
Parameters:
RegisterID
Returns: Result<uint64, SymbEvalError>
|
|
|
Reads the stack pointer as a concrete address.
|
|
Pops a word-sized value from the stack without throwing on failure.
|
|
Pushes a word-sized value to the stack without throwing on failure.
|
|
Sets the stack pointer when the architecture provides one.
|
Full Usage:
this.WordBytes
Returns: int
|
Target word size in bytes.
|
|
Target word-sized register type.
|
|
|
Full Usage:
this.WriteSymbolicBuffer
Parameters:
string
addr : uint64
length : int
nullTerminate : bool
Returns: SymbByteBuffer
|
Writes a symbolic byte buffer to memory at a concrete address.
|
Full Usage:
this.WriteSymbolicBuffer
Parameters:
string
addr : uint64
length : int
Returns: SymbByteBuffer
|
Writes a symbolic byte buffer to memory at a concrete address.
|
|
Clear selected registers to zero.
|
Full Usage:
this.ZeroRegisters
Parameters:
string[]
|
Clear selected registers to zero.
|
Static members
| Static member |
Description
|
Full Usage:
SymbStateAccessor.DefaultStackTop
Returns: uint64
|
Default stack top used by symbolic states.
|
Full Usage:
SymbStateAccessor.DefaultStringBound
Returns: int
|
Default maximum symbolic C-string payload size.
|
B2R2