Comments (4)
There are two ways:
- Add the
simuvex.options.OPTIMIZE_IR
option to the state withstate.options.add(simuvex.options.OPTIMIZE_IR)
, then when that state is stepped forward, angr will have VEX optimize the IR. - After stepping your path forward, use
path.state.se.simplify()
, after whichpath.state.se.constraints
will be the simplified constraints that you're looking for.
The two work on different levels, and it's probably best to use both.
from simuvex.
You can use state.se.simplify()
to simplify the state constraints. It should be able to reduce trivial cases like that.
from simuvex.
from simuvex.
this was resolved via email
from simuvex.
Related Issues (20)
- Error while analyzing statement... HOT 2
- Zero-filling support in paged memory initialization HOT 1
- Address trace when breakpoint is triggered HOT 1
- Instruction prefixes not handled correctly HOT 2
- SimType parsing really can't handle anonymous structs
- stuck in fgets() SimProcedure? HOT 5
- Warning: not all DLLs were found! This build is not appropriate for a binary distribution HOT 2
- Register name not found via translate_register_name HOT 3
- Pip installation fails on Simuvex (Ubuntu 16.04 LTS) HOT 8
- Memory.store HOT 1
- A call breakpoint does not seem to trigger HOT 1
- SimValueError while constructing CFG
- Some Unmatched operations
- Need help in evaluating the difficulty of solving constraints HOT 5
- Possible bug in SimConcretizationStrategySingle HOT 1
- Error in initial_state.mem HOT 3
- about abstraction of libc procedures
- SimPagedMemory throwing AttributeError in concrete_parts() and dbg_print() HOT 1
- fgets breaks with blank lines HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simuvex.