I am new to Metasploit and exploring its functionalities. I want to know if Metasploit Framework can be used to scan for vulnerabilities (buffer overflow etc.) in c/c++ code files. Is there a way to pass source code files to Metasploit and find out what bits of code are making it vulnerable to hackers.
Any help would be highly appreciated. Thank you in advance.