Giter Site home page Giter Site logo

Failed to load `unicorn-emulate' about gef HOT 3 CLOSED

hugsy avatar hugsy commented on May 7, 2024
Failed to load `unicorn-emulate'

from gef.

Comments (3)

hugsy avatar hugsy commented on May 7, 2024

You seem to have gdb + python2.7 so make sure that you can actually load unicorn from python first:

$ python2
>>> import unicorn
>>> import capstone

Sometimes capstone installs its library in /usr/local/lib which is not by default in the LD_LIBRARY_PATH.
So try:

$ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib:<add here other locations to find the libs>

Cheers

from gef.

shitl0ad avatar shitl0ad commented on May 7, 2024

Hi,
I've tried as your suggest..
import capstone >> successful

import unicorn >> can't import due to error
ImportError: No module named unicorn

  • /usr/lib64/libunicorn.a
  • /usr/lib64/libunicorn.so
  • /usr/lib64/libunicorn.so.1

then I tried,
'$ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib:/usr/lib64'

nothing happen
trying to import unicorn, still error.

Thanks

from gef.

hugsy avatar hugsy commented on May 7, 2024

Your problem is not an issue from gef but an installation issue from unicorn.

I suggest you follow very carefully the compilation & installation procedure of the project. When your install of unicorn will be successful, you will be able to use unicorn in gef. If you find a bug in the install of unicorn, I suggest you to drop an issue on the project GitHub page.

Therefore I am closing the issue.
Good luck.

from gef.

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.