-
Notifications
You must be signed in to change notification settings - Fork 21
Improve safety analysis templates #598
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
Open
PandaeDo
wants to merge
2
commits into
eclipse-score:main
Choose a base branch
from
qorix-group:vohae_safana_templates
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,9 +34,145 @@ DFA (Dependent Failure Analysis) | |
| - Adjust ``status`` to be ``valid`` | ||
| - Adjust ``safety`` and ``tags`` according to your needs | ||
|
|
||
| The DFA for the component [Your Component Name] is performed. To show evidence that all failure initiators are considered, the applicability has to be filled out in the | ||
| following tables. For all applicable failure initiators, the DFA has to be performed. | ||
|
|
||
| Dependent Failure Initiators | ||
| ---------------------------- | ||
|
|
||
| | 2.2 Communication between the two elements: | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is "2.1 Shared ressources" missing here?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I do not like the formatting, could we have headlines? And also that it starts the enumeration with "2". |
||
| | Receiving function is affected by information that is false, lost, sent multiple times, or in the wrong order etc. from the sender. | ||
|
|
||
| .. list-table:: DFA communication between elements | ||
| :header-rows: 1 | ||
| :widths: 10,20,10,20 | ||
|
|
||
| * - ID | ||
| - Violation cause communication between elements | ||
| - Applicability | ||
| - Rationale | ||
| * - CO_01_01 | ||
| - Information passed via argument through a function call, or via writing/reading a variable being global to the two software functions (data flow) | ||
| - <yes | no> | ||
| - <Rationale if not applicable, otherwise link to filled out DFA> | ||
| * - CO_01_02 | ||
| - Data or message corruption / repetition / loss / delay / masquerading or incorrect addressing of information | ||
| - <yes | no> | ||
| - <Rationale if not applicable, otherwise link to filled out DFA> | ||
| * - CO_01_03 | ||
| - Insertion / sequence of information | ||
| - <yes | no> | ||
| - <Rationale if not applicable, otherwise link to filled out DFA> | ||
| * - CO_01_04 | ||
| - Corruption of information, inconsistent data | ||
| - <yes | no> | ||
| - <Rationale if not applicable, otherwise link to filled out DFA> | ||
| * - CO_01_05 | ||
| - Asymmetric information sent from a sender to multiple receivers, so that not all defined receivers have the same information | ||
| - <yes | no> | ||
| - <Rationale if not applicable, otherwise link to filled out DFA> | ||
| * - CO_01_06 | ||
| - Information from a sender received by only a subset of the receivers | ||
| - <yes | no> | ||
| - <Rationale if not applicable, otherwise link to filled out DFA> | ||
| * - CO_01_07 | ||
| - Blocking access to a communication channel | ||
| - <yes | no> | ||
| - <Rationale if not applicable, otherwise link to filled out DFA> | ||
|
|
||
| | 2.3 Shared information inputs | ||
| | Same information input used by multiple functions. | ||
|
|
||
| .. list-table:: DFA shared information inputs | ||
| :header-rows: 1 | ||
| :widths: 10,20,10,20 | ||
|
|
||
| * - ID | ||
| - Violation cause shared information inputs | ||
| - Applicability | ||
| - Rationale | ||
| * - SI_01_02 | ||
| - Configuration data | ||
| - <yes | no> | ||
| - <Rationale if not applicable, otherwise link to filled out DFA> | ||
| * - SI_01_03 | ||
| - Constants, or variables, being global to the two software functions | ||
| - <yes | no> | ||
| - <Rationale if not applicable, otherwise link to filled out DFA> | ||
| * - SI_01_04 | ||
| - Basic software passes data (read from hardware register and converted into logical information) to two applications software functions | ||
| - <yes | no> | ||
| - <Rationale if not applicable, otherwise link to filled out DFA> | ||
| * - SI_01_05 | ||
| - Data / function parameter arguments / messages delivered by software function to more than one other function | ||
| - <yes | no> | ||
| - <Rationale if not applicable, otherwise link to filled out DFA> | ||
|
|
||
| | 2.4 Unintended impact | ||
| | Unintended impacts to function due to various failures. | ||
|
|
||
| .. list-table:: DFA unintended impact | ||
| :header-rows: 1 | ||
| :widths: 10,20,10,20 | ||
|
|
||
| * - ID | ||
| - Violation cause unintended impact | ||
| - Applicability | ||
| - Rationale | ||
| * - UI_01_01 | ||
| - Memory miss-allocation and leaks | ||
| - <yes | no> | ||
| - <Rationale if not applicable, otherwise link to filled out DFA> | ||
| * - UI_01_02 | ||
| - Read/Write access to memory allocated to another software element | ||
| - <yes | no> | ||
| - <Rationale if not applicable, otherwise link to filled out DFA> | ||
| * - UI_01_03 | ||
| - Stack/Buffer under-/overflow | ||
| - <yes | no> | ||
| - <Rationale if not applicable, otherwise link to filled out DFA> | ||
| * - UI_01_04 | ||
| - Deadlocks | ||
| - <yes | no> | ||
| - <Rationale if not applicable, otherwise link to filled out DFA> | ||
| * - UI_01_05 | ||
| - Livelocks | ||
| - <yes | no> | ||
| - <Rationale if not applicable, otherwise link to filled out DFA> | ||
| * - UI_01_06 | ||
| - Blocking of execution | ||
| - <yes | no> | ||
| - <Rationale if not applicable, otherwise link to filled out DFA> | ||
| * - UI_01_07 | ||
| - Incorrect allocation of execution time | ||
| - <yes | no> | ||
| - <Rationale if not applicable, otherwise link to filled out DFA> | ||
| * - UI_01_08 | ||
| - Incorrect execution flow | ||
| - <yes | no> | ||
| - <Rationale if not applicable, otherwise link to filled out DFA> | ||
| * - UI_01_09 | ||
| - Incorrect synchronization between software elements | ||
| - <yes | no> | ||
| - <Rationale if not applicable, otherwise link to filled out DFA> | ||
| * - UI_01_10 | ||
| - CPU time depletion | ||
| - <yes | no> | ||
| - <Rationale if not applicable, otherwise link to filled out DFA> | ||
| * - UI_01_11 | ||
| - Memory depletion | ||
| - <yes | no> | ||
| - <Rationale if not applicable, otherwise link to filled out DFA> | ||
| * - UI_01_12 | ||
| - Other HW unavailability | ||
| - <yes | no> | ||
| - <Rationale if not applicable, otherwise link to filled out DFA> | ||
|
|
||
|
|
||
| DFA | ||
| --- | ||
| For all identified applicable failure initiators, the DFA is performed in the following section. | ||
|
|
||
| .. code-block:: rst | ||
|
|
||
| .. comp_saf_dfa:: <Title> | ||
|
|
||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
content missing?