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
MemoryWidget: Simplify the search logic #10081
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Untested
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch on the leading nulls; they now work as expected.
Instead of needing to call IsValueValid before GetValueData, what do you think about having a single function TryGetValueBytes (or whatever) that returns an optional QByteArray?
|
@Dentomologist Done. I don't think making a single function |
Fix leading nul bytes being ignored in hex search
|
@leoetlino Done. |
This PR fixes leading nul bytes being ignored in hex search. It also simplifies and deduplicates some of the code logic.
Ready to be reviewed.