-
Notifications
You must be signed in to change notification settings - Fork 10
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
Adding the cheriot-audit tests to the test suite #144
Conversation
Signed-off-by: Matthew A Johnson <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anything in particular you would like me to look at in a review?
@@ -0,0 +1,181 @@ | |||
#include "../rego_test.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Has this code come from cheriot? Do we need some attribution here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is our SPDX header:
// Copyright SCI Semiconductor and CHERIoT Contributors.
// SPDX-License-Identifier: MIT
return scalar(false); | ||
} | ||
string = string.substr(1); | ||
// The way that rego-cpp exposes snmalloc can cause the realloc here to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aiming to fix this with microsoft/Trieste#117
I'm talking with David about options. I think we're going to change the tactic to include his repo and and build it against the current repo/branch similar to how we do with Python and Rust, instead of manually copying it in as I've done. He needs to do a bit of instrumentation first, but that way we don't have duplication. |
CHERIoT-Platform/cheriot-audit#4 should make that option easier. |
This has been done via another means. |
This PR adds the test suite from https://github.com/CHERIoT-Platform/cheriot-audit/ to this repo.