[dpdk-dev] cppcheck on dpdk
Ferruh Yigit
ferruh.yigit at intel.com
Tue Sep 25 18:55:58 CEST 2018
On 5/31/2018 12:22 PM, Ferruh Yigit wrote:
> On 5/16/2018 1:41 PM, Ferruh Yigit wrote:
>> Today after listening Colin's Static Analysis talk, I run cppcheck on v18.05-rc4
>> code and it revealed some issues, sharing here for anyone to interested in
>> fixing them. At least I encourage to check maintainers to check their own pieces.
>>
>> It is really easy to run cppcheck, in dpdk source folder:
>> cppcheck --force .
>>
>> With above command cppcheck verifies all #ifdef paths, some issues below seems
>> related to this and that is why these issues not seen in build tests.
>
> Some issues are fixed but we still have more, to trace them better submitted a
> bugzilla issue for it:
>
> https://dpdk.org/tracker/show_bug.cgi?id=58
v18.08-115-g55d6bb67c cppcheck report:
https://bugs.dpdk.org/show_bug.cgi?id=58#c6
More information about the dev
mailing list