Skip to content

Conversation

@kwarrick
Copy link

@kwarrick kwarrick commented Feb 9, 2015

Wanted to be able to install your project into my virtualenv, so I moved the code to a pyreil directory, updated imports, and added a setup.py.

Many thanks for this project, hope it helps.

virtualenv env
source env/bin/activate


python setup.py install
import pyreil
pyreil.x86.translate('\x90', 0x08040000)

@c01db33f
Copy link
Owner

Hmmmm. I don't seem to be able to actually install in a virtualenv using this; as capstone seems to be problematic, and doing naughty things.

Did you have issues with that as well? I guess it needs to install the native components into system locations.

@kwarrick
Copy link
Author

Ah, yes, I have a system install of capstone and then do a pip install capstone within the virtualenv, or just a python setup.py install for (py)reil.

Also, please consider this PR a template; it is not necessarily merge-worthy. I made changes to the imports you may not favor. I can of course adjust it to your liking - just say the word.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants