-
Notifications
You must be signed in to change notification settings - Fork 426
Reusable amd64 interpreter for extraction of values from disassembly #447
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
Merged
fabled
merged 39 commits into
open-telemetry:main
from
grafana:reusable-amd-interpreter
Jul 11, 2025
Merged
Changes from 12 commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
1815c7a
reusable amd64 interpreter
korniltsev 3903ab0
update asm/variable changes
korniltsev bef475a
inline size* consts, rename sz to bits
korniltsev d154ed7
Apply suggestions from code review
korniltsev 316680d
fix build
korniltsev 3697495
rename U64 to Expression. Rename Eval to Match.
korniltsev 29361e7
rename Match argument to `pattern`
korniltsev db73b51
lint
korniltsev 6b2503b
update RIP for "skippable instructions"
korniltsev 530971f
rewrite interpreter with switch/case isntead of if/else
korniltsev 3f4a39c
lint
korniltsev 32cce7d
add mem test
korniltsev f7a0cfc
Update asm/amd/regs_state.go
korniltsev b829b15
add a comment
korniltsev a42eb0b
renames
korniltsev 3362ed1
remove RegsState.DebugString()
korniltsev 2816cbf
remove IsJump
korniltsev cdc7473
Apply suggestions from code review
korniltsev 4932145
fix build
korniltsev e57374e
review fixes
korniltsev 93d5870
Merge remote-tracking branch 'upstream/main' into reusable-amd-interp…
korniltsev a0f52cc
lint
korniltsev dc208b8
review fixes
korniltsev 456ee85
Merge remote-tracking branch 'upstream/main' into reusable-amd-interp…
korniltsev e4e2771
introduce module specific registers
korniltsev f1d3bad
split variable into variable and capure
korniltsev f9c7087
move interpreter code to a separate file
korniltsev 433c9c8
rename decode.go to wrapper_decode.go
korniltsev 8ca045d
cleanup ops Match
korniltsev d728d8e
update comment
korniltsev 96de7ff
remove operands push/pop operations
korniltsev 3b939cd
add more disassembly to tests
korniltsev aecbafe
fix operands order
korniltsev 1528ec1
remove equalsRecursive
korniltsev 229f391
Update asm/expression/named.go
korniltsev 54108ed
review fixes
korniltsev 9589217
review fixes
korniltsev 83ac91e
Apply suggestions from code review
korniltsev 3339941
Merge remote-tracking branch 'upstream/main' into reusable-amd-interp…
korniltsev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| testdata/fuzz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.