unidecompiler-plugin-python-pyc 0.2.0__py3-none-any.whl → 0.2.1__py3-none-any.whl
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/lifter.py +20 -1
- {unidecompiler_plugin_python_pyc-0.2.0.dist-info → unidecompiler_plugin_python_pyc-0.2.1.dist-info}/METADATA +2 -2
- {unidecompiler_plugin_python_pyc-0.2.0.dist-info → unidecompiler_plugin_python_pyc-0.2.1.dist-info}/RECORD +6 -6
- {unidecompiler_plugin_python_pyc-0.2.0.dist-info → unidecompiler_plugin_python_pyc-0.2.1.dist-info}/WHEEL +0 -0
- {unidecompiler_plugin_python_pyc-0.2.0.dist-info → unidecompiler_plugin_python_pyc-0.2.1.dist-info}/entry_points.txt +0 -0
- {unidecompiler_plugin_python_pyc-0.2.0.dist-info → unidecompiler_plugin_python_pyc-0.2.1.dist-info}/top_level.txt +0 -0
|
@@ -800,6 +800,17 @@ 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 "<anonymous>"
|
|
804
|
+
if reporter is not None and total is not None and progress is not None:
|
|
805
|
+
report_progress(
|
|
806
|
+
reporter,
|
|
807
|
+
phase="lift",
|
|
808
|
+
completed=progress[0],
|
|
809
|
+
total=total,
|
|
810
|
+
unit="function",
|
|
811
|
+
item_label=item_label,
|
|
812
|
+
message=f"lifting {item_label}",
|
|
813
|
+
)
|
|
803
814
|
functions = [
|
|
804
815
|
recover_vm_function(
|
|
805
816
|
spec,
|
|
@@ -809,7 +820,15 @@ def _lift_code_object_tree(
|
|
|
809
820
|
]
|
|
810
821
|
if reporter is not None and total is not None and progress is not None:
|
|
811
822
|
progress[0] += 1
|
|
812
|
-
report_progress(
|
|
823
|
+
report_progress(
|
|
824
|
+
reporter,
|
|
825
|
+
phase="lift",
|
|
826
|
+
completed=progress[0],
|
|
827
|
+
total=total,
|
|
828
|
+
unit="function",
|
|
829
|
+
item_label=item_label,
|
|
830
|
+
message=f"lifted {item_label}",
|
|
831
|
+
)
|
|
813
832
|
for child in code.children:
|
|
814
833
|
functions.extend(
|
|
815
834
|
_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.1
|
|
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.1
|
|
13
13
|
|
|
14
14
|
# unidecompiler-plugin-python-pyc
|
|
15
15
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
unidecompiler_plugin_python_pyc/__init__.py,sha256=hVoovcpsYUC1mNX2ZOw_gITFH8JIUelqdWQgjjzgNW4,29
|
|
2
|
-
unidecompiler_plugin_python_pyc/lifter.py,sha256=
|
|
2
|
+
unidecompiler_plugin_python_pyc/lifter.py,sha256=9P2TCoRYSCDh6r55-gxqnlIh87ZNggPTnfHZZbBMMRQ,42827
|
|
3
3
|
unidecompiler_plugin_python_pyc/plugin.py,sha256=HmHfTVJEzZOqTDScdxt7GU0onMPkUPqsIcHWNSMqpyg,2134
|
|
4
4
|
unidecompiler_plugin_python_pyc/pyc.py,sha256=h1RDMEUJR_ZLewLTGU0HPd0jlZXRnGeCxDkLfK7UmzE,6201
|
|
5
5
|
unidecompiler_plugin_python_pyc/simulation.py,sha256=_ZsytvY2-GpCHKcRKfL25ty2yLdEtPnT0tqkT4TVDWo,1965
|
|
6
6
|
unidecompiler_plugin_python_pyc/support.py,sha256=U44X6nRbjIKJKZoCtdCzmJ7ryShbGpUxGKytUrUAYRo,449
|
|
7
|
-
unidecompiler_plugin_python_pyc-0.2.
|
|
8
|
-
unidecompiler_plugin_python_pyc-0.2.
|
|
9
|
-
unidecompiler_plugin_python_pyc-0.2.
|
|
10
|
-
unidecompiler_plugin_python_pyc-0.2.
|
|
11
|
-
unidecompiler_plugin_python_pyc-0.2.
|
|
7
|
+
unidecompiler_plugin_python_pyc-0.2.1.dist-info/METADATA,sha256=9vVTUg5LDyUWg8m1rQfyt4qtaGmWjT1WP53obZpDR-s,878
|
|
8
|
+
unidecompiler_plugin_python_pyc-0.2.1.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
|
|
9
|
+
unidecompiler_plugin_python_pyc-0.2.1.dist-info/entry_points.txt,sha256=iV_iOT4G7hxzxMFz9NSZNpSNrn6XrGXkgepQU2fYvww,102
|
|
10
|
+
unidecompiler_plugin_python_pyc-0.2.1.dist-info/top_level.txt,sha256=WUNxCWlylGTlts-LVvZMQycGC4zmeBfASTYVoZWQAW8,32
|
|
11
|
+
unidecompiler_plugin_python_pyc-0.2.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|