-
Notifications
You must be signed in to change notification settings - Fork 0
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
11 implement component mission protection system #37
11 implement component mission protection system #37
Conversation
If you limit the diff to only one commit at a time it is much easier to parse the changes. |
@@ -26,6 +26,8 @@ | |||
// Instrumentation | |||
// Trip modes: | |||
#define NINSTR 4 | |||
/*@ function (u8) NINSTR() @*/ | |||
uint8_t c_NINSTR() /*@ cn_function NINSTR; @*/ { return NINSTR; } |
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 was mentioned as the idiomatic way to do this here but in a header file this way produces multiple copies the linker will choke on and in a source file the value won't be available to cn in other source files.
Pre-review:
|
|
I have removed it in the first commit dcf8423
Apparently not in the right way.
It's in the include path, but it can be stripped down further. |
Describe your changes
What changes have you implemented?
I have extracted the
src
folder of the HARDENS repo and other required folders (firmware
) and replaced the submodule with it so we can make changes. I have started converting the frama-c specs to cn specs.Issue ticket number and link
It is a partial fix for #11
Checklist before requesting a review