Add relative jump support to goto functionality#83
Open
9init wants to merge 1 commit intopixel:masterfrom
Open
Add relative jump support to goto functionality#839init wants to merge 1 commit intopixel:masterfrom
9init wants to merge 1 commit intopixel:masterfrom
Conversation
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Add relative jump support to goto functionality
This PR adds support for relative jumps in hexedit's goto feature (Ctrl+G, F4, Enter). Users can now specify relative offsets using
+or-prefixes to jump forward or backward from the current position.Changes Made
+and-prefixes to detect relative jumpsbase + cursor)Usage Examples
+0x12- Jump forward 18 bytes (0x12 = 18 decimal)-0x12- Jump backward 18 bytes+100- Jump forward 100 bytes-50- Jump backward 50 bytes0x200- Jump to absolute position 0x200 (existing functionality preserved)