angr / claripy

An abstraction layer for constraint solvers.
BSD 2-Clause "Simplified" License
284 stars 93 forks source link

Fix double z3 check #399

Closed salls closed 4 months ago

salls commented 4 months ago

in some cases, such as no constraints in the state, this code was calling z3 twice for a single eval. @zardus you might want to check this is the correct way to fix it

zardus commented 4 months ago

Good catch on the empty solver double query. Don't even know how you'd think to notice that :-)