Click here to Skip to main content
15,885,896 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i need to build a static code analyzer to parse C+++ code to detect memory leaks. I am new to thi parsing thing .I need to know which Parser to go with?
Posted

1 solution

You may have a look at an open source project having requirements similar to yours (see, for instance this list[^]).
Unfortunately yours won't be a simple task (at last I feel so).
 
Share this answer
 
Comments
Stefan_Lang 20-Jan-12 7:04am    
Hm, those are just tools for C++, not C+++ ...

Have a 5 anyway ;o)
CPallini 20-Jan-12 7:32am    
:-D
Emilio Garavaglia 21-Jan-12 13:14pm    
I will be an impossible task, since it can be demonstrated it is not MT-decidable.

Parsing can detect SOME potential leak sources, but there are other that can be proven only at runtime, and other that cannot be proved at all.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900