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

Use large stack for verification task execution #910

Conversation

keyboardDrummer
Copy link
Collaborator

@keyboardDrummer keyboardDrummer commented Jul 17, 2024

To prevent stack overflows like the following: https://github.com/aws/aws-database-encryption-sdk-dynamodb/actions/runs/9964887284/job/27534128432?pr=1202

I haven't added a test, partly because this code path is not accessible through the Boogie CLI. We could use an XUnit test to trigger it, but we'd also need the right Boogie program for that, possibly just one with a lot of nesting at the right place.

@keyboardDrummer keyboardDrummer enabled auto-merge (squash) July 17, 2024 13:45
@@ -7,6 +7,7 @@
using System.Reactive.Subjects;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you use that?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure. I'm not too concerned about unused usings though.

@keyboardDrummer keyboardDrummer merged commit d322dc6 into boogie-org:master Jul 19, 2024
5 checks passed
@keyboardDrummer keyboardDrummer deleted the useLargeStackForVerificationTaskExecution branch July 19, 2024 13:19
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.

2 participants