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#5659: Handle multiple app copies in rseq mangling #5660

Merged
merged 3 commits into from
Sep 28, 2022

Conversation

derekbruening
Copy link
Contributor

Adds support for multiple app copies in rseq mangling finalization's search for labels to fill in code cache PC's.

Adds support for multiple rseq regions in one fragment_t by expanding the stored rseq_cs per fragment to become a list.

Adds "-trace_after_instrs 5K" to the tool.drcacheoff.rseq test to exercise rseq with drbbdup.

Augments the attach/detach api.rseq test to use drmemtrace, which with the forthcoming #2039 mode switches also hits this multi-rseq case.

Fixes #5659

Adds support for multiple app copies in rseq mangling finalization's
search for labels to fill in code cache PC's.

Adds support for multiple rseq regions in one fragment_t by expanding
the stored rseq_cs per fragment to become a list.

Adds "-trace_after_instrs 5K" to the tool.drcacheoff.rseq test to
exercise rseq with drbbdup.

Augments the attach/detach api.rseq test to use drmemtrace, which with
the forthcoming #2039 mode switches also hits this multi-rseq case.

Fixes #5659
@derekbruening
Copy link
Contributor Author

The a64 failure is #5493 windows-zlib.

core/unix/rseq_linux.c Outdated Show resolved Hide resolved
@derekbruening derekbruening merged commit f9dae92 into master Sep 28, 2022
@derekbruening derekbruening deleted the i5659-rseq-multi-copy branch September 28, 2022 03:46
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.

rseq mangling does not support multiple app copies from drbbdup
2 participants