pcode-graph 1.1.0__tar.gz → 1.1.2__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 (43) hide show
  1. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/PKG-INFO +1 -2
  2. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/pcode_graph/cli.py +1 -4
  3. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/pcode_graph/graph.py +1 -1
  4. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/pyproject.toml +2 -3
  5. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/.github/workflows/release.yml +0 -0
  6. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/.github/workflows/test.yml +0 -0
  7. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/.gitignore +0 -0
  8. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/LICENSE +0 -0
  9. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/README.md +0 -0
  10. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/pcode_graph/__init__.py +0 -0
  11. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/pcode_graph/__main__.py +0 -0
  12. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/pcode_graph/analysis.py +0 -0
  13. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/pcode_graph/arch.py +0 -0
  14. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/pcode_graph/asm.py +0 -0
  15. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/pcode_graph/charac.py +0 -0
  16. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/pcode_graph/checker.py +0 -0
  17. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/pcode_graph/emulator.py +0 -0
  18. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/pcode_graph/gnn_exporter.py +0 -0
  19. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/pcode_graph/lief_importer.py +0 -0
  20. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/pcode_graph/log.py +0 -0
  21. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/pcode_graph/maker.py +0 -0
  22. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/pcode_graph/nx_exporter.py +0 -0
  23. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/pcode_graph/pcode.py +0 -0
  24. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/pcode_graph/registers.py +0 -0
  25. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/pcode_graph/simplifier.py +0 -0
  26. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/pcode_graph/torch_utils.py +0 -0
  27. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/pcode_graph/translator.py +0 -0
  28. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/pcode_graph/utils.py +0 -0
  29. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/pcode_graph/view.py +0 -0
  30. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/pcode_graph/visitor.py +0 -0
  31. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/requirements.txt +0 -0
  32. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/tests/__init__.py +0 -0
  33. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/tests/analysis_test.py +0 -0
  34. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/tests/charac_test.py +0 -0
  35. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/tests/conftest.py +0 -0
  36. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/tests/emulator_test.py +0 -0
  37. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/tests/exporter_test.py +0 -0
  38. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/tests/fixtures.py +0 -0
  39. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/tests/helpers.py +0 -0
  40. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/tests/maker_test.py +0 -0
  41. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/tests/translator_test.py +0 -0
  42. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/tests/utils_test.py +0 -0
  43. {pcode_graph-1.1.0 → pcode_graph-1.1.2}/todo.md +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: pcode_graph
3
- Version: 1.1.0
3
+ Version: 1.1.2
4
4
  Summary: Build, display and vectorize semantic graphs from binary code
5
5
  Project-URL: Homepage, https://github.com/quarkslab/pcode_graph
6
6
  Project-URL: Issues, https://github.com/quarkslab/pcode_graph/issues
@@ -15,7 +15,6 @@ Requires-Dist: docopt
15
15
  Requires-Dist: keystone-engine~=0.9.2
16
16
  Requires-Dist: lief~=1.0.0
17
17
  Requires-Dist: loguru
18
- Requires-Dist: magika
19
18
  Requires-Dist: pypcode>=4.0.0
20
19
  Requires-Dist: pyvis
21
20
  Provides-Extra: test
@@ -50,7 +50,6 @@ from pcode_graph.pcode import dump_operation
50
50
  from pcode_graph.analysis import RichPcodeList
51
51
  from pcode_graph.maker import MakerFlags, make_graph
52
52
  from pcode_graph.view import draw_graph
53
- from magika import Magika
54
53
 
55
54
 
56
55
  def main():
@@ -66,10 +65,8 @@ def main():
66
65
  input_path = Path(args["<input_path>"])
67
66
  assert input_path.exists()
68
67
 
69
- binary: Binary | None = None
70
68
  assert input_path.stat().st_size > 0, "Input file is empty"
71
- if not Magika().identify_path(input_path).output.is_text:
72
- binary = parse_binary(input_path)
69
+ binary: Binary | None = parse_binary(input_path)
73
70
 
74
71
  if args["--arch"] != "auto":
75
72
  arch: Arch = Arch(args["--arch"])
@@ -105,7 +105,7 @@ class Node:
105
105
  class EdgeProxy:
106
106
  """Easy access to edges for one node."""
107
107
 
108
- graph: CDG
108
+ graph: "CDG"
109
109
  in_edge_indexes: list[EdgeIndex]
110
110
  out_edge_indexes: list[EdgeIndex]
111
111
 
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "pcode_graph"
7
- version = "1.1.0"
7
+ version = "1.1.2"
8
8
  authors = [
9
9
  { name="Samuel Hangouët", email="samuel.hangouet@quarkslab.com" },
10
10
  ]
@@ -17,8 +17,7 @@ dependencies = [
17
17
  "pypcode>=4.0.0",
18
18
  "pyvis",
19
19
  "lief~=1.0.0",
20
- "docopt",
21
- "magika"
20
+ "docopt"
22
21
  ]
23
22
 
24
23
  license = "MIT"
File without changes
File without changes
File without changes
File without changes