Open Manouchehri opened 7 years ago
Fish wasn't able to reproduce this issue.
Will reopen after I confirm if it's not just my system.
Reopening, reproducible on a different VM (new install with angr-dev's setup.sh).
(angr) dave@xen16:~/angr-doc/examples/catalyst# python solve.py
WARNING | 2017-02-03 20:13:52,705 | angr.project | Re-hooking symbol puts
WARNING | 2017-02-03 20:13:52,706 | angr.project | Re-hooking symbol putchar
WARNING | 2017-02-03 20:13:52,706 | angr.project | Re-hooking symbol printf
Python 2.7.13 (default, Dec 18 2016, 20:19:42)
Type "copyright", "credits" or "license" for more information.
IPython 5.2.2 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: path_group
Out[1]: <PathGroup with 1 errored>
In [2]: path_group.errored
Out[2]: [<Errored Path with 16 runs (at 0x1000020, SimMemoryLimitError)>]
In [3]: e.debug() # e = path_group.errored[0]
You are currently into an embedded ipython shell,
the configuration will not be loaded.
> /root/angr-dev/simuvex/simuvex/plugins/symbolic_memory.py(323)_resolve_size_range()
322 if i > self._maximum_concrete_size:
--> 323 raise SimMemoryLimitError("Concrete size %d outside of allowable limits" % i)
324 return i, i
ipdb> up
> /root/angr-dev/simuvex/simuvex/plugins/symbolic_memory.py(488)_load()
487 # for now, we always load the maximum size
--> 488 _,max_size = self._resolve_size_range(size)
489 if options.ABSTRACT_MEMORY not in self.state.options and self.state.se.symbolic(size):
ipdb> up
> /root/angr-dev/simuvex/simuvex/storage/memory.py(715)load()
714
--> 715 a,r,c = self._load(addr_e, size_e, condition=condition_e, fallback=fallback_e)
716 add_constraints = self.state._inspect_getattr('address_concretization_add_constraints', add_constraints)
ipdb> up
> /root/angr-dev/simuvex/simuvex/s_format.py(429)_parse()
428
--> 429 fmt_xpr = self.state.memory.load(fmtstr_ptr, length)
430
ipdb> print fmtstr_ptr
<SAO <BV64 0x401088>>