netzob / netzob

Netzob: Protocol Reverse Engineering, Modeling and Fuzzing
GNU General Public License v3.0
760 stars 165 forks source link

Sloppy Windows port #188

Closed moomoohk closed 1 year ago

moomoohk commented 1 year ago

Added support for Windows installation. It could use some work but seems to work on my setup.

Improvements needed/points to consider:

  1. Clean up include and lib paths (need to be dynamic, currently hard coded to my setup. Could possibly use setuptools.msvc)
  2. libRelation won't be compiled since dl dependency doesn't exist on Windows as far as I can tell
  3. Figure out how to support the __attribute__((unused)) statements (they're gcc specific)
  4. Properly think about just dropping in dirent and dlfcn

To install current version:

pip install git+https://github.com/moomoohk/netzob.git
pipenv install git+https://github.com/moomoohk/netzob.git#egg=netzob