Skip to content

Commit 1ca1552

Browse files
committed
Remove misra from premium manual
1 parent b7ad7fd commit 1ca1552

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

man/manual-premium.md

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1042,28 +1042,6 @@ Cppcheck is distributed with a few addons which are listed below.
10421042

10431043
## Supported addons
10441044

1045-
### `misra.py`
1046-
1047-
[`misra.py`](https://github.com/danmar/cppcheck/blob/main/addons/misra.py) is used to verify compliance with MISRA C 2012, a proprietary set of guidelines to avoid questionable code, developed for embedded systems.
1048-
1049-
The `misra.py` script does not provide rule texts, those should be downloaded from [MISRA](https://gitlab.com/MISRA/MISRA-C/MISRA-C-2012/tools).
1050-
1051-
To load the rule texts, create a configuration file. Example `misra.json`:
1052-
1053-
{
1054-
"script": "misra.py",
1055-
"args": [
1056-
"--rule-texts=misra_c_2012__headlines_for_cppcheck - AMD1+AMD2.txt"
1057-
],
1058-
"ctu": true
1059-
}
1060-
1061-
To use that `misra.json` in Cppcheck analysis, use option `--addon=misra.json`:
1062-
1063-
cppcheck --addon=misra.json --enable=style somefile.c
1064-
1065-
Misra checkers in open source Cppcheck only cover MISRA rules partially and for full coverage use Cppcheck Premium.
1066-
10671045
### `namingng.py`
10681046

10691047
[`namingng.py`](https://github.com/danmar/cppcheck/blob/main/addons/namingng.py) allows you to configure and check naming conventions.

0 commit comments

Comments
 (0)