Use any installed VC compiler to build the Python package.

The distutils C compiler support is intended for building Python
extension modules. These modules need to be built with the same
compiler version than the Python interpreter was built in Windows. For
Python 2.7 this would be Visual C++ from 2007.

Distorm3 builds a native DLL which is used by ctypes in Python so it is
not bound by these restrictions.

Change the setup to use any installed Visual C++ and build the DLL using
the solution file.

This reduces configuration duplication and removes the need to find a
10-year-old compiler.
1 file changed
tree: 6e1e91ce793873ae54274847f1c6350ec73e1537
  1. disOps/
  2. examples/
  3. include/
  4. make/
  5. python/
  6. src/
  7. COPYING
  8. MANIFEST
  9. MANIFEST.in
  10. README.md
  11. setup.cfg
  12. setup.py
README.md

Powerful Disassembler Library For x86/AMD64

Welcome to the diStorm3 binary stream disassembler library project.

diStorm3 is really a decomposer, which means it takes an instruction and returns a binary structure which describes it rather than static text, which is great for advanced binary code analysis.

diStorm3 is super lightweight (~45KB), ultra fast and easy to use (a single API)!

“We benchmarked five popular open-source disassembly libraries and chose diStorm3, which had the best performance (and furthermore, has complete 64-bit support).”, July 2014, Quoting David Williams-King in his Thesis about Binary Shuffling.

diStorm3.3.3 is now licensed under BSD!

RTFM, the wiki has plenty of info.