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.3-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for bmw_lobster_tool_cpp-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 de32fc5cf1e0b0623272560432fbb7e5dd7ca2cd5aa812600b280ce171517e61
MD5 ce501bbf13a896a8f94be2a9e17aeb63
BLAKE2b-256 39d123c9e9fb58ec9b4d27362df9b34621ad64d4cbd58f9cf4fbfd0ce3961499

See more details on using hashes here.

Provenance

The following attestation bundles were made for bmw_lobster_tool_cpp-1.0.3-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