wiki:check-misra-c

Check MISRA C rules

$ make misra
[100%] Generating MISRA
-- Found cppcheck: /usr/local/bin/cppcheck --enable=all --enable=unusedFunction --enable=style --quiet -I some/include/path  
-- Found PythonInterp: /usr/bin/python (found version "2.7.10") 
-- cppcheck executable: /usr/local/bin/cppcheck
-- cppcheck version: 1.84
-- python executable: /usr/bin/python
-- python version: 2.7.10
-- [FILE]: /Users/dsalychev/git/mcusim/misra/../avrsim.c
Checking /Users/dsalychev/git/mcusim/avrsim.c ...
[/Users/dsalychev/git/mcusim/avrsim.c:146]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.5]
[/Users/dsalychev/git/mcusim/avrsim.c:161]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.5]
[/Users/dsalychev/git/mcusim/avrsim.c:165]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.5]
[/Users/dsalychev/git/mcusim/avrsim.c:180]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.5]
[/Users/dsalychev/git/mcusim/avrsim.c:183]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.5]
[/Users/dsalychev/git/mcusim/avrsim.c:186]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.5]
[/Users/dsalychev/git/mcusim/avrsim.c:200]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.5]
[/Users/dsalychev/git/mcusim/avrsim.c:206]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.5]
[/Users/dsalychev/git/mcusim/avrsim.c:220]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.5]
[/Users/dsalychev/git/mcusim/avrsim.c:230]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.5]
[/Users/dsalychev/git/mcusim/avrsim.c:242]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.5]
[/Users/dsalychev/git/mcusim/avrsim.c:260]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.5]
[/Users/dsalychev/git/mcusim/avrsim.c:270]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.5]
[/Users/dsalychev/git/mcusim/avrsim.c:323]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.5]
[/Users/dsalychev/git/mcusim/avrsim.c:431]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.5]
[/Users/dsalychev/git/mcusim/avrsim.c:437]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.5]
[/Users/dsalychev/git/mcusim/avrsim.c:468]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.5]
[/Users/dsalychev/git/mcusim/avrsim.c:493]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.5]
[/Users/dsalychev/git/mcusim/avrsim.c:515]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.5]
[/Users/dsalychev/git/mcusim/avrsim.c:553]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.5]
[/Users/dsalychev/git/mcusim/avrsim.c:558]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.5]
[/Users/dsalychev/git/mcusim/avrsim.c:564]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.5]
[/Users/dsalychev/git/mcusim/avrsim.c:578]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.5]
[/Users/dsalychev/git/mcusim/avrsim.c:583]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.5]
[/Users/dsalychev/git/mcusim/avrsim.c:589]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.5]
[/Users/dsalychev/git/mcusim/avrsim.c:476]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-21.7]
[/Users/dsalychev/git/mcusim/avrsim.c:490]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-21.7]
Checking /Users/dsalychev/git/mcusim/misra/../avrsim.c.dump...

Rule violations found: 27

-- [FILE]: /Users/dsalychev/git/mcusim/misra/../decoder.c
Checking /Users/dsalychev/git/mcusim/decoder.c ...
[/Users/dsalychev/git/mcusim/decoder.c:749]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-10.1]
[/Users/dsalychev/git/mcusim/decoder.c:750]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-10.1]
[/Users/dsalychev/git/mcusim/decoder.c:752]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-10.1]
[/Users/dsalychev/git/mcusim/decoder.c:756]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-10.1]
[/Users/dsalychev/git/mcusim/decoder.c:779]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-10.1]
[/Users/dsalychev/git/mcusim/decoder.c:780]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-10.1]
[/Users/dsalychev/git/mcusim/decoder.c:781]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-10.1]
...
[/Users/dsalychev/git/mcusim/vcd_dump.c:58]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.5]
[/Users/dsalychev/git/mcusim/vcd_dump.c:166]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.5]
[/Users/dsalychev/git/mcusim/vcd_dump.c:171]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.5]
[/Users/dsalychev/git/mcusim/vcd_dump.c:217]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.5]
[/Users/dsalychev/git/mcusim/vcd_dump.c:233]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.5]
[/Users/dsalychev/git/mcusim/vcd_dump.c:57]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.6]
[/Users/dsalychev/git/mcusim/vcd_dump.c:75]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.6]
[/Users/dsalychev/git/mcusim/vcd_dump.c:80]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.6]
[/Users/dsalychev/git/mcusim/vcd_dump.c:83]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.6]
[/Users/dsalychev/git/mcusim/vcd_dump.c:95]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.6]
[/Users/dsalychev/git/mcusim/vcd_dump.c:140]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.6]
[/Users/dsalychev/git/mcusim/vcd_dump.c:143]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.6]
[/Users/dsalychev/git/mcusim/vcd_dump.c:165]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.6]
[/Users/dsalychev/git/mcusim/vcd_dump.c:169]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.6]
[/Users/dsalychev/git/mcusim/vcd_dump.c:180]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.6]
[/Users/dsalychev/git/mcusim/vcd_dump.c:185]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.6]
[/Users/dsalychev/git/mcusim/vcd_dump.c:220]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.6]
[/Users/dsalychev/git/mcusim/vcd_dump.c:222]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-15.6]
[/Users/dsalychev/git/mcusim/vcd_dump.c:30]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-21.6]
[/Users/dsalychev/git/mcusim/vcd_dump.c:32]: (style) misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-21.10]
Checking /Users/dsalychev/git/mcusim/misra/../vcd_dump.c.dump...

Rule violations found: 38

[100%] Built target misra
Last modified 5 weeks ago Last modified on Oct 10, 2018, 11:20:36 AM