Hi everybody,
I need that the CppCheck find occurrences of CWE in C files. Do you know whether he is able to find this?
I am using this parameter: "cppcheck --force --enable=all --xml-version=2 file.c"
But he doesn't report CWE occurrences in files that I'm analyzing.
Can someone help me?
Someone can suggest me one tool of static analyze of C code that reports CWE? I can't make it with CppCheck.
cppcheck 1.77 has CWE mapping for all messages. What version do you use? Does it show any messages for your source code?
Good morning Alexander, Thanks for your answer.
I'm using the 1.72 version of CppCheck for Ubuntu 64 bits.
"Does it show any messages to your source code?" Yes! I'm using this parameter: cppcheck --force --enable=all --xml-version=2 file.c
Is there any additional configuration that I can make to it show CWE messages.
1.72 does not support CWE afaik. You should update to the latest cppcheck version.
Log in to post a comment.
Hi everybody,
I need that the CppCheck find occurrences of CWE in C files. Do you know whether he is able to find this?
I am using this parameter: "cppcheck --force --enable=all --xml-version=2 file.c"
But he doesn't report CWE occurrences in files that I'm analyzing.
Can someone help me?
Someone can suggest me one tool of static analyze of C code that reports CWE?
I can't make it with CppCheck.
cppcheck 1.77 has CWE mapping for all messages.
What version do you use?
Does it show any messages for your source code?
Good morning Alexander,
Thanks for your answer.
I'm using the 1.72 version of CppCheck for Ubuntu 64 bits.
"Does it show any messages to your source code?"
Yes! I'm using this parameter: cppcheck --force --enable=all --xml-version=2 file.c
Is there any additional configuration that I can make to it show CWE messages.
1.72 does not support CWE afaik. You should update to the latest cppcheck version.