Closed spencerwuwu closed 2 years ago
Hi! So there are two things that are wrong here, one of which is a bug and one of which you need to fix.
proj = angr.Project("file", arch='arm cortex-m', auto_load_libs=False)
Hi Audrey, Thank you for the quick response and the explanation. The solution works perfectly!
Hello VEX developers,
I am running into a problem when symbolic executing the
_Z18linear_interpolatefffff
function in this attached binary.In short the instruction I want to execute is
However, in VEX I saw that it is not getting
s3
ands4
but registers140
andd2
instead.This resulted in uninitialized registers when symbolic executing in angr, although I had assigned values in
s3
ands4
.Are there any options that I should set to make VEX use the ideal registers? Or is it a bug that can be fixed?
To reproduce, I created an angr project, built an CFG, and obtained the entry function node with the following lines:
Then I printed the instructions and VEX of this node with
node.block.pp()
andnode.block.vex.pp()
to get the contents.Thank you, Wei-Cheng