./sysutils/py-pefile, Python module to read and work with PE files

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2024.8.26, Package name: py312-pefile-2024.8.26, Maintainer: khorben

pefile is a multi-platform Python module to read and work with Portable
Executable (aka PE) files. Most of the information in the PE Header is
accessible, as well as all the sections, section's information and data.

pefile requires some basic understanding of the layout of a PE file. Armed with
it it's possible to explore nearly every single feature of the file.

Some of the tasks that pefile makes possible are:

* Modifying and writing back to the PE image
* Header Inspection
* Sections analysis
* Retrieving data
* Warnings for suspicious and malformed values
* Packer detection with PEiD's signatures
* PEiD signature generation


Required to run:
[devel/py-setuptools] [lang/python27]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 74.227 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2023-05-08 11:13:13 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-pefile: updated to 2023.2.7

v2023.2.7

This release includes Python Wheels (#341)
accept dot in valid charset for name
Remove future from dependencies
Add machine types
Incorporate PEP 238 and PEP 3120
Generate GUID fields of CV_INFO_PDB70 readable by Python
Dynamic relocations support
Add Export Hash Method
Loosen export symbol validation
   2022-11-28 19:26:03 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-pefile: updated to 2022.5.30

pefile 2022.5.30
Merged pull request 344 from elicn/faster-reloc: Speed up relocation process
Merged pull request 175 from tdube/patch-1: Fix catch-all exception clause in \ 
parse_resources_directory
Turn data into a bytearray to avoid copying data around (from elicn)
Merged pull request 343 from mat-gas/master: various performances improvements \ 
(30-50% in certain workflows, 15-25% in average)
Merged pull request 340 from dinateper/feature/PEfile_context_manager: Update PE \ 
to allow with statements
Removed legacy Python 2 code
Miscellaneous other fixes.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 13:20:30 by Nia Alarie | Files touched by this commit (630)
Log message:
sysutils: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 16:58:44 by Nia Alarie | Files touched by this commit (630)
Log message:
sysutils: Remove SHA1 hashes for distfiles
   2021-06-03 00:21:12 by Pierre Pronchery | Files touched by this commit (2) | Package updated
Log message:
py-pefile: update to version 2021.5.24

This release "incorporates the issues fixed since the last release."
It also stops supporting Python 2.7.
   2020-08-18 22:14:07 by Taylor R Campbell | Files touched by this commit (3)
Log message:
sysutils/py-pefile: Update to 2019.4.18

- 2016.3.4: Version 2016.3.4 of pefile now runs under Python 2.7 and
  Python 3 in addition to addressing a few of the long standing issues.

- 2016.3.28: Minor fixes, merged some pending pull requests.

- 2017.5.26: Maintenance release.

- 2017.8.1: Merged PRs: #180, #183, #190, #200, #202 and fixed a bug
  handling bytearrays under certain conditions.

- 2017.9.3: Merged PRs: #188, #169, #166, #165, #154, #174, and #210.
  I've also improved handling of some corner cases of files with
  invalid exports and improved the is_driver check.

- 2017.11.5: Merged PR #212 and fixed a few miscellaneous crashed
  parsing malformed files.

- 2018.8.8: This release incorporates the merged PRs and issues fixed
  since the last release.

- 2019.4.14: This release incorporates the merged PRs and issues fixed
  since the last release.

- 2019.4.18: This release incorporates the merged PRs and issues fixed
  since the last release.  These should speed up parsing of files with
  many ordinals or exports.