Skip to main content

Provadyne — MISRA C:2012 analysis and ISO 26262 traceability engine

Project description

provadyne-engine

The Python analysis engine behind Provadyne — MISRA C:2012 violation detection (via cppcheck), ISO 26262-6 rule mapping, PDF report generation, and optional LLM fix suggestions.

This package is the shared core used by the Provadyne daemon, the GitHub Action, and the IDE extensions. It is normally driven through the daemon, but the modules are runnable directly.

Requirements

  • Python 3.11+
  • cppcheck 2.x on the PATH (provides the MISRA addon). Install via brew install cppcheck / apt-get install cppcheck.

Install

pip install provadyne-engine
# optional: external LLM providers for fix suggestions
pip install "provadyne-engine[llm-api]"

Usage

# Single file — exits 1 when violations are found, 0 when clean, 2 on error.
python -m engine.misra.checker path/to/source.c

# Multiple files, aggregated batch envelope
python -m engine.misra.checker --batch src/*.c

# Console-script equivalents (installed with the package)
provadyne-misra path/to/source.c
provadyne-stubgen --help

Output is JSON on stdout:

{
  "file_path": "/abs/path/source.c",
  "violations": [
    { "rule": "11.3", "severity": "required", "line": 9, "column": 6,
      "message": "Cast shall not be performed between pointer to object and pointer to different object type",
      "suggestion": null }
  ],
  "summary": { "total": 1, "required": 1, "advisory": 0, "mandatory": 0 },
  "analyzed_at": "2026-05-29T05:37:40Z",
  "engine_version": "0.1.0",
  "cppcheck_version": "2.20.0"
}

License

MIT.

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

provadyne_engine-0.3.0.tar.gz (129.5 kB view details)

Uploaded Source

Built Distribution

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

provadyne_engine-0.3.0-py3-none-any.whl (157.0 kB view details)

Uploaded Python 3

File details

Details for the file provadyne_engine-0.3.0.tar.gz.

File metadata

  • Download URL: provadyne_engine-0.3.0.tar.gz
  • Upload date:
  • Size: 129.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for provadyne_engine-0.3.0.tar.gz
Algorithm Hash digest
SHA256 bc32b705e872f238c93a13bba5bf6a3c092cc7ed14aa17bd65a7cb556436809e
MD5 3a5b60401020397801468103e4404f3c
BLAKE2b-256 e6a5816aee873b57a7d8a8e8a1ac3906c451f07d284772003676a83efb3b6a10

See more details on using hashes here.

File details

Details for the file provadyne_engine-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for provadyne_engine-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 efe980b2b71df8510c9fffe496fb414a0c53f901f48257945330e2e4b5be48fa
MD5 803e7ece77cbcc9c987a78e171b73bfe
BLAKE2b-256 8d635ee64e423240eb4ab90938ca1429bf8167da4ca4ed0876399db1863a0b7a

See more details on using hashes here.

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