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+
cppcheck2.x on thePATH(provides the MISRA addon). Install viabrew 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file provadyne_engine-0.1.0.tar.gz.
File metadata
- Download URL: provadyne_engine-0.1.0.tar.gz
- Upload date:
- Size: 111.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31c2fc22a0db520102a4e5b2075f7f64ab0150d8928e334dc00a1aa6975f85db
|
|
| MD5 |
4aaa8481f9f773b7655d24f31c4aac52
|
|
| BLAKE2b-256 |
ec575379c9c30b53b9be85add2e184294b0ecd04f577eac956de7f096f182118
|
File details
Details for the file provadyne_engine-0.1.0-py3-none-any.whl.
File metadata
- Download URL: provadyne_engine-0.1.0-py3-none-any.whl
- Upload date:
- Size: 136.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81537378fee75f68dffdd7a00034e9880cbe0f5ff60d6157e7780f4e00fa6f7d
|
|
| MD5 |
e079ddde58d060b9973d166d79c02e4e
|
|
| BLAKE2b-256 |
f165c462ce073828277cf57e0629a038c3c80b835540c0c6664add74339cfd99
|