Comments (3)
Personally, I don't have any innate interest in this bug. Bugs eventually get fixed, but it may be more in the time frame of months or years.
But this code is open source, and you are a programmer; so you or others that may be interested in addressing this particular bug among the many that are there have source code at your disposal as well as git history showing how other bugs were fixed. (Based on past history though, volunteers are few and far between; especially when it comes to fixing problems that do not directly benefit the volunteer.)
If you make donation to the project, I'll look at this particular problem when I have a chance, and others based on the size of the donation. Or feel free to open a bug bounty to pay a programmer to fix this. That works too.
In rocky/python-uncompyle6#412 (reply in thread) I describe how this kind of problem is better addressed in not-yet-public work I am doing.
So, I am in the interesting position where I know very well the original source code, and I am still very interested in recovering it fully, and I can spot mistakes.
I have an automated mechanism where I can find bugs and that come the exact source code to compare against.
And of course, I like open source.
Lots of people do. Lots of people love the fact that you get programs that do things you want for free, that it comes with the source code, and you can ask the author or maintainer for free help in addressing something that has a lot of benefit for you and perhaps some residual benefit for others; and that from the author and maintainer you'll get mostly personal help for free.
from python-decompile3.
I'll have a look but I believe this is way above my level of skills. I don't know the python bytecode, and I have never written or used grammars/parsers.
from python-decompile3.
This kind of control-flow I suspect will be handled much easier when in an experimental decompiler I have been working on which classifies basic blocks and understand dominator regions. I will be briefly talking about this at the BlackHat Asia 2024 conference.
I see that pycdc gets confused in the same way as well.
from python-decompile3.
Related Issues (20)
- decompilation failed when returning a constant in `except`/`finally` block HOT 1
- python-decompile3-master HOT 3
- Decompiled failed with assetion error at `assert expr[0] == "LOAD_STR"` in customize37.py HOT 2
- Got error "Deparsing stopped due to parse error" HOT 1
- Decompiled failed with Parse error at or near `COME_FROM' instruction at offset 2024_0 HOT 1
- Decompilation of example.pyc fails with error message "Parse error at or near `CALL_METHOD_1'"
- Parse error at or near `END_FINALLY'
- Decompile failed with Parse error at or near `COME_FROM'
- Exception has occurred: AttributeError 'Instruction' object has no attribute 'tos_str' HOT 3
- Decompiler can execute arbitrary code HOT 4
- TypeError: argument of type 'int' is not iterable HOT 5
- Exception: 'Instruction' object has no attribute 'tos_str' HOT 4
- decompyle failure HOT 1
- Error when i try to decompile a .pyc file HOT 1
- KeyError: 67660 HOT 1
- TypeError: __new__() got an unexpected keyword argument 'positions' HOT 1
- Unsupported Python version, 3.11, for decompilation HOT 2
- use randomly generate source code to test decompyle3 HOT 2
- -- Stacks of completed symbols: HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-decompile3.