Closed MellowNight closed 1 year ago
You can use the following function
integer getSymbolicMemoryValue(MemoryAccess mem) Returns the symbolic memory value.
How can we specify the size of the getSymbolicMemory() result in python API?
Use MemoryAccess
for this.
print("symvar at the top of stack: ",
ast.unroll(
ctx.getSymbolicMemory(
MemoryAccess(ctx.getConcreteRegisterValue(ctx.registers.rsp), CPUSIZE.QWORD)
).getAst()
)
)
After processing this instruction,
I want to get the AST for the entire RCX copy on the stack.
The output of that code only yields 1 bit:
How can we specify the size of the getSymbolicMemory() result in python API?