284 Commits

Author SHA1 Message Date
malwarefrank 5680236717 Closes #89
Retain Kind value for DateTime resource type.
2025-02-01 04:43:39 +00:00
malwarefrank 703c9c32d0 start drafting a datetime object for deserialization 2024-10-19 02:57:15 +00:00
malwarefrank b7dd509f56 Bump version: 0.15.0 → 0.15.1 v0.15.1 2024-10-19 02:24:32 +00:00
malwarefrank 618fb8bd94 update HISTORY 2024-10-19 01:42:06 +00:00
Mast 1c4007bcd1 fix OverflowError when System.DateTime has DateTimeKind bits set 2024-10-19 01:29:05 +00:00
malwarefrank fcccdafb00 return None on invalid data len instead of IndexError 2024-04-03 23:04:59 +00:00
malwarefrank b84459023c example: iterate GUIDs 2024-03-25 02:28:21 +00:00
malwarefrank 78449d63a4 Bump version: 0.14.1 → 0.15.0 v0.15.0 2024-03-24 01:16:48 +00:00
malwarefrank be0a66c970 update HISTORY file 2024-03-24 01:15:52 +00:00
malwarefrank 0d6bd0d445 update examples 2024-03-23 05:43:53 +00:00
malwarefrank 096de1b3ac make HeapItem classes more consistent, remove sequence compatibility, and add more comment blocks 2024-03-23 03:59:39 +00:00
malwarefrank 8343640e22 fix lint and type errors 2024-03-23 03:59:39 +00:00
malwarefrank 67b794659e BREAKING CHANGE: Guid, Strings, and BinaryHeap .get() return HeapItem objects 2024-03-23 03:59:39 +00:00
malwarefrank f9bce9fe36 heap items Sequence tests 2024-03-23 03:59:39 +00:00
malwarefrank 93e2b5770d add heap item tests 2024-03-23 03:59:39 +00:00
malwarefrank f6238fb07f add CompressedInt class and generic HeapItem class with rva 2024-03-23 03:59:39 +00:00
malwarefrank 817f434666 add function to convert int to compressed int 2024-03-17 01:52:20 +00:00
malwarefrank 6446867ab8 add positional args and a (commented out) debugger option for tox testenv 2024-03-17 01:50:02 +00:00
malwarefrank b837ad6381 ci: publish to pypi using trusted publishing 2023-09-09 02:45:52 +00:00
malwarefrank 34d58da343 repository_url is deprecated 2023-09-06 03:08:37 +00:00
malwarefrank 13405b30d2 Bump version: 0.14.0 → 0.14.1 v0.14.1 2023-09-06 02:51:52 +00:00
malwarefrank a402408d1d update history 2023-09-06 02:51:47 +00:00
malwarefrank 025480b76e fix github workflow 2023-09-06 02:49:53 +00:00
malwarefrank dc77cb9007 Bump version: 0.13.0 → 0.14.0 v0.14.0 2023-09-06 02:22:48 +00:00
malwarefrank 42b7267fa5 prep history file for version bump 2023-09-06 02:16:01 +00:00
malwarefrank 7fb3ea3dab fix lint error 2023-09-06 01:43:15 +00:00
malwarefrank 2dfeeae653 add stream and table offset tests 2023-09-06 01:43:15 +00:00
malwarefrank d136d747fc add stream and mdtable offsets to example 2023-09-06 01:43:15 +00:00
malwarefrank d22cd7f3ed bugfix: some struct file offsets were accidentally rva values instead 2023-09-06 01:43:15 +00:00
malwarefrank cc80f6a762 add struct file offsets to example 2023-09-06 01:43:15 +00:00
malwarefrank 0be4eae054 fix download stats badge 2023-09-01 04:10:09 +00:00
malwarefrank 60df04de24 bugfix: mdtable run lists of size one were being ignored 2023-08-18 03:21:10 +00:00
malwarefrank 366aa880ea check that load was successful before calling getattr 2023-07-16 02:52:38 +00:00
vandir a851d18c8d Update resource.py
Fix ValueError fired before UnicodeDecodeError
2023-07-16 02:49:53 +00:00
coloursofnoise 0926feb7e4 Ensure lazy-loaded mdtable rows can handle all forms of slicing 2023-07-16 02:45:31 +00:00
coloursofnoise ba4e01bba7 Add docstrings and comments to lazy-loading changes
A few lines of code are re-arranged to be more intuitive.
2023-07-16 02:45:31 +00:00
coloursofnoise 377ce73088 Make mdtable and row loadstate instance variables 2023-07-16 02:45:31 +00:00
coloursofnoise 42db29a566 Pass lint checks 2023-07-16 02:45:31 +00:00
coloursofnoise 7c11fd4b5c Add tests for lazy loading mdtables 2023-07-16 02:45:31 +00:00
coloursofnoise 76f0b68f0a Setup lazy loading for .NET metadata tables
Some structure fields require all tables to be loaded in order to be fully
initialized.
ManifestRefRow.Implementation is one such field, so assembly resources are also
parsed lazily.
2023-07-16 02:45:31 +00:00
malwarefrank 51cc1ca631 Merge branch 'coloursofnoise:setuptools-build'
Closes #55
2023-07-12 02:05:34 +00:00
coloursofnoise 74b25f762d Update project and dependency versions to match master 2023-07-12 01:59:10 +00:00
coloursofnoise 48098727b9 Remove obsolete setup files 2023-07-12 01:59:10 +00:00
coloursofnoise 9ad791ac6f Extract bump2version config and dynamically reference version
Setuptools can extract the package version at build time, which
means there is now only one definitive source for the version.
2023-07-12 01:58:03 +00:00
coloursofnoise ceabe9daef Use tox to manage tests 2023-07-12 01:58:03 +00:00
coloursofnoise 8772868f39 Create pyproject.toml for package and build process 2023-07-12 01:58:03 +00:00
malwarefrank cf6a7b6107 Remove Python version less than 3.8
Dev dependencies require Python 3.8+
2023-07-08 03:55:12 +00:00
dependabot[bot] b05c8f4621 build(deps-dev): bump isort from 5.10.1 to 5.12.0
Bumps [isort](https://github.com/pycqa/isort) from 5.10.1 to 5.12.0.
- [Release notes](https://github.com/pycqa/isort/releases)
- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pycqa/isort/compare/5.10.1...5.12.0)

---
updated-dependencies:
- dependency-name: isort
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-08 03:42:13 +00:00
dependabot[bot] ed75c39ac2 build(deps-dev): bump mypy from 1.1.1 to 1.4.1
Bumps [mypy](https://github.com/python/mypy) from 1.1.1 to 1.4.1.
- [Commits](https://github.com/python/mypy/compare/v1.1.1...v1.4.1)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-08 03:41:55 +00:00
dependabot[bot] 1481cc78fa build(deps-dev): bump mypy from 0.991 to 1.1.1
Bumps [mypy](https://github.com/python/mypy) from 0.991 to 1.1.1.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.991...v1.1.1)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-01 05:39:43 +00:00