Comments (3)
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.
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.
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)
- [Bug] gef-remote disconnects when follow-fork-mode is set to child HOT 2
- Make `reset_architecture` accessible via command HOT 4
- [CI] Add check to GEF to validate GEF-Extras too HOT 1
- [Bug] Launching Chrome with GEF is 50x (or more) slower than normal GDB HOT 4
- [Bug] 不能运行,一堆问题 HOT 1
- register_external_context_pane shouldn't change context.layout HOT 2
- Can gef be able to do heap analysis for core file ? HOT 1
- gef invoked oom-killer for core file from a mem-leak process HOT 7
- how to use gef-remote command when debuging by gdb-multiarch, and target is localhost:1234 HOT 1
- Permission Error while loading gef in GDB HOT 1
- display ascii char with x/c command HOT 2
- how to show filename:lineNumber in trace view ? HOT 4
- [Bug] vmmap command not showing memory regions of QEMU emulated x86-64 binary HOT 2
- any possible to add vmmap to show kernel memory in qemu? HOT 6
- bp_prefix not set on breakpoints declared with function name instead of hex_address ( HOT 5
- [Bug] Weird memory mapping with rr replay HOT 3
- [Bug] pyenv site_packages_dir assertion fails when setting multiple python versions in pyenv HOT 5
- [Bug] Prerequisite `readelf` and `file` should be listed in document explicitly for mac users HOT 1
- [Bug] gef is slow while debugging kernel in qemu HOT 1
- [Bug] Changes made in commit #81ee52d mean that register order is no longer maintained in `context` HOT 3
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 gef.