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

Test GuestMemory::try_access error cases #272

Open
JonathanWoollett-Light opened this issue Nov 28, 2023 · 0 comments
Open

Test GuestMemory::try_access error cases #272

JonathanWoollett-Light opened this issue Nov 28, 2023 · 0 comments

Comments

@JonathanWoollett-Light
Copy link
Contributor

JonathanWoollett-Light commented Nov 28, 2023

#260 introduced error cases to resolve #269 but did not cover these with regression tests.

Writes tests that exercise the paths where GuestMemory::try_access returns Err(Error::CallbackOutOfRange) and Err(Error::GuestAddressOverflow).

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

No branches or pull requests

1 participant