Comments (9)
Thanks for trying PyVEX! What version of VEX are you using? PyVEX requires
VEX 3.9, which is newer than what's shipped with Ubuntu at the moment.
- Yan
On Sun, Apr 13, 2014 at 8:31 AM, Joxean [email protected] wrote:
Hi,
I'm trying to build pyvex in Ubuntu 12.04 x86_64 with the setup recommend
in README.md. However, when I try to build it I get the following errors:$ LANG=C sh build.sh
running build
running build_ext
building 'pyvex' extension
creating build
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/pyvex
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPYVEX_STATIC=1 -I/home/joxean/devel/valgrind/valgrind-3.8.1/install/include/valgrind -I/usr/include/python2.7 -c pyvex/pyvex.c -o build/temp.linux-x86_64-2.7/pyvex/pyvex.o --std=c99
In file included from pyvex/pyvex.c:7:0:
pyvex/pyvex_enums.h:18:1: error: unknown type name 'IRLoadGOp'
pyvex/pyvex_enums.h:18:1: error: unknown type name 'IRLoadGOp'
pyvex/pyvex_enums.h:18:1: error: unknown type name 'IRLoadGOp'
pyvex/pyvex_enums.h:18:1: error: unknown type name 'IRLoadGOp'
error: command 'gcc' failed with exit status 1
cp: cannot statbuild/lib.linux-x86_64-2.7/pyvex.so': No such file or directory cp: cannot stat
pyvex.so': No such file or directoryAm I doing something wrong?
Reply to this email directly or view it on GitHubhttps://github.com//issues/6
.
from pyvex.
Hi,
VEX comes with Valgrind, right? In this case, I'm using the version that comes with Valgrind 3.8.1. I just followed the instructions here: https://github.com/zardus/pyvex/blob/master/README.md
from pyvex.
Ah! Yeah, my readme is wrong. Sorry about that! You need Valgrind 3.9.0,
not 3.8.1. I updated the readme; thanks for pointing that out :-)
On Sun, Apr 13, 2014 at 11:04 PM, Joxean [email protected] wrote:
Hi,
VEX comes with Valgrind, right? In this case, I'm using the version that
comes with Valgrind 3.8.1. I just followed the instructions here:
https://github.com/zardus/pyvex/blob/master/README.md—
Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-40335484
.
from pyvex.
Hey, thanks! I resolved this issue. However, another one arised:
pyvex/pyvex_static.c: In function 'vex_init':
pyvex/pyvex_static.c:177:26: warning: assignment from incompatible pointer type [enabled by default]
pyvex/pyvex_static.c: In function 'vex_prepare_vai':
pyvex/pyvex_static.c:214:7: error: 'VexArchInfo' has no member named 'endness'
pyvex/pyvex_static.c:219:7: error: 'VexArchInfo' has no member named 'endness'
pyvex/pyvex_static.c:224:7: error: 'VexArchInfo' has no member named 'endness'
pyvex/pyvex_static.c:232:7: error: 'VexArchInfo' has no member named 'endness'
error: command 'gcc' failed with exit status 1
Any idea?
from pyvex.
BTW, commenting out the offending lines (with a comment saying "unsure if correct") was enough to get a working build of pyvex.
from pyvex.
lol, that's definitely my fault. I was testing something with some VEX
patches I'm working on, and accidentally pushed it. Thank you for catching
that :-)
On Tue, Apr 15, 2014 at 1:38 AM, Joxean [email protected] wrote:
BTW, commenting out the offending lines (with a comment saying "unsure if
correct") was enough to get a working build of pyvex.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-40457816
.
from pyvex.
I commented out the lines. Thanks!
from pyvex.
You're welcome! BTW, just a recommendation: it would be useful to have some example or use case for it.
from pyvex.
Yeah, for sure! We are brewing up something in that direction. Stay tuned
;-)
On Thu, Apr 17, 2014 at 7:46 AM, Joxean [email protected] wrote:
You're welcome! BTW, just a recommendation: it would be useful to have
some example or use case for it.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-40721977
.
from pyvex.
Related Issues (20)
- Possibly incorrect lifting of add instructions on ArchAMD64 HOT 7
- pyvex for ARM inst. "TBB" and "TBH" HOT 2
- Default values for cc registers? HOT 5
- Is ppc / ppc64 / ppc64le supported? HOT 3
- #include <ffi.h> No Such File or Directory Even after installing libffi-dev HOT 7
- test_spotter.py depends on angr HOT 3
- Register names conflict in MIPS arch (bug) HOT 2
- How to model program termination HOT 9
- Is cortex-m supported? HOT 4
- Error when adding lifters and no max_bytes HOT 2
- Refactor build system to use cffi's setuptools extension HOT 3
- ModuleNotFoundError: No module named 'pyvex.vex_ffi' HOT 3
- Lifter fails on basic blocks containing rdsspq instruction HOT 6
- fnop instruction not lifted
- bnd jumps not lifted
- No such file or directory: '/usr/ports/security/py-pyvex/work-py39/pyvex-9.2.39/pyvex_c/libpyvex.so' HOT 3
- Limit of the number of instructions that pyvex.lift can lift each time HOT 6
- Need guidance for making some RISCV ISA fixes HOT 1
- Can't install on mips64 system HOT 3
- Lifter.lift and _lift are backwards
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 pyvex.