Source code for angr.concretization_strategies.eval
from . import SimConcretizationStrategy
[docs]class SimConcretizationStrategyEval(SimConcretizationStrategy):
"""
Concretization strategy that resolves an address into some
limited number of solutions. Always handles the concretization,
but only returns a maximum of limit number of solutions.
Therefore, should only be used as the fallback strategy.
"""
def _concretize(self, memory, addr, **kwargs):
addrs = self._eval(memory, addr, self._limit, **kwargs)
return addrs