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

sandbox executions? #11

Closed
Gankra opened this issue Jun 28, 2022 · 1 comment · Fixed by #67
Closed

sandbox executions? #11

Gankra opened this issue Jun 28, 2022 · 1 comment · Fixed by #67
Labels
enhancement New feature or request

Comments

@Gankra
Copy link
Owner

Gankra commented Jun 28, 2022

Right now we build DLLs and load them into the test harness. If a test is mega-busted this can result in corrupting the harness or just locking it up. In an ideal world we would maybe instead build binaries that do ipc or write out a file to disk, so that the test harness could survive crashes or timeout a hung test.

Of course it would also be nice if we could literally sandbox the tests and prevent them from doing anything interesting, since all they ever need to be able to do is call a set of specific functions. They don't need i/o of any kind except to send the harness a report.

@Gankra Gankra added the enhancement New feature or request label Jun 28, 2022
@Gankra
Copy link
Owner Author

Gankra commented Jul 13, 2024

The prophecies are fulfilled: in #65 cranelift<->rustc with OptionU128 fully SIGILL's during execution, making the whole harness suddenly hard-abort, as the SIGILL is in our process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant