Skip to content
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

targetcmp: remove queue #1495

Merged
merged 1 commit into from
Apr 29, 2024
Merged

targetcmp: remove queue #1495

merged 1 commit into from
Apr 29, 2024

Conversation

be32826
Copy link
Contributor

@be32826 be32826 commented Apr 29, 2024

The queue is intended to avoid rereading guest pointers, but it assumes that the same pointer always has the same data, which isn't always true. For example, a program can compare a target string to a buffer, then change the contents of the buffer and compare again, and the queue will prevent targetcmp from tracking the second comparison.

The queue is intended to avoid rereading guest pointers, but it assumes
that the same pointer always has the same data, which isn't always true.
For example, a program can compare a target string to a buffer, then
change the contents of the buffer and compare again, and the queue will
prevent targetcmp from tracking the second comparison.
@AndrewFasano AndrewFasano enabled auto-merge (rebase) April 29, 2024 15:18
@AndrewFasano AndrewFasano merged commit 8205b08 into dev Apr 29, 2024
8 checks passed
@AndrewFasano AndrewFasano deleted the targetcmp-rm-queue branch April 29, 2024 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants