Safety Manual#
Note
Document header
Baselibs Safety Manual
|
status: draft
security: NO
safety: ASIL_B
|
||||
Introduction/Scope#
This is the safety manual for baselibs module which is a collection of several utilities of common use.
Assumed Platform Safety Requirements#
For the Baselibs module the following safety related stakeholder requirements are assumed to define the top level functionality (purpose) of the module. I.e. from these all the feature and component requirements implemented are derived.
Base Libraries (stkh_req__functional_req__base_libraries) - is QM, but some of the libraries combine this with the next requirement
Automotive Safety Integrity... (stkh_req__dependability__automotive_safety)
Programming languages for a... (stkh_req__dev_experience__prog_languages) - is QM, but some of the libraries combine this with the previous requirement
This means that not all baselibs libraries and language API are provided in ASIL B. So for Baselibs the definition of the assumed safety requirement(s) of each of the ASIL B libraries are defined in the following feature requirements:
bitmanipulation library: Bit Manipulation Library (feat_req__baselibs__bitmanipulation)
concurrency library: Concurrency Library (feat_req__baselibs__concurrency_library)
containers library: Container Library (feat_req__baselibs__containers_library)
filesystem library: Filesystem-Library (feat_req__baselibs__filesystem_library)
flatbuffers library: FlatBuffers-Library (feat_req__baselibs__flatbuffers_library)
json library: JSON-Library (feat_req__baselibs__json_library)
memory library: Memory Library (feat_req__baselibs__memory_library)
result library: Exception-Free Development ... (feat_req__baselibs__result_library)
safecpp, static_reflection_with_serialization, utils Core Software Utilities (feat_req__baselibs__core_utilities)
Assumptions of Use#
Assumptions on the Environment#
List of additional AoUs expected from the environment the module runs on:
No needs passed the filters
Assumptions on the User#
List of AoUs on the user of the module of this safety manual:
Title |
ID |
Status |
|---|---|---|
Access control |
valid |
|
Bitmask Enum Value Constraints |
valid |
|
Check Capacity |
valid |
|
Container State Verification |
valid |
|
Cooperative Cancellation Handling |
valid |
|
Element Lifetime and Ownership |
valid |
|
Element Type Requirements |
valid |
|
Error Domain Implementation |
valid |
|
Error Handling |
valid |
|
Error Reaction and Safe State |
valid |
|
External Synchronization Required for Concurrent Access |
valid |
|
FlatBuffers access control |
valid |
|
FlatBuffers buffer verification before access |
valid |
|
FlatBuffers buffer version check before access |
valid |
|
FlatBuffers data integrity |
valid |
|
Index Bounds Checking |
valid |
|
Integral Type Constraints |
valid |
|
Iterator Validity |
valid |
|
JSON data integrity |
valid |
|
Low-Level Use Only |
valid |
|
Memory Management on Task Submission Failure |
valid |
|
Memory Resource Management |
valid |
|
Path Validation |
valid |
|
Performance |
valid |
|
Resource Lifetime |
valid |
|
Result Value Handling |
valid |
|
Supported Path Formats |
valid |
|
Thread Pool Sizing |
valid |
|
Thread Safety |
valid |
|
Thread Safety |
valid |
|
Thread Safety |
valid |
|
Thread Safety |
valid |