pefile-tests is a test suite for pefile. The upstream pefile project test data files are encrypted and not usable.
Note that the while the code itself is BSD-licensed, several PE files used in this test suite have multiple and sometimes undefined origins.
We are trying to document where they are coming from. They are used only for testing the pefile code.
A large number of test files are originally from https://github.com/corkami/pocs Many thanks to @angea !
-
Ensure that you are in a virtualenv and have pefile installed (either from Pypi or a local clone)
-
Install pytest:
pip install pytest
-
run the tests:
pytest tests