Comments (3)
Register names are resolved using this dict: https://github.com/angr/archinfo/blob/master/archinfo/arch_x86.py#L127
It looks like we don't have the partial registers there ah
, al
, etc. Adding them to that dict (and sending a PR!) should get them to display.
from simuvex.
from simuvex.
This issue has been fixed by my commit to archinfo (see here). You want to use the latest version of both PyVEX and archinfo.
Here is an example output from IPython with the latest version of everything from GitHub:
In [1]: import angr
In [2]: import archinfo
In [3]: block = angr.block.Block(addr=0, arch=archinfo.ArchX86(), byte_string="\x80\xcc\x10")
In [4]: block.vex.pp()
IRSB {
t0:Ity_I8 t1:Ity_I8 t2:Ity_I8 t3:Ity_I32 t4:Ity_I32
00 | ------ IMark(0x0, 3, 0) ------
01 | t2 = GET:I8(ah)
02 | t0 = Or8(t2,0x10)
03 | PUT(cc_op) = 0x0000000d
04 | t3 = 8Uto32(t0)
05 | PUT(cc_dep1) = t3
06 | PUT(cc_dep2) = 0x00000000
07 | PUT(cc_ndep) = 0x00000000
08 | PUT(ah) = t0
NEXT: PUT(eip) = 0x00000003; Ijk_Boring
}
from simuvex.
Related Issues (20)
- Error while analyzing statement... HOT 2
- Zero-filling support in paged memory initialization HOT 1
- can i use simuvex to simplify the statements sets generated from pyvex HOT 4
- 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
- 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.