sbz / pyudis86 Goto Github PK
View Code? Open in Web Editor NEWudis86 python binding
udis86 python binding
======== pyudis86 ======== udis86 python binding for library udis86 [1] [1] http://udis86.sourceforge.net/
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?
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
$ 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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.