Giter Site home page Giter Site logo

pyudis86's Introduction

pyudis86's People

Contributors

sbz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pyudis86's Issues

set_input_file() not implemented

Hi,

I would like to read from a file, but it seems the filename passed to set_input_file() is ignored and stdin is always used. Looking at the code, it looks like this function is not finished.

Any chance this could be implemented?

Cannot install on Windows

C:\Users\Mario\Desktop\winappdbg\trunk>pip install pyudis86
Downloading/unpacking pyudis86
  Downloading pyudis86-1.0.0.tar.gz
  Running setup.py egg_info for package pyudis86
    Traceback (most recent call last):
      File "", line 14, in 
      File "C:\Users\Mario\Desktop\winappdbg\trunk\build\pyudis86\setup.py", li
e 55, in 
        if 'bsd' in sys.platform[-1] or 'bsd' in os.uname()[0].lower():
    AttributeError: 'module' object has no attribute 'uname'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "", line 14, in 

  File "C:\Users\Mario\Desktop\winappdbg\trunk\build\pyudis86\setup.py", line 5
, in 

    if 'bsd' in sys.platform[-1] or 'bsd' in os.uname()[0].lower():

AttributeError: 'module' object has no attribute 'uname'

----------------------------------------
Command python setup.py egg_info failed with error code 1
Storing complete log in C:\Users\Mario\AppData\Roaming\pip\pip.log

Cannot install on Ubuntu 64 bits with libudis86 already installed

$ python setup.py install
running install
running build
running build_ext
building 'udis86' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DMAJOR_VERSION=1 -DMINOR_VERSION=0 -DPATCH_VERSION=0 -I/usr/local/include/ -I/usr/local/include/libudis86 -I/usr/include/python2.7 -c src/udis86_module.c -o build/temp.linux-x86_64-2.7/src/udis86_module.o -ggdb
In file included from /usr/include/python2.7/Python.h:8:0,
                 from src/udis86_module.h:32,
                 from src/udis86_module.c:30:
/usr/include/python2.7/pyconfig.h:1158:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default]
/usr/include/features.h:214:0: note: this is the location of the previous definition
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DMAJOR_VERSION=1 -DMINOR_VERSION=0 -DPATCH_VERSION=0 -I/usr/local/include/ -I/usr/local/include/libudis86 -I/usr/include/python2.7 -c src/pyudis86.c -o build/temp.linux-x86_64-2.7/src/pyudis86.o -ggdb
src/pyudis86.c: In function ‘py_udis86_set_input_file’:
src/pyudis86.c:129:12: warning: unused variable ‘file’ [-Wunused-variable]
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions build/temp.linux-x86_64-2.7/src/udis86_module.o build/temp.linux-x86_64-2.7/src/pyudis86.o -L/usr/local/lib/ -ludis86 -o build/lib.linux-x86_64-2.7/udis86.so
/usr/bin/ld: /usr/local/lib//libudis86.a(input.o): relocation R_X86_64_32S against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib//libudis86.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

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.