unidecompiler-plugin-python-pyc 0.2.0__tar.gz → 0.2.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.
- {unidecompiler_plugin_python_pyc-0.2.0 → unidecompiler_plugin_python_pyc-0.2.2}/PKG-INFO +2 -2
- {unidecompiler_plugin_python_pyc-0.2.0 → unidecompiler_plugin_python_pyc-0.2.2}/pyproject.toml +2 -2
- {unidecompiler_plugin_python_pyc-0.2.0 → unidecompiler_plugin_python_pyc-0.2.2}/src/unidecompiler_plugin_python_pyc/lifter.py +25 -1
- {unidecompiler_plugin_python_pyc-0.2.0 → unidecompiler_plugin_python_pyc-0.2.2}/src/unidecompiler_plugin_python_pyc.egg-info/PKG-INFO +2 -2
- unidecompiler_plugin_python_pyc-0.2.2/src/unidecompiler_plugin_python_pyc.egg-info/requires.txt +1 -0
- unidecompiler_plugin_python_pyc-0.2.0/src/unidecompiler_plugin_python_pyc.egg-info/requires.txt +0 -1
- {unidecompiler_plugin_python_pyc-0.2.0 → unidecompiler_plugin_python_pyc-0.2.2}/README.md +0 -0
- {unidecompiler_plugin_python_pyc-0.2.0 → unidecompiler_plugin_python_pyc-0.2.2}/setup.cfg +0 -0
- {unidecompiler_plugin_python_pyc-0.2.0 → unidecompiler_plugin_python_pyc-0.2.2}/src/unidecompiler_plugin_python_pyc/__init__.py +0 -0
- {unidecompiler_plugin_python_pyc-0.2.0 → unidecompiler_plugin_python_pyc-0.2.2}/src/unidecompiler_plugin_python_pyc/plugin.py +0 -0
- {unidecompiler_plugin_python_pyc-0.2.0 → unidecompiler_plugin_python_pyc-0.2.2}/src/unidecompiler_plugin_python_pyc/pyc.py +0 -0
- {unidecompiler_plugin_python_pyc-0.2.0 → unidecompiler_plugin_python_pyc-0.2.2}/src/unidecompiler_plugin_python_pyc/simulation.py +0 -0
- {unidecompiler_plugin_python_pyc-0.2.0 → unidecompiler_plugin_python_pyc-0.2.2}/src/unidecompiler_plugin_python_pyc/support.py +0 -0
- {unidecompiler_plugin_python_pyc-0.2.0 → unidecompiler_plugin_python_pyc-0.2.2}/src/unidecompiler_plugin_python_pyc.egg-info/SOURCES.txt +0 -0
- {unidecompiler_plugin_python_pyc-0.2.0 → unidecompiler_plugin_python_pyc-0.2.2}/src/unidecompiler_plugin_python_pyc.egg-info/dependency_links.txt +0 -0
- {unidecompiler_plugin_python_pyc-0.2.0 → unidecompiler_plugin_python_pyc-0.2.2}/src/unidecompiler_plugin_python_pyc.egg-info/entry_points.txt +0 -0
- {unidecompiler_plugin_python_pyc-0.2.0 → unidecompiler_plugin_python_pyc-0.2.2}/src/unidecompiler_plugin_python_pyc.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: unidecompiler-plugin-python-pyc
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Python bytecode frontend plugin for unidecompiler
|
|
5
5
|
Author-email: Wker <1670133844@qq.com>
|
|
6
6
|
License-Expression: AGPL-3.0-or-later
|
|
@@ -9,7 +9,7 @@ Project-URL: Repository, https://github.com/Wker666/unidecompiler
|
|
|
9
9
|
Project-URL: Issues, https://github.com/Wker666/unidecompiler/issues
|
|
10
10
|
Requires-Python: >=3.11
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
|
-
Requires-Dist: unidecompiler<0.3.0,>=0.2.
|
|
12
|
+
Requires-Dist: unidecompiler<0.3.0,>=0.2.2
|
|
13
13
|
|
|
14
14
|
# unidecompiler-plugin-python-pyc
|
|
15
15
|
|
{unidecompiler_plugin_python_pyc-0.2.0 → unidecompiler_plugin_python_pyc-0.2.2}/pyproject.toml
RENAMED
|
@@ -4,13 +4,13 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "unidecompiler-plugin-python-pyc"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.2"
|
|
8
8
|
description = "Python bytecode frontend plugin for unidecompiler"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "AGPL-3.0-or-later"
|
|
11
11
|
authors = [{ name = "Wker", email = "1670133844@qq.com" }]
|
|
12
12
|
requires-python = ">=3.11"
|
|
13
|
-
dependencies = ["unidecompiler>=0.2.
|
|
13
|
+
dependencies = ["unidecompiler>=0.2.2,<0.3.0"]
|
|
14
14
|
|
|
15
15
|
[project.urls]
|
|
16
16
|
Homepage = "https://github.com/Wker666/unidecompiler"
|
|
@@ -800,6 +800,22 @@ def _lift_code_object_tree(
|
|
|
800
800
|
progress: list[int] | None = None,
|
|
801
801
|
) -> tuple[FunctionIR, ...]:
|
|
802
802
|
spec = _python_function_spec(code)
|
|
803
|
+
item_label = code.name or (
|
|
804
|
+
f"function@{code.artifact_code_offset}"
|
|
805
|
+
if code.artifact_code_offset is not None
|
|
806
|
+
else ""
|
|
807
|
+
)
|
|
808
|
+
message_label = item_label or "current function"
|
|
809
|
+
if reporter is not None and total is not None and progress is not None:
|
|
810
|
+
report_progress(
|
|
811
|
+
reporter,
|
|
812
|
+
phase="lift",
|
|
813
|
+
completed=progress[0],
|
|
814
|
+
total=total,
|
|
815
|
+
unit="function",
|
|
816
|
+
item_label=item_label,
|
|
817
|
+
message=f"lifting {message_label}",
|
|
818
|
+
)
|
|
803
819
|
functions = [
|
|
804
820
|
recover_vm_function(
|
|
805
821
|
spec,
|
|
@@ -809,7 +825,15 @@ def _lift_code_object_tree(
|
|
|
809
825
|
]
|
|
810
826
|
if reporter is not None and total is not None and progress is not None:
|
|
811
827
|
progress[0] += 1
|
|
812
|
-
report_progress(
|
|
828
|
+
report_progress(
|
|
829
|
+
reporter,
|
|
830
|
+
phase="lift",
|
|
831
|
+
completed=progress[0],
|
|
832
|
+
total=total,
|
|
833
|
+
unit="function",
|
|
834
|
+
item_label=item_label,
|
|
835
|
+
message=f"lifted {message_label}",
|
|
836
|
+
)
|
|
813
837
|
for child in code.children:
|
|
814
838
|
functions.extend(
|
|
815
839
|
_lift_code_object_tree(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: unidecompiler-plugin-python-pyc
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Python bytecode frontend plugin for unidecompiler
|
|
5
5
|
Author-email: Wker <1670133844@qq.com>
|
|
6
6
|
License-Expression: AGPL-3.0-or-later
|
|
@@ -9,7 +9,7 @@ Project-URL: Repository, https://github.com/Wker666/unidecompiler
|
|
|
9
9
|
Project-URL: Issues, https://github.com/Wker666/unidecompiler/issues
|
|
10
10
|
Requires-Python: >=3.11
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
|
-
Requires-Dist: unidecompiler<0.3.0,>=0.2.
|
|
12
|
+
Requires-Dist: unidecompiler<0.3.0,>=0.2.2
|
|
13
13
|
|
|
14
14
|
# unidecompiler-plugin-python-pyc
|
|
15
15
|
|
unidecompiler_plugin_python_pyc-0.2.2/src/unidecompiler_plugin_python_pyc.egg-info/requires.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
unidecompiler<0.3.0,>=0.2.2
|
unidecompiler_plugin_python_pyc-0.2.0/src/unidecompiler_plugin_python_pyc.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
unidecompiler<0.3.0,>=0.2.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|