Hello, While looking for some project to contribute on for GSOC 2021, I came across project about extending static analyser pass, especially the part that involve adding C++ support to it.
I have already used -fanalyzer option ( which I initially came to know about via some blog post ) a couple of times to make debugging process of some of my C projects easier and faster ( especially thanks to the part where it also provides CWE code of the error along with the error message ) but always wanted a C++ version of it ever since ( as that is the language I use the most ), and finding it as a project idea for this years GSOC sounded a perfect opportunity for me to try and contribute something to this project. I have already built the compiler from the source code and was able to run a testsuit for it as mentioned in “Before you apply” section of the “Summer Of Code” page of gcc (https://gcc.gnu.org/wiki/SummerOfCode <https://gcc.gnu.org/wiki/SummerOfCode>), currently I am in process of reading this ( https://gcc.gnu.org/onlinedocs/gccint/Analyzer-Internals.html#Analyzer-Internals <https://gcc.gnu.org/onlinedocs/gccint/Analyzer-Internals.html#Analyzer-Internals>) documentation to understand how things are going on under the hood and trying to make sense out of the source code of the analyzer itself with the help of it. I have some questions before applying - Am I on right path before applying for the project ? - Is there a way I can contribute some small bug fixes before applying for the real project itself ( although I am scanning the bug tracker(https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=SUSPENDED&bug_status=WAITING&bug_status=REOPENED&bug_status=VERIFIED&component=analyzer&product=gcc <https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=SUSPENDED&bug_status=WAITING&bug_status=REOPENED&bug_status=VERIFIED&component=analyzer&product=gcc>) for any potential quick fix but any help in finding one would be a great ) ? - Is there anything else I should be aware of before applying ? Thanks, Ankur