Giter Site home page Giter Site logo

Comments (8)

axt avatar axt commented on May 21, 2024

Did you call it with an 'asminst=True' parameter?

from angr-utils.

ioxera avatar ioxera commented on May 21, 2024

Did you call it with an 'asminst=True' parameter?

yes, I follow the example in readme as it is

from angr-utils.

axt avatar axt commented on May 21, 2024

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.

ioxera avatar ioxera commented on May 21, 2024

'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:
image
Thanks for your help, i will debug the source code

from angr-utils.

axt avatar axt commented on May 21, 2024

Could you solve it? I'm curious what was/is the problem.

from angr-utils.

ioxera avatar ioxera commented on May 21, 2024

I'm sorry, i can't solve it,I don't know where is the problem.

from angr-utils.

axt avatar axt commented on May 21, 2024

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.

lYlantis avatar lYlantis commented on May 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.