Skip to content
This repository has been archived by the owner on May 18, 2022. It is now read-only.

Possible bug in SimConcretizationStrategySingle #147

Open
jarsp opened this issue Jul 10, 2017 · 1 comment
Open

Possible bug in SimConcretizationStrategySingle #147

jarsp opened this issue Jul 10, 2017 · 1 comment
Assignees
Labels

Comments

@jarsp
Copy link

jarsp commented Jul 10, 2017

The _concretize function in concretization_strategies/single.py checks for exactly 0 solutions instead of exactly 1 solution:

Original:

    def _concretize(self, memory, addr):
        addrs = self._eval(memory, addr, 2)
        if len(addrs) == 0:
            return addrs

Probably intended:

    def _concretize(self, memory, addr):
        addrs = self._eval(memory, addr, 2)
        if len(addrs) == 1:
            return addrs
@ltfish
Copy link
Member

ltfish commented Jul 10, 2017

lol. You are right. This will be fixed in angr's wip/the_end_times branch.

@ltfish ltfish added the bug label Jul 10, 2017
@ltfish ltfish self-assigned this Jul 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants