[cfe-dev] CopyPaste detection clang static analyzer

Sean McBride sean at rogue-research.com
Fri Feb 7 07:32:52 PST 2014


On Fri, 7 Feb 2014 06:53:22 -0800, Marshall Clow said:

>I’d love to see a tool with this kind of functionality as part of llvm.
>There is a commercial tool called “Pattern Insight” that does stuff like
>this. http://patterninsight.com/
>
>Here’s another use case for you.
>
>I’ve been in groups that have used it in the past (careful locution; I
>haven’t personally used it), and occasionally it finds some amazing things.

Another example: PVS Studio found several copy-paste bugs within the clang codebase:
<http://www.viva64.com/en/b/0108/>

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada




More information about the cfe-dev mailing list