Skip to main content

LOBSTER Tool for ISO C++

Project description

LOBSTER

The Lightweight Open BMW Software Traceability Evidence Report allows you to demonstrate software traceability and requirements coverage, which is essential for meeting standards such as ISO 26262.

This package contains a tool extract tracing tags from ISO C or C++ source code. This tool is making use of a clang-tidy hack, and for this to work you need to build our clang-tidy fork and place the clang-tidy binary somewhere on your PATH.

Instructions for clang-tidy here.

This tool works using a custom clang-tidy checker lobster-trace which emits tracing information as clang checks.

We plan to rework this tool to be a stand-alone clang tool in the future.

Tools

  • lobster-cpp: Extract requirements from C/C++ code using a clang-tidy hack

Usage

This tool supports C/C++ code.

For this you can embedd tracing tags like this:

#include <string>
class Potato {
public:
    std::string potato() {
        // lobster-trace: something.example
        return "potato";
    }
};

You can add justifications as well:

#include <string>
class Potato {
public:
    std::string potato() {
        // lobster-exclude: Reason to justify the exlude
        return "potato";
    }
};

Copyright & License information

The copyright holder of LOBSTER is the Bayerische Motoren Werke Aktiengesellschaft (BMW AG), and LOBSTER is published under the GNU Affero General Public License, Version 3.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bmw_lobster_tool_cpp-1.0.2-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file bmw_lobster_tool_cpp-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for bmw_lobster_tool_cpp-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cc3acc929f8cc45ec909885d4fa95218cc9ca8022d30d7bfe7214fb28210f644
MD5 f99d3d0bc8bc060ff712edee40f644cd
BLAKE2b-256 d3d02a5867e0d7755a6ca814d8e3ef874de4f8ba00e5405fe8f8c4575471e172

See more details on using hashes here.

Provenance

The following attestation bundles were made for bmw_lobster_tool_cpp-1.0.2-py3-none-any.whl:

Publisher: package.yml on bmw-software-engineering/lobster

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page