User Activity

  • Posted a comment on discussion General Discussion on cppcheck

    Thanks for your fast response! this code works (without ruletext and only single file) cppcheck --dump BLDCManagement.c python "C:\Program Files\Cppcheck\addons\misra.py" BLDCManagement.c.dump But in this case I have to check every single file and I dont know how to collect all output-data to a xml-report-file. is there any possibility to include the path of the misra ruletext inside of the .cppcheck-file ? (like by code-example below) or just a fix path in the misra.py-file ? <?xml version="1.0"...

  • Posted a comment on discussion General Discussion on cppcheck

    Hello! I have some problems with the misra-module especially when I'm using the recommended script-file misra.json. For the records, I'm using the windows version of cppcheck (1.89). " Failed to open misra.json " the json-File is in the addons-folder as well in the main-folder of cppcheck. My main goal is to realize a after-build-batch-script for the programm KEIL uVision5. Could someone give me an advice to solve that problem ? For the records, the windows gui is working (sometimes) fine with the...

  • Posted a comment on discussion Development on cppcheck

    Thanks for the quick response. That would be very nice! Best regards Daniel

  • Posted a comment on discussion Development on cppcheck

    Unfortunately, my question was not precisely enough I have already implemented the rule texts for all MISRA rules by using misra_rules.txt. But the following rules, see below, don't have the original rule text, although these rules have a rule text in the file misra_rules.txt. The reason is, cppcheck have this rules already integrated without misra.py. cppcheck = ['1.3', '2.1', '2.2', '2.4', '2.6', '8.3', '12.2', '13.2', '13.6', '17.5', '18.1', '18.6', '20.6', '22.1', '22.2', '22.4', '22.6'] So my...

  • Posted a comment on discussion Development on cppcheck

    Hello! Would it be possible to integrate these rules, see below, with MISRA rule texts too ? Would be easier for the user, who uses the MISRA 2012 addon of cppcheck. # rules handled by cppcheck cppcheck = ['1.3', '2.1', '2.2', '2.4', '2.6', '8.3', '12.2', '13.2', '13.6', '17.5', '18.1', '18.6', '20.6', '22.1', '22.2', '22.4', '22.6'] Best regards and thanks in advance. Daniel

View All

Personal Data

Username:
holyraspi
Joined:
2018-07-18 07:34:02

Projects

  • No projects to display.

Personal Tools