forked from facebookarchive/skybison
-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add some static analysis in bytecode rewriting #519
Draft
tekknolagi
wants to merge
71
commits into
trunk
Choose a base branch
from
mb-static-analysis
base: trunk
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Nov 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b90d69c - Browse repository at this point
Copy the full SHA b90d69cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 183593e - Browse repository at this point
Copy the full SHA 183593eView commit details -
WIP: Fix jump offsets for jump instructions
Some are absolute, some relative It boots now!
Configuration menu - View commit details
-
Copy full SHA for c0ec58c - Browse repository at this point
Copy the full SHA c0ec58cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d7b8cb1 - Browse repository at this point
Copy the full SHA d7b8cb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 724cba3 - Browse repository at this point
Copy the full SHA 724cba3View commit details -
I think this is in the wrong place though Also, add debugging
Configuration menu - View commit details
-
Copy full SHA for 759a30f - Browse repository at this point
Copy the full SHA 759a30fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c70bf20 - Browse repository at this point
Copy the full SHA c70bf20View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe0a261 - Browse repository at this point
Copy the full SHA fe0a261View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71a2d36 - Browse repository at this point
Copy the full SHA 71a2d36View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c6fdae - Browse repository at this point
Copy the full SHA 8c6fdaeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 66dc669 - Browse repository at this point
Copy the full SHA 66dc669View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9842fd6 - Browse repository at this point
Copy the full SHA 9842fd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96f0b8c - Browse repository at this point
Copy the full SHA 96f0b8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca9e16f - Browse repository at this point
Copy the full SHA ca9e16fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d94d88 - Browse repository at this point
Copy the full SHA 1d94d88View commit details -
Configuration menu - View commit details
-
Copy full SHA for c57b9e1 - Browse repository at this point
Copy the full SHA c57b9e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fd9209 - Browse repository at this point
Copy the full SHA 3fd9209View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3866d67 - Browse repository at this point
Copy the full SHA 3866d67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3501d88 - Browse repository at this point
Copy the full SHA 3501d88View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e153ea - Browse repository at this point
Copy the full SHA 4e153eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d15d67 - Browse repository at this point
Copy the full SHA 5d15d67View commit details -
Support RAISE_VARARGS without try/except handlers
This brings us up from ~2500/3500 to ~3000/3500 analyzed. Next pole in the tent is SETUP_FINALLY.
Configuration menu - View commit details
-
Copy full SHA for 4b9a778 - Browse repository at this point
Copy the full SHA 4b9a778View commit details -
The bytecode needs to end with RETURN_VALUE otherwise the analysis does not work. This is normally guaranteed by the compiler.
Configuration menu - View commit details
-
Copy full SHA for e4839be - Browse repository at this point
Copy the full SHA e4839beView commit details -
Add a DCHECK for the last op being RETURN_VALUE
Unfortunately this makes a bunch of BytecodeTest tests fail but they were wrong to begin with. Will fix later...
Configuration menu - View commit details
-
Copy full SHA for 2100d00 - Browse repository at this point
Copy the full SHA 2100d00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f3a350 - Browse repository at this point
Copy the full SHA 1f3a350View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa29ac1 - Browse repository at this point
Copy the full SHA fa29ac1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88dc5c0 - Browse repository at this point
Copy the full SHA 88dc5c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b3fd31e - Browse repository at this point
Copy the full SHA b3fd31eView commit details
Commits on Nov 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c1e8bee - Browse repository at this point
Copy the full SHA c1e8beeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c66ebe - Browse repository at this point
Copy the full SHA 2c66ebeView commit details
Commits on Nov 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d364dfc - Browse repository at this point
Copy the full SHA d364dfcView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd14e0e - Browse repository at this point
Copy the full SHA bd14e0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e2e5a34 - Browse repository at this point
Copy the full SHA e2e5a34View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ccce2c - Browse repository at this point
Copy the full SHA 4ccce2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 33bd90d - Browse repository at this point
Copy the full SHA 33bd90dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c7e08fe - Browse repository at this point
Copy the full SHA c7e08feView commit details -
Configuration menu - View commit details
-
Copy full SHA for eebb8dd - Browse repository at this point
Copy the full SHA eebb8ddView commit details
Commits on Dec 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4f600e0 - Browse repository at this point
Copy the full SHA 4f600e0View commit details
Commits on Dec 12, 2023
-
Consider more opcodes and use bitset instead
I don't think it's the bitset--we should go back to the data structures.
Configuration menu - View commit details
-
Copy full SHA for 86e5934 - Browse repository at this point
Copy the full SHA 86e5934View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea04194 - Browse repository at this point
Copy the full SHA ea04194View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04f7418 - Browse repository at this point
Copy the full SHA 04f7418View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d04642 - Browse repository at this point
Copy the full SHA 0d04642View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f718a8 - Browse repository at this point
Copy the full SHA 9f718a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34c9b0e - Browse repository at this point
Copy the full SHA 34c9b0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f3971b8 - Browse repository at this point
Copy the full SHA f3971b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1979859 - Browse repository at this point
Copy the full SHA 1979859View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab64701 - Browse repository at this point
Copy the full SHA ab64701View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8471beb - Browse repository at this point
Copy the full SHA 8471bebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5875813 - Browse repository at this point
Copy the full SHA 5875813View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54a8eca - Browse repository at this point
Copy the full SHA 54a8ecaView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce4b91c - Browse repository at this point
Copy the full SHA ce4b91cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 590bfea - Browse repository at this point
Copy the full SHA 590bfeaView commit details
Commits on Dec 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0618ab3 - Browse repository at this point
Copy the full SHA 0618ab3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c23236 - Browse repository at this point
Copy the full SHA 2c23236View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a2727c - Browse repository at this point
Copy the full SHA 8a2727cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a73c5fc - Browse repository at this point
Copy the full SHA a73c5fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 202c982 - Browse repository at this point
Copy the full SHA 202c982View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7a0120 - Browse repository at this point
Copy the full SHA b7a0120View commit details -
Configuration menu - View commit details
-
Copy full SHA for ecbc526 - Browse repository at this point
Copy the full SHA ecbc526View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa3d987 - Browse repository at this point
Copy the full SHA aa3d987View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6d234e - Browse repository at this point
Copy the full SHA a6d234eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a453072 - Browse repository at this point
Copy the full SHA a453072View commit details -
It takes nothing off the stack, so use NOP instead of POP_TOP. Also it appears as though peephole gets rid of this completely in the test. Neat!
Configuration menu - View commit details
-
Copy full SHA for 09c0da1 - Browse repository at this point
Copy the full SHA 09c0da1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 099efe8 - Browse repository at this point
Copy the full SHA 099efe8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c57c01 - Browse repository at this point
Copy the full SHA 0c57c01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12a9310 - Browse repository at this point
Copy the full SHA 12a9310View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c8097e - Browse repository at this point
Copy the full SHA 5c8097eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bab890 - Browse repository at this point
Copy the full SHA 4bab890View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90b2e9e - Browse repository at this point
Copy the full SHA 90b2e9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 075dbe0 - Browse repository at this point
Copy the full SHA 075dbe0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0fa910 - Browse repository at this point
Copy the full SHA b0fa910View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.