It says that Cppcheck has corresponding checkers (shiftNegative, shiftTooManyBits).
And I have the feeling that you can see some summary somewhere.. probably it would be good to write about this in the addon. If you look it up please let me know if there is something I can write in the addon.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
in addons/cert.py it says:
Cppcheck itself handles many CERT rules.
I am unable to locate the implementation or a list of these CERT-rules claimed to be implemented.
Can somebody point me to it?
KR
Stefan
I have the feeling that this is tracked on the CERT page somewhere.
If you look here:
https://wiki.sei.cmu.edu/confluence/display/c/INT34-C.+Do+not+shift+an+expression+by+a+negative+number+of+bits+or+by+greater+than+or+equal+to+the+number+of+bits+that+exist+in+the+operand
It says that Cppcheck has corresponding checkers (shiftNegative, shiftTooManyBits).
And I have the feeling that you can see some summary somewhere.. probably it would be good to write about this in the addon. If you look it up please let me know if there is something I can write in the addon.
I would like to add that the Cppcheck mapping on the CERT website seems to be quite incomplete.