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

Inconsistent content between "Verification Method" and "Notes" #1041

Open
brobecke opened this issue May 2, 2024 · 1 comment
Open

Inconsistent content between "Verification Method" and "Notes" #1041

brobecke opened this issue May 2, 2024 · 1 comment
Assignees

Comments

@brobecke
Copy link
Member

brobecke commented May 2, 2024

This was reported by Yannick in an earlier version of this document, but I suspect is still applicable.

Yannick's report:

It seems that the fields "Verification Method" and "Notes" are used inconsistently to list the verification methods for a given rule. Take for example rule EXU02 (No Unhandled Application-Defined Exceptions). Its field "Verification Method" points at GNATcheck as verification method:

 GNATcheck rule: Unhandled_Exceptions

and its field "Notes" points at SPARK as verification method:

SPARK can prove that no exception will be raised (or fail to prove it and indicate the failure).

This is the case for many rules. It would be better to always have a short description of the verification methods in the field "Verification Method" and a longer explanation in "Notes".

Also note that there is no restriction or GNATcheck rule called "Unhandled_Exceptions". But the restriction "No_Exception_Propagation" could be used here.

Vasiliy sent a small reply:

No_Exception_Propagation is uncheckable with gnatcheck though.

@gusthoff
Copy link
Collaborator

[...] in an earlier version of this document,

"document" => Guidelines for Safe and Secure Ada/SPARK

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

3 participants