sysutils/py-pefile - The NetBSD Packages Collection

Python module to read and work with PE files

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

Build dependencies

pkgtools/cwrappers

Runtime dependencies

devel/py-future devel/py-setuptools lang/python38 lang/python38

Binary packages

OSArchitectureVersion
NetBSD 8.0earmv7hfpy27-pefile-2019.4.18.tgz
NetBSD 8.0earmv7hfpy36-pefile-2019.4.18.tgz
NetBSD 8.0earmv7hfpy37-pefile-2019.4.18.tgz
NetBSD 8.0earmv7hfpy38-pefile-2019.4.18.tgz
NetBSD 8.0earmv7hfpy39-pefile-2019.4.18.tgz
NetBSD 8.0earmv7hfpy37-pefile-2019.4.18.tgz
NetBSD 8.0earmv7hfpy27-pefile-2019.4.18.tgz
NetBSD 8.0earmv7hfpy36-pefile-2019.4.18.tgz
NetBSD 8.0earmv7hfpy37-pefile-2019.4.18.tgz
NetBSD 8.0earmv7hfpy38-pefile-2019.4.18.tgz
NetBSD 8.0earmv7hfpy39-pefile-2019.4.18.tgz
NetBSD 8.0earmv7hfpy36-pefile-2021.5.24.tgz
NetBSD 8.0earmv7hfpy37-pefile-2021.5.24.tgz
NetBSD 8.0earmv7hfpy38-pefile-2021.5.24.tgz
NetBSD 8.0earmv7hfpy39-pefile-2021.5.24.tgz
NetBSD 8.0i386py27-pefile-2019.4.18.tgz
NetBSD 8.0i386py36-pefile-2019.4.18.tgz
NetBSD 8.0i386py37-pefile-2019.4.18.tgz
NetBSD 8.0i386py38-pefile-2019.4.18.tgz
NetBSD 8.0i386py27-pefile-2019.4.18.tgz
NetBSD 8.0i386py36-pefile-2019.4.18.tgz
NetBSD 8.0i386py37-pefile-2019.4.18.tgz
NetBSD 8.0i386py38-pefile-2019.4.18.tgz
NetBSD 8.0i386py39-pefile-2019.4.18.tgz
NetBSD 8.0i386py27-pefile-2019.4.18.tgz
NetBSD 8.0i386py36-pefile-2019.4.18.tgz
NetBSD 8.0i386py37-pefile-2019.4.18.tgz
NetBSD 8.0i386py38-pefile-2019.4.18.tgz
NetBSD 8.0i386py39-pefile-2019.4.18.tgz
NetBSD 8.0i386py36-pefile-2021.5.24.tgz
NetBSD 8.0i386py37-pefile-2021.5.24.tgz
NetBSD 8.0i386py38-pefile-2021.5.24.tgz
NetBSD 8.0i386py39-pefile-2021.5.24.tgz
NetBSD 8.0powerpcpy27-pefile-2019.4.18.tgz
NetBSD 8.0powerpcpy36-pefile-2019.4.18.tgz
NetBSD 8.0powerpcpy37-pefile-2019.4.18.tgz
NetBSD 8.0powerpcpy38-pefile-2019.4.18.tgz
NetBSD 8.0powerpcpy27-pefile-2019.4.18.tgz
NetBSD 8.0powerpcpy36-pefile-2019.4.18.tgz
NetBSD 8.0powerpcpy37-pefile-2019.4.18.tgz
NetBSD 8.0powerpcpy38-pefile-2019.4.18.tgz
NetBSD 8.0powerpcpy39-pefile-2019.4.18.tgz
NetBSD 8.0powerpcpy27-pefile-2019.4.18.tgz
NetBSD 8.0powerpcpy36-pefile-2019.4.18.tgz
NetBSD 8.0powerpcpy37-pefile-2019.4.18.tgz
NetBSD 8.0powerpcpy38-pefile-2019.4.18.tgz
NetBSD 8.0powerpcpy39-pefile-2019.4.18.tgz
NetBSD 8.0powerpcpy27-pefile-2019.4.18.tgz
NetBSD 8.0powerpcpy36-pefile-2019.4.18.tgz
NetBSD 8.0powerpcpy37-pefile-2019.4.18.tgz
NetBSD 8.0powerpcpy38-pefile-2019.4.18.tgz
NetBSD 8.0powerpcpy39-pefile-2019.4.18.tgz
NetBSD 8.0x86_64py27-pefile-2019.4.18.tgz
NetBSD 8.0x86_64py36-pefile-2019.4.18.tgz
NetBSD 8.0x86_64py37-pefile-2019.4.18.tgz
NetBSD 8.0x86_64py38-pefile-2019.4.18.tgz
NetBSD 8.0x86_64py39-pefile-2019.4.18.tgz
NetBSD 8.0x86_64py27-pefile-2019.4.18.tgz
NetBSD 8.0x86_64py36-pefile-2019.4.18.tgz
NetBSD 8.0x86_64py37-pefile-2019.4.18.tgz
NetBSD 8.0x86_64py38-pefile-2019.4.18.tgz
NetBSD 8.0x86_64py27-pefile-2019.4.18.tgz
NetBSD 8.0x86_64py36-pefile-2019.4.18.tgz
NetBSD 8.0x86_64py37-pefile-2019.4.18.tgz
NetBSD 8.0x86_64py38-pefile-2019.4.18.tgz
NetBSD 8.0x86_64py39-pefile-2019.4.18.tgz
NetBSD 8.0x86_64py36-pefile-2021.5.24.tgz
NetBSD 8.0x86_64py37-pefile-2021.5.24.tgz
NetBSD 8.0x86_64py38-pefile-2021.5.24.tgz
NetBSD 8.0x86_64py39-pefile-2021.5.24.tgz
NetBSD 9.0aarch64py36-pefile-2021.5.24.tgz
NetBSD 9.0aarch64py37-pefile-2021.5.24.tgz
NetBSD 9.0aarch64py38-pefile-2021.5.24.tgz
NetBSD 9.0aarch64py39-pefile-2021.5.24.tgz
NetBSD 9.0aarch64py27-pefile-2019.4.18.tgz
NetBSD 9.0aarch64py36-pefile-2019.4.18.tgz
NetBSD 9.0aarch64py37-pefile-2019.4.18.tgz
NetBSD 9.0aarch64py38-pefile-2019.4.18.tgz
NetBSD 9.0aarch64py27-pefile-2019.4.18.tgz
NetBSD 9.0aarch64py36-pefile-2019.4.18.tgz
NetBSD 9.0aarch64py37-pefile-2019.4.18.tgz
NetBSD 9.0aarch64py38-pefile-2019.4.18.tgz
NetBSD 9.0aarch64py39-pefile-2019.4.18.tgz
NetBSD 9.0aarch64py27-pefile-2019.4.18.tgz
NetBSD 9.0aarch64py36-pefile-2019.4.18.tgz
NetBSD 9.0aarch64py37-pefile-2019.4.18.tgz
NetBSD 9.0aarch64py38-pefile-2019.4.18.tgz
NetBSD 9.0aarch64py39-pefile-2019.4.18.tgz
NetBSD 9.0alphapy27-pefile-2019.4.18.tgz
NetBSD 9.0alphapy36-pefile-2019.4.18.tgz
NetBSD 9.0alphapy37-pefile-2019.4.18.tgz
NetBSD 9.0alphapy38-pefile-2019.4.18.tgz
NetBSD 9.0alphapy39-pefile-2019.4.18.tgz
NetBSD 9.0alphapy36-pefile-2021.5.24.tgz
NetBSD 9.0alphapy37-pefile-2021.5.24.tgz
NetBSD 9.0alphapy38-pefile-2021.5.24.tgz
NetBSD 9.0alphapy39-pefile-2021.5.24.tgz
NetBSD 9.0earmpy36-pefile-2019.4.18.tgz
NetBSD 9.0earmpy37-pefile-2019.4.18.tgz
NetBSD 9.0earmpy38-pefile-2019.4.18.tgz
NetBSD 9.0earmpy39-pefile-2019.4.18.tgz
NetBSD 9.0earmv6hfpy27-pefile-2019.4.18.tgz
NetBSD 9.0earmv6hfpy36-pefile-2019.4.18.tgz
NetBSD 9.0earmv6hfpy37-pefile-2019.4.18.tgz
NetBSD 9.0earmv6hfpy38-pefile-2019.4.18.tgz
NetBSD 9.0earmv6hfpy27-pefile-2019.4.18.tgz
NetBSD 9.0earmv6hfpy36-pefile-2019.4.18.tgz
NetBSD 9.0earmv6hfpy37-pefile-2019.4.18.tgz
NetBSD 9.0earmv6hfpy38-pefile-2019.4.18.tgz
NetBSD 9.0earmv6hfpy39-pefile-2019.4.18.tgz
NetBSD 9.0earmv6hfpy27-pefile-2019.4.18.tgz
NetBSD 9.0earmv6hfpy36-pefile-2019.4.18.tgz
NetBSD 9.0earmv6hfpy37-pefile-2019.4.18.tgz
NetBSD 9.0earmv6hfpy38-pefile-2019.4.18.tgz
NetBSD 9.0earmv6hfpy39-pefile-2019.4.18.tgz
NetBSD 9.0earmv6hfpy27-pefile-2019.4.18.tgz
NetBSD 9.0earmv6hfpy36-pefile-2019.4.18.tgz
NetBSD 9.0earmv6hfpy37-pefile-2019.4.18.tgz
NetBSD 9.0earmv6hfpy38-pefile-2019.4.18.tgz
NetBSD 9.0earmv6hfpy39-pefile-2019.4.18.tgz
NetBSD 9.0earmv7hfpy36-pefile-2021.5.24.tgz
NetBSD 9.0earmv7hfpy37-pefile-2021.5.24.tgz
NetBSD 9.0earmv7hfpy38-pefile-2021.5.24.tgz
NetBSD 9.0earmv7hfpy39-pefile-2021.5.24.tgz
NetBSD 9.0earmv7hfpy27-pefile-2019.4.18.tgz
NetBSD 9.0earmv7hfpy36-pefile-2019.4.18.tgz
NetBSD 9.0earmv7hfpy37-pefile-2019.4.18.tgz
NetBSD 9.0earmv7hfpy38-pefile-2019.4.18.tgz
NetBSD 9.0earmv7hfpy27-pefile-2019.4.18.tgz
NetBSD 9.0earmv7hfpy36-pefile-2019.4.18.tgz
NetBSD 9.0earmv7hfpy37-pefile-2019.4.18.tgz
NetBSD 9.0earmv7hfpy38-pefile-2019.4.18.tgz
NetBSD 9.0earmv7hfpy39-pefile-2019.4.18.tgz
NetBSD 9.0earmv7hfpy27-pefile-2019.4.18.tgz
NetBSD 9.0earmv7hfpy36-pefile-2019.4.18.tgz
NetBSD 9.0earmv7hfpy37-pefile-2019.4.18.tgz
NetBSD 9.0earmv7hfpy38-pefile-2019.4.18.tgz
NetBSD 9.0earmv7hfpy39-pefile-2019.4.18.tgz
NetBSD 9.0earmv7hfpy27-pefile-2019.4.18.tgz
NetBSD 9.0earmv7hfpy36-pefile-2019.4.18.tgz
NetBSD 9.0earmv7hfpy37-pefile-2019.4.18.tgz
NetBSD 9.0earmv7hfpy38-pefile-2019.4.18.tgz
NetBSD 9.0earmv7hfpy39-pefile-2019.4.18.tgz
NetBSD 9.0earmv7hfpy27-pefile-2019.4.18.tgz
NetBSD 9.0earmv7hfpy36-pefile-2019.4.18.tgz
NetBSD 9.0earmv7hfpy37-pefile-2019.4.18.tgz
NetBSD 9.0earmv7hfpy38-pefile-2019.4.18.tgz
NetBSD 9.0earmv7hfpy39-pefile-2019.4.18.tgz
NetBSD 9.0earmv7hfpy36-pefile-2021.5.24.tgz
NetBSD 9.0earmv7hfpy37-pefile-2021.5.24.tgz
NetBSD 9.0earmv7hfpy38-pefile-2021.5.24.tgz
NetBSD 9.0earmv7hfpy39-pefile-2021.5.24.tgz
NetBSD 9.0i386py27-pefile-2019.4.18.tgz
NetBSD 9.0i386py36-pefile-2019.4.18.tgz
NetBSD 9.0i386py37-pefile-2019.4.18.tgz
NetBSD 9.0i386py38-pefile-2019.4.18.tgz
NetBSD 9.0i386py27-pefile-2019.4.18.tgz
NetBSD 9.0i386py36-pefile-2019.4.18.tgz
NetBSD 9.0i386py37-pefile-2019.4.18.tgz
NetBSD 9.0i386py38-pefile-2019.4.18.tgz
NetBSD 9.0i386py39-pefile-2019.4.18.tgz
NetBSD 9.0i386py27-pefile-2019.4.18.tgz
NetBSD 9.0i386py36-pefile-2019.4.18.tgz
NetBSD 9.0i386py37-pefile-2019.4.18.tgz
NetBSD 9.0i386py38-pefile-2019.4.18.tgz
NetBSD 9.0i386py39-pefile-2019.4.18.tgz
NetBSD 9.0i386py36-pefile-2021.5.24.tgz
NetBSD 9.0i386py37-pefile-2021.5.24.tgz
NetBSD 9.0i386py38-pefile-2021.5.24.tgz
NetBSD 9.0i386py39-pefile-2021.5.24.tgz
NetBSD 9.0mips64ebpy27-pefile-2019.4.18.tgz
NetBSD 9.0mips64ebpy36-pefile-2019.4.18.tgz
NetBSD 9.0mips64ebpy37-pefile-2019.4.18.tgz
NetBSD 9.0mips64ebpy38-pefile-2019.4.18.tgz
NetBSD 9.0mips64ebpy39-pefile-2019.4.18.tgz
NetBSD 9.0mips64ebpy27-pefile-2019.4.18.tgz
NetBSD 9.0mips64ebpy36-pefile-2019.4.18.tgz
NetBSD 9.0mips64ebpy37-pefile-2019.4.18.tgz
NetBSD 9.0mips64ebpy38-pefile-2019.4.18.tgz
NetBSD 9.0mips64ebpy27-pefile-2019.4.18.tgz
NetBSD 9.0mips64ebpy36-pefile-2019.4.18.tgz
NetBSD 9.0mips64ebpy37-pefile-2019.4.18.tgz
NetBSD 9.0mips64ebpy38-pefile-2019.4.18.tgz
NetBSD 9.0mips64ebpy39-pefile-2019.4.18.tgz
NetBSD 9.0mips64ebpy36-pefile-2021.5.24.tgz
NetBSD 9.0mips64ebpy37-pefile-2021.5.24.tgz
NetBSD 9.0mips64ebpy38-pefile-2021.5.24.tgz
NetBSD 9.0mips64ebpy39-pefile-2021.5.24.tgz
NetBSD 9.0mipselpy36-pefile-2019.4.18.tgz
NetBSD 9.0mipselpy37-pefile-2019.4.18.tgz
NetBSD 9.0mipselpy38-pefile-2019.4.18.tgz
NetBSD 9.0mipselpy39-pefile-2019.4.18.tgz
NetBSD 9.0mipselpy36-pefile-2019.4.18.tgz
NetBSD 9.0mipselpy37-pefile-2019.4.18.tgz
NetBSD 9.0mipselpy38-pefile-2019.4.18.tgz
NetBSD 9.0mipselpy39-pefile-2019.4.18.tgz
NetBSD 9.0powerpcpy27-pefile-2019.4.18.tgz
NetBSD 9.0powerpcpy36-pefile-2019.4.18.tgz
NetBSD 9.0powerpcpy37-pefile-2019.4.18.tgz
NetBSD 9.0powerpcpy38-pefile-2019.4.18.tgz
NetBSD 9.0powerpcpy39-pefile-2019.4.18.tgz
NetBSD 9.0powerpcpy27-pefile-2019.4.18.tgz
NetBSD 9.0powerpcpy36-pefile-2019.4.18.tgz
NetBSD 9.0powerpcpy37-pefile-2019.4.18.tgz
NetBSD 9.0powerpcpy38-pefile-2019.4.18.tgz
NetBSD 9.0powerpcpy27-pefile-2019.4.18.tgz
NetBSD 9.0powerpcpy36-pefile-2019.4.18.tgz
NetBSD 9.0powerpcpy37-pefile-2019.4.18.tgz
NetBSD 9.0powerpcpy38-pefile-2019.4.18.tgz
NetBSD 9.0powerpcpy39-pefile-2019.4.18.tgz
NetBSD 9.0powerpcpy27-pefile-2019.4.18.tgz
NetBSD 9.0powerpcpy36-pefile-2019.4.18.tgz
NetBSD 9.0powerpcpy37-pefile-2019.4.18.tgz
NetBSD 9.0powerpcpy38-pefile-2019.4.18.tgz
NetBSD 9.0powerpcpy39-pefile-2019.4.18.tgz
NetBSD 9.0powerpcpy27-pefile-2019.4.18.tgz
NetBSD 9.0powerpcpy36-pefile-2019.4.18.tgz
NetBSD 9.0powerpcpy37-pefile-2019.4.18.tgz
NetBSD 9.0powerpcpy38-pefile-2019.4.18.tgz
NetBSD 9.0powerpcpy39-pefile-2019.4.18.tgz
NetBSD 9.0sh3elpy36-pefile-2019.4.18.tgz
NetBSD 9.0sh3elpy37-pefile-2019.4.18.tgz
NetBSD 9.0sh3elpy38-pefile-2019.4.18.tgz
NetBSD 9.0sh3elpy39-pefile-2019.4.18.tgz
NetBSD 9.0sh3elpy36-pefile-2019.4.18.tgz
NetBSD 9.0sh3elpy37-pefile-2019.4.18.tgz
NetBSD 9.0sh3elpy38-pefile-2019.4.18.tgz
NetBSD 9.0sh3elpy39-pefile-2019.4.18.tgz
NetBSD 9.0sparc64py27-pefile-2019.4.18.tgz
NetBSD 9.0sparc64py36-pefile-2019.4.18.tgz
NetBSD 9.0sparc64py37-pefile-2019.4.18.tgz
NetBSD 9.0sparc64py38-pefile-2019.4.18.tgz
NetBSD 9.0sparc64py39-pefile-2019.4.18.tgz
NetBSD 9.0sparc64py36-pefile-2021.5.24.tgz
NetBSD 9.0sparc64py37-pefile-2021.5.24.tgz
NetBSD 9.0sparc64py38-pefile-2021.5.24.tgz
NetBSD 9.0sparc64py39-pefile-2021.5.24.tgz
NetBSD 9.0sparcpy27-pefile-2019.4.18.tgz
NetBSD 9.0sparcpy36-pefile-2019.4.18.tgz
NetBSD 9.0sparcpy37-pefile-2019.4.18.tgz
NetBSD 9.0sparcpy38-pefile-2019.4.18.tgz
NetBSD 9.0sparcpy39-pefile-2019.4.18.tgz
NetBSD 9.0sparcpy27-pefile-2019.4.18.tgz
NetBSD 9.0sparcpy36-pefile-2019.4.18.tgz
NetBSD 9.0sparcpy37-pefile-2019.4.18.tgz
NetBSD 9.0sparcpy38-pefile-2019.4.18.tgz
NetBSD 9.0sparcpy36-pefile-2019.4.18.tgz
NetBSD 9.0sparcpy37-pefile-2019.4.18.tgz
NetBSD 9.0sparcpy38-pefile-2019.4.18.tgz
NetBSD 9.0sparcpy39-pefile-2019.4.18.tgz
NetBSD 9.0sparcpy38-pefile-2021.5.24.tgz
NetBSD 9.0x86_64py27-pefile-2019.4.18.tgz
NetBSD 9.0x86_64py36-pefile-2019.4.18.tgz
NetBSD 9.0x86_64py37-pefile-2019.4.18.tgz
NetBSD 9.0x86_64py38-pefile-2019.4.18.tgz
NetBSD 9.0x86_64py39-pefile-2019.4.18.tgz
NetBSD 9.0x86_64py36-pefile-2021.5.24.tgz
NetBSD 9.0x86_64py37-pefile-2021.5.24.tgz
NetBSD 9.0x86_64py38-pefile-2021.5.24.tgz
NetBSD 9.0x86_64py39-pefile-2021.5.24.tgz
NetBSD 9.0x86_64py27-pefile-2019.4.18.tgz
NetBSD 9.0x86_64py36-pefile-2019.4.18.tgz
NetBSD 9.0x86_64py37-pefile-2019.4.18.tgz
NetBSD 9.0x86_64py38-pefile-2019.4.18.tgz
NetBSD 9.0x86_64py39-pefile-2019.4.18.tgz
NetBSD 9.0x86_64py27-pefile-2019.4.18.tgz
NetBSD 9.0x86_64py36-pefile-2019.4.18.tgz
NetBSD 9.0x86_64py37-pefile-2019.4.18.tgz
NetBSD 9.0x86_64py38-pefile-2019.4.18.tgz
NetBSD 9.0x86_64py39-pefile-2019.4.18.tgz
NetBSD 9.0x86_64py27-pefile-2019.4.18.tgz
NetBSD 9.0x86_64py36-pefile-2019.4.18.tgz
NetBSD 9.0x86_64py37-pefile-2019.4.18.tgz
NetBSD 9.0x86_64py38-pefile-2019.4.18.tgz
NetBSD 9.0x86_64py27-pefile-2019.4.18.tgz
NetBSD 9.0x86_64py36-pefile-2019.4.18.tgz
NetBSD 9.0x86_64py37-pefile-2019.4.18.tgz
NetBSD 9.0x86_64py38-pefile-2019.4.18.tgz
NetBSD 9.0x86_64py39-pefile-2019.4.18.tgz
NetBSD 9.0x86_64py36-pefile-2021.5.24.tgz
NetBSD 9.0x86_64py37-pefile-2021.5.24.tgz
NetBSD 9.0x86_64py38-pefile-2021.5.24.tgz
NetBSD 9.0x86_64py39-pefile-2021.5.24.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.