Up to [cvs.NetBSD.org] / pkgsrc / sysutils / py-pefile
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Fix PLIST after py-setuptools update; bump depends and revision
py-pefile: updated to 2024.8.26 pefile 2024.8.26 Close the data attribute before reassigning it Floor division (//) does mathematical division with the floor functio… Update new dvrt type and Load Config filed adapt to Windows11 fix PE.get_data Fix ambiguous string syntax for PEid parsing regexp fixed a memory leak that caused the pe file to be access locked. Exphash from sha256 to md5 to match imphash More readable calls to superclass Fix cache_adjust_FileAlignment to work with files not aligned to 0x200 [StepSecurity] Apply security best practices Create sets using curly brackets Change IOError to OSError Apply isort to sort all imports Remove "OC Patch" comments Update tox.ini Python versions Use with statement to write to file Remove distutils use Use chaining comparison operators Replace list comprehension with set comprehension Use not in operator Replace base class name with super() Increase readability and consistency Tiny comment improvements Update oleaut32.py from oleaut32.dll Improve parse_rich_header Include ordinals for wsock32.dll Update ws2_32.py from ws2_32.dll Update pefile.py for typo Add parsing for IMAGE_DEBUG_TYPE_EX_DLLCHARACTERISTICS
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
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.
Import py27-pefile-1.2.10-139 as sysutils/py-pefile (from wip) 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