gabe-k / pyasm Goto Github PK
View Code? Open in Web Editor NEWAssembler and disassembler for compiled Python
License: ISC License
Assembler and disassembler for compiled Python
License: ISC License
There should be a debugger for pyasm files which provides the ability to place breakpoints on individual instructions, view the stack, and modify and use objects at runtime. The first idea I had for this was to reimplement the Python VM in Python. Would be pretty slow but probably not too hard. This could also potentially be resolved by editing the code object itself, inserting code to break to the debugger in the code object, and then executing it within the normal vm. This would probably be a lot more work and also be less reliable due to having to manipulate the bytecode. Would also probably break some stuff trying to debug something like the extended_arg example.
fields that are set to 0, such as flags or arg_count, should be excluded from disassembly output. same with empty tuples such as names or varnames
Nested code objects over a certain size should be stored in separate pyasm files and included, rather than being defined inline. This will hopefully make analyzing large pyc files easier.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.