binary-inspector 0.2.0__tar.gz → 0.2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/.github/workflows/docs-ci.yml +5 -2
  2. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/.github/workflows/pypi-release.yml +12 -7
  3. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/.github/workflows/tests.yml +4 -2
  4. binary_inspector-0.2.1/.github/workflows/zizmor.yml +24 -0
  5. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/CHANGELOG.rst +6 -0
  6. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/PKG-INFO +3 -3
  7. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/etc/scripts/utils_requirements.py +3 -3
  8. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/requirements.txt +1 -1
  9. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/setup.cfg +3 -3
  10. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/src/binary_inspector.egg-info/PKG-INFO +3 -3
  11. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/src/binary_inspector.egg-info/SOURCES.txt +1 -0
  12. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/src/binary_inspector.egg-info/requires.txt +2 -2
  13. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/.gitattributes +0 -0
  14. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/.gitignore +0 -0
  15. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/.readthedocs.yml +0 -0
  16. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/AUTHORS.rst +0 -0
  17. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/CODE_OF_CONDUCT.rst +0 -0
  18. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/MANIFEST.in +0 -0
  19. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/Makefile +0 -0
  20. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/NOTICE +0 -0
  21. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/README.rst +0 -0
  22. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/apache-2.0.LICENSE +0 -0
  23. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/azure-pipelines.yml +0 -0
  24. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/configure +0 -0
  25. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/configure.bat +0 -0
  26. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/docs/Makefile +0 -0
  27. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/docs/make.bat +0 -0
  28. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/docs/scripts/doc8_style_check.sh +0 -0
  29. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/docs/scripts/sphinx_build_link_check.sh +0 -0
  30. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/docs/source/_static/theme_overrides.css +0 -0
  31. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/docs/source/conf.py +0 -0
  32. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/docs/source/contribute/contrib_doc.rst +0 -0
  33. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/docs/source/index.rst +0 -0
  34. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/etc/ci/azure-container-deb.yml +0 -0
  35. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/etc/ci/azure-container-rpm.yml +0 -0
  36. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/etc/ci/azure-posix.yml +0 -0
  37. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/etc/ci/azure-win.yml +0 -0
  38. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/etc/ci/install_sudo.sh +0 -0
  39. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/etc/ci/macports-ci +0 -0
  40. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/etc/ci/macports-ci.ABOUT +0 -0
  41. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/etc/ci/mit.LICENSE +0 -0
  42. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/etc/scripts/README.rst +0 -0
  43. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/etc/scripts/check_thirdparty.py +0 -0
  44. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/etc/scripts/fetch_thirdparty.py +0 -0
  45. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/etc/scripts/gen_pypi_simple.py +0 -0
  46. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/etc/scripts/gen_pypi_simple.py.ABOUT +0 -0
  47. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/etc/scripts/gen_pypi_simple.py.NOTICE +0 -0
  48. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/etc/scripts/gen_requirements.py +0 -0
  49. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/etc/scripts/gen_requirements_dev.py +0 -0
  50. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/etc/scripts/requirements.txt +0 -0
  51. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/etc/scripts/test_utils_pip_compatibility_tags.py +0 -0
  52. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/etc/scripts/test_utils_pip_compatibility_tags.py.ABOUT +0 -0
  53. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/etc/scripts/test_utils_pypi_supported_tags.py +0 -0
  54. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/etc/scripts/test_utils_pypi_supported_tags.py.ABOUT +0 -0
  55. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/etc/scripts/update_skeleton.py +0 -0
  56. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/etc/scripts/utils_dejacode.py +0 -0
  57. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/etc/scripts/utils_pip_compatibility_tags.py +0 -0
  58. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/etc/scripts/utils_pip_compatibility_tags.py.ABOUT +0 -0
  59. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/etc/scripts/utils_pypi_supported_tags.py +0 -0
  60. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/etc/scripts/utils_pypi_supported_tags.py.ABOUT +0 -0
  61. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/etc/scripts/utils_thirdparty.py +0 -0
  62. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/etc/scripts/utils_thirdparty.py.ABOUT +0 -0
  63. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/pyproject.toml +0 -0
  64. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/requirements-dev.txt +0 -0
  65. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/setup.py +0 -0
  66. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/src/binary_inspector/__init__.py +0 -0
  67. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/src/binary_inspector/binary.py +0 -0
  68. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/src/binary_inspector/blint_binary.py +0 -0
  69. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/src/binary_inspector/blint_binary.py.ABOUT +0 -0
  70. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/src/binary_inspector/blint_binary.py.LICENSE +0 -0
  71. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/src/binary_inspector/config.py +0 -0
  72. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/src/binary_inspector/plugin.py +0 -0
  73. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/src/binary_inspector.egg-info/dependency_links.txt +0 -0
  74. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/src/binary_inspector.egg-info/entry_points.txt +0 -0
  75. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/src/binary_inspector.egg-info/not-zip-safe +0 -0
  76. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/src/binary_inspector.egg-info/top_level.txt +0 -0
  77. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/tests/data/macho/Lumen +0 -0
  78. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/tests/data/macho/Lumen-symbols-plugin.json +0 -0
  79. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/tests/data/macho/Lumen-symbols.json +0 -0
  80. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/tests/data/winpe/TranslucentTB-setup.exe +0 -0
  81. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/tests/data/winpe/TranslucentTB-symbols-plugin.json +0 -0
  82. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/tests/data/winpe/TranslucentTB-symbols.json +0 -0
  83. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/tests/test_binary.py +0 -0
  84. {binary_inspector-0.2.0 → binary_inspector-0.2.1}/tests/test_plugin.py +0 -0
