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 Distribution

bmw_lobster_tool_cpp-0.9.18.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file bmw_lobster_tool_cpp-0.9.18.tar.gz.

File metadata

  • Download URL: bmw_lobster_tool_cpp-0.9.18.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for bmw_lobster_tool_cpp-0.9.18.tar.gz
Algorithm Hash digest
SHA256 c43c6fa6dc2470e7c9b04445280e49812d065a7f7c1fd3c28776e0ce1ec92fe9
MD5 e24008507aba2a597e8bff77910737af
BLAKE2b-256 e2e282183acc2e23861b220e9a743bc53cb31d866d8ef6251f09595364796921

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bmw_lobster_tool_cpp-0.9.18-py3-none-any.whl
Algorithm Hash digest
SHA256 47a96a8ea4d887c3f29e2b9735ac02078a9aaa915a9e7da3c57e7cdac7169c7f
MD5 222375e26aec54e2e252b5a9f23dd460
BLAKE2b-256 3f7caeedee3f77d005f954fa1a705942c30797f06d3032961061692dc350fc9e

See more details on using hashes here.

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