Comments (8)
Did you call it with an 'asminst=True' parameter?
from angr-utils.
Did you call it with an 'asminst=True' parameter?
yes, I follow the example in readme as it is
from angr-utils.
Just for a smoketest, I've tried with the latest version of angr, and it is working for me.
Could you try what happens with 'vexinst=True'?
Do you see vex instructions in the plotted graph?
This is where the assembly instructions are generated:
https://github.com/axt/bingraphvis/blob/master/bingraphvis/angr/content.py#L258-L263
Could you try to run this
self.project.factory.block(addr=0x4005c5, num_inst=1).capstone.insns
and check if it gives back any instruction.
If not, I would suspect something is wrong with your capstone installation. If that's the case, probably the angr community can help.
from angr-utils.
'vexinst=True' don't see vex instructions in the plotted graph
but self.project.factory.block(addr=0x4005c5, num_inst=1).capstone.insns
was gives:
Thanks for your help, i will debug the source code
from angr-utils.
Could you solve it? I'm curious what was/is the problem.
from angr-utils.
I'm sorry, i can't solve it,I don't know where is the problem.
from angr-utils.
I'm sorry to hear that. Not sure how to help.
Did you check that the codes I linked above were executed?
If yes, then you should check the 'n.content' map here:
https://github.com/axt/bingraphvis/blob/master/bingraphvis/output.py#L120
If no, then you should check the 'self.content' map here:
https://github.com/axt/bingraphvis/blob/master/bingraphvis/base.py#L285
In both cases it should have a 'head' and an 'asm' key in it.
If you install the libs in an editable way, 'pip install -e ./bingraphvis' then you simply just can add some print functions to those lines.
from angr-utils.
I am running into the same issue. I added the print statements in both places. Both locations have a head and asm key.
Any other obvious things to check?
from angr-utils.
Related Issues (20)
- plot_cfg not working HOT 3
- how to speed up cfg_path HOT 1
- Getting error while running examples HOT 5
- WARNING | 2018-07-16 17:19:33,677 | angr.analyses.disassembly_utils | Your version of capstone does not support MIPS instruction groups. HOT 2
- No module named "expr" HOT 3
- Multiple duplicated CFG in a graph HOT 2
- RuntimeError when running angrutils.plot_ddg_data(ddg.simplified_data_graph, xxx) HOT 2
- Getting VEX-IR of a function HOT 1
- Save CFG to a file instead of rendering in new window HOT 2
- plot_cfg(): Plotted CFG is not readable HOT 2
- DDG example HOT 1
- Are there limitations to plot_cfg()? HOT 2
- can't generate graph HOT 1
- Is there a way to walk a dissasembly graph? HOT 2
- graph is not getting generated HOT 1
- No module named 'angrutils' HOT 1
- AttributeError: 'XRef' object has no attribute 'sort' HOT 5
- I got an error when I was import angr HOT 3
- Regarding CFG construction 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 angr-utils.