@@ -2,6 +2,7 @@ name: CI Documentation
2
2
 
3
3
  on: [push, pull_request]
4
4
 
5
+ permissions: {}
5
6
  jobs:
6
7
  build:
7
8
  runs-on: ubuntu-24.04
@@ -13,10 +14,12 @@ jobs:
13
14
 
14
15
  steps:
15
16
  - name: Checkout code
16
- uses: actions/checkout@v4
17
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
18
+ with:
19
+ persist-credentials: false
17
20
 
18
21
  - name: Set up Python ${{ matrix.python-version }}
19
- uses: actions/setup-python@v5
22
+ uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
20
23
  with:
21
24
  python-version: ${{ matrix.python-version }}
22
25
 
@@ -18,15 +18,18 @@ on:
18
18
  tags:
19
19
  - "v*.*.*"
20
20
 
21
+ permissions: {}
21
22
  jobs:
22
23
  build-pypi-distribs:
23
24
  name: Build and publish library to PyPI
24
25
  runs-on: ubuntu-24.04
25
26
 
26
27
  steps:
27
- - uses: actions/checkout@v4
28
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
29
+ with:
30
+ persist-credentials: false
28
31
  - name: Set up Python
29
- uses: actions/setup-python@v5
32
+ uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
30
33
  with:
31
34
  python-version: 3.12
32
35
 
