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

i#5784: Fix false positives in invariant checker #5788

Merged
merged 4 commits into from
Dec 15, 2022

Conversation

abhinav92003
Copy link
Contributor

@abhinav92003 abhinav92003 commented Dec 14, 2022

Fixes two false positives in the drcachesim invariant checker code. Skips the pre-signal instr check when returning from signals that arrived before any other instr in the trace, or before any other instr since the last kernel xfer (nested signals without any intervening instr). In both these cases we don't have any pre-signal instr whose pc we can compare with the post-signal instr.

Note that we still do not handle the back-to-back signals case where the second signal arrives just after the first one returns, without any intervening instruction. Improved the comment for that.

Adds tests that fail without this fix.

Fixes: #5784

Fixes two false positives in the drcachesim invariant checker code.
Skips the pre-signal instr check when returning from signals that
arrived before any other instr in the trace, or before any other
instr since the last signal kernel xfer.

Adds tests that fail without this fix.

Fixes: #5784
@abhinav92003
Copy link
Contributor Author

Various non-related issues with the AArch64 CI:

tool.drcacheoff.invariant_checker: inconsistent chunk counts: #5724

attach_test and attach_blocking timeout: #5740

fib-conflict and fib-conflict-early failures: #2417

@abhinav92003
Copy link
Contributor Author

run arm tests

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.

drmemtrace: Incorrect kernel xfer marker for signals received at end of wrapped function
2 participants