Hi, Thanks for response. Sorry I forgot to mention that I'm using this file for Misra check. https://github.com/jubnzv/cppcheck/blob/fix-misra-8-2-crash/addons/misra.py I attached the dump file, please take a look. Thanks
Hi, Thanks for response. Sorry I forgot to mentioned that I'm using this file for Misra check. https://github.com/jubnzv/cppcheck/blob/fix-misra-8-2-crash/addons/misra.py I attached the dump file, please take a look. Thanks
Hi, I'm using Cppcheck 2.4.1. The full cppcheck commands: cppcheck --dump Misra_Test.c "C:\Program Files\Cppcheck\addons\misra.py" --rule-texts="E:\Cppcheck\misra_rules.txt" Misra_Test.c.dump I attached my source code. Sorry it's quite messy since it's only for test, please just focus on the rule 8.2. My whole check results: E:\Minh\Programming\Coding_Standard\MISRA\Misra_Check\c_test>cppcheck --dump Misra_Test.c Checking Misra_Test.c ... E:\Minh\Programming\Coding_Standard\MISRA\Misra_Check\c_test>python...
Hi, When the function has no input parameter, I got false positive with misra-c2012-8.2. [rule_test.h:4] (warning) Function types shall be in prototype form with named parameters (Required) [misra-c2012-8.2]
Bassam, thank you very much. The GUI works well when I change the path of Misra file without spaces. But it will be more convenient if the GUI can be fixed to deal with this issue in the upcoming version. Thanks guys for the great tool. BTW, I'm trying to install the cppcheclipse on Eclipse but always get the error of "No repository found at https://dl.bintray.com/cppcheclipse/p2/updates/" Which thread can I post this issue? Thanks.
Hello guys I'm using the "Cppcheck-2.4.1" version on Windows 10 and I got the following error when runing Misra checking. Bailing out from checking src\Debug.c since there was an internal error: Failed to execute addon (command: 'python.exe "C:\Program Files\Cppcheck\addons\misra.py" --cli --rule-texts=C:/Program Files/Cppcheck/addons/misra_rules.txt E:\cppcheck\misra_check-cppcheck-build-dir\Debug.a1.dump') I tried to run the command (displayed in the error message) on CLI and got the error as below:...
Hello guys I'm using the "Cppcheck-2.4.1" version on Windows 10 and I got the following error when runing Misra checking. Bailing out from checking src\Debug.c since there was an internal error: Failed to execute addon (command: 'python.exe "C:\Program Files\Cppcheck\addons\misra.py" --cli --rule-texts=C:/Program Files/Cppcheck/addons/misra_rules.txt E:\cppcheck\misra_check-cppcheck-build-dir\Debug.a1.dump') I tried to run the command (displayed in the error message) on CLI and got the error as below:...