@@ -40,13 +43,15 @@ jobs:
40
43
  run: python -m twine check dist/*
41
44
 
42
45
  - name: Upload built archives
43
- uses: actions/upload-artifact@v4
46
+ uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
44
47
  with:
45
48
  name: pypi_archives
46
49
  path: dist/*
47
50
 
48
51
 
49
52
  create-gh-release:
53
+ permissions:
54
+ contents: write
50
55
  name: Create GH release
51
56
  needs:
52
57
  - build-pypi-distribs
@@ -54,13 +59,13 @@ jobs:
54
59
 
55
60
  steps:
56
61
  - name: Download built archives
57
- uses: actions/download-artifact@v4
62
+ uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131
58
63
  with:
59
64
  name: pypi_archives
60
65
  path: dist
61
66
 
62
67
  - name: Create GH release
63
- uses: softprops/action-gh-release@v2
68
+ uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda
64
69
  with:
65
70
  draft: true
66
71
  files: dist/*
@@ -77,11 +82,11 @@ jobs:
77
82
 
78
83
  steps:
79
84
  - name: Download built archives
80
- uses: actions/download-artifact@v4
85
+ uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131
81
86
  with:
82
87
  name: pypi_archives
83
88
  path: dist
84
89
 
85
90
  - name: Publish to PyPI
86
91
  if: startsWith(github.ref, 'refs/tags')
87
- uses: pypa/gh-action-pypi-publish@release/v1
92
+ uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b
@@ -16,10 +16,12 @@ jobs:
16
16
  os: ["ubuntu-latest"]
17
17
 
18
18
  steps:
19
- - uses: actions/checkout@v4
19
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
20
+ with:
21
+ persist-credentials: false
20
22
 
21
23
  - name: Set up Python
22
- uses: actions/setup-python@v5
24
+ uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
23
25
  with:
24
26
  python-version: "${{ matrix.python }}"
25
27
 
@@ -0,0 +1,24 @@
1
+ name: GitHub Actions Security Analysis with zizmor 🌈
2
+
3
+ on:
4
+ push:
5
+ branches: ["main"]
6
+ pull_request:
7
+ branches: ["**"]
8
+
9
+ permissions: {}
10
+
11
+ jobs:
12
+ zizmor:
13
+ name: Run zizmor 🌈
14
+ runs-on: ubuntu-latest
15
+ permissions:
16
+ security-events: write # Required for upload-sarif (used by zizmor-action) to upload SARIF files.
17
+ steps:
18
+ - name: Checkout repository
19
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
20
+ with:
21
+ persist-credentials: false
22
+
23
+ - name: Run zizmor 🌈
24
+ uses: zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e # v0.5.3
@@ -1,6 +1,12 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ v0.2.1
5
+ ------
6
+
7
+ Patch release with updated dependencies and no version constraints.
8
+
9
+
4
10
  v0.2.0
5
11
  ------
6
12
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: binary-inspector
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: binary-inspector is a library and tools to inspect binaries (elf, winpe, mach0) for symbols and other information, and models to store this.
5
5
  Home-page: https://github.com/aboutcode-org/binary-inspector
6
6
  Author: nexB. Inc. and others
@@ -25,8 +25,8 @@ Requires-Dist: click>=8.2.0
25
25
  Requires-Dist: commoncode
26
26
  Requires-Dist: plugincode
27
27
  Requires-Dist: typecode
28
- Requires-Dist: lief==0.17.0
29
- Requires-Dist: symbolic==10.2.1
28
+ Requires-Dist: lief>=0.17.2
29
+ Requires-Dist: symbolic>=10.2.1
30
30
  Provides-Extra: dev
31
31
  Requires-Dist: scancode-toolkit; extra == "dev"
32
32
  Requires-Dist: pytest>=7.0.1; extra == "dev"
@@ -15,7 +15,7 @@ import subprocess
15
15
  """
16
16
  Utilities to manage requirements files and call pip.
17
17
  NOTE: this should use ONLY the standard library and not import anything else
18
- because this is used for boostrapping with no requirements installed.
18
+ because this is used for bootstrapping with no requirements installed.
19
19
  """
20
20
 
21
21
 
@@ -31,7 +31,7 @@ def load_requirements(requirements_file="requirements.txt", with_unpinned=False)
31
31
 
32
32
  def get_required_name_versions(requirement_lines, with_unpinned=False):
33
33
  """
34
- Yield required (name, version) tuples given a`requirement_lines` iterable of
34
+ Yield required (name, version) tuples given a `requirement_lines` iterable of
35
35
  requirement text lines. Only accept requirements pinned to an exact version.
36
36
  """
37
37
 
@@ -47,7 +47,7 @@ def get_required_name_versions(requirement_lines, with_unpinned=False):
47
47
 
48
48
  def get_required_name_version(requirement, with_unpinned=False):
49
49
  """
50
- Return a (name, version) tuple given a`requirement` specifier string.
50
+ Return a (name, version) tuple given a `requirement` specifier string.
51
51
  Requirement version must be pinned. If ``with_unpinned`` is True, unpinned
52
52
  requirements are accepted and only the name portion is returned.
53
53
 
@@ -1,6 +1,6 @@
1
1
  # from blint v2.3.2
2
2
  # https://github.com/owasp-dep-scan/blint/blob/1e1250a4bf6c25eccba8970bd877901ee56070c7/poetry.lock
3
- lief==0.17.0
3
+ lief==0.17.2
4
4
  symbolic==10.2.1
5
5
  click==8.3.0
6
6
  commoncode==32.4.0
@@ -1,7 +1,7 @@
1
1
  [metadata]
2
2
  name = binary-inspector
3
3
  license = Apache-2.0 AND MIT
4
- version = 0.2.0
4
+ version = 0.2.1
5
5
  description = binary-inspector is a library and tools to inspect binaries (elf, winpe, mach0) for symbols and other information, and models to store this.
6
6
  long_description = file:README.rst
7
7
  long_description_content_type = text/x-rst
@@ -38,8 +38,8 @@ install_requires =
38
38
  commoncode
39
39
  plugincode
40
40
  typecode
41
- lief==0.17.0
42
- symbolic==10.2.1
41
+ lief>=0.17.2
42
+ symbolic>=10.2.1
43
43
 
44
44
  [options.entry_points]
45
45
  scancode_scan =
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: binary-inspector
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: binary-inspector is a library and tools to inspect binaries (elf, winpe, mach0) for symbols and other information, and models to store this.
5
5
  Home-page: https://github.com/aboutcode-org/binary-inspector
6
6
  Author: nexB. Inc. and others
@@ -25,8 +25,8 @@ Requires-Dist: click>=8.2.0
25
25
  Requires-Dist: commoncode
26
26
  Requires-Dist: plugincode
27
27
  Requires-Dist: typecode
28
- Requires-Dist: lief==0.17.0
29
- Requires-Dist: symbolic==10.2.1
28
+ Requires-Dist: lief>=0.17.2
29
+ Requires-Dist: symbolic>=10.2.1
30
30
  Provides-Extra: dev
31
31
  Requires-Dist: scancode-toolkit; extra == "dev"
32
32
  Requires-Dist: pytest>=7.0.1; extra == "dev"
@@ -20,6 +20,7 @@ setup.py
20
20
  .github/workflows/docs-ci.yml
21
21
  .github/workflows/pypi-release.yml
22
22
  .github/workflows/tests.yml
23
+ .github/workflows/zizmor.yml
23
24
  docs/Makefile
24
25
  docs/make.bat
25
26
  docs/scripts/doc8_style_check.sh
@@ -2,8 +2,8 @@ click>=8.2.0
2
2
  commoncode
3
3
  plugincode
4
4
  typecode
5
- lief==0.17.0
6
- symbolic==10.2.1
5
+ lief>=0.17.2
6
+ symbolic>=10.2.1
7
7
 
8
8
  [dev]
9
9
  scancode-toolkit