Skip to main content

LOBSTER Tool for ISO C/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.

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

bmw_lobster_tool_cpp-0.9.19-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for bmw_lobster_tool_cpp-0.9.19-py3-none-any.whl
Algorithm Hash digest
SHA256 24d4161f0d515538f721b55a1b7e06d0b9901672d199b5e28008c4edd4823efb
MD5 a2e18884288a522fe7c9aae357ca803d
BLAKE2b-256 f10569c9c1378509b6116824f518bf1b4dffa9220d468ec0213e03b0b588bdef

See more details on using hashes here.

Provenance

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

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

Attestations:

Supported by

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