Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Update snapshot tests and test stack canary #385

Merged
merged 3 commits into from
Mar 15, 2023
Merged

Update snapshot tests and test stack canary #385

merged 3 commits into from
Mar 15, 2023

Conversation

Urhengulas
Copy link
Member

This PR does two things:

  1. It updates the test_elfs and the respective output.
  2. It adds a new test_elf overflow-no-flip-link which triggers a stack overflow and does not have stack-overflow protection; therefore probe-run reports that data segments might be corrupted

Depends on #383; only the last two commits are specific to this PR.
Fixes #223.

@Urhengulas Urhengulas force-pushed the test-stack-canary branch 2 times, most recently from 0d29b4f to d8bd18b Compare March 7, 2023 19:03
The change to `canary.rs` it to be able to detect the stack overflow.
@Urhengulas Urhengulas marked this pull request as ready for review March 15, 2023 13:32
@Urhengulas
Copy link
Member Author

bors r+

@bors
Copy link
Contributor

bors bot commented Mar 15, 2023

Build succeeded:

@bors bors bot merged commit 63bb9f3 into main Mar 15, 2023
@bors bors bot deleted the test-stack-canary branch March 15, 2023 13:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

snapshot test stack canary
1 participant