Scan C# and C/C++ Files (1185 Views)
Occasional Contributor
Posts: 2
Registered: ‎05-14-2013
Message 1 of 5 (1,185 Views)

Scan C# and C/C++ Files

How do I scan C# and C++ files within the Fortify Workbench without going through a MS Visual Studio Solution (sln) file.  That is the only way I can find to do it through the documentation.  When I launch an advanced scan on a directory with these types of files in them they don't show in the directory tree.  It's as if Fortify can't see .cs or .cpp files.  Did I miss a step in configuring Fortify or is there another way to get these files scanned?  It works fine with Java but most of my projects are in C# or C++ and I was under the impression Fortify could scan thoes as well.





Occasional Visitor
Posts: 1
Registered: ‎08-13-2013
Message 2 of 5 (1,071 Views)

Re: Scan C# and C/C++ Files

Hi were you able to find a solution to this problem ??? I'm experiencing the same situation...
Occasional Advisor
Posts: 6
Registered: ‎06-05-2013
Message 3 of 5 (891 Views)

Re: Scan C# and C/C++ Files

Hi all, the AWB scan wizard supports translatation and scanning of JavaScript, PHP, ASP, .NET, and SQL projects.

As C++ requires a compiler and build system such as make, you'll need to enter additional commands.


ALso, keep in mind that you'll need to have VS or MSBuild installed to build VS projects.


Frequent Advisor
Posts: 55
Registered: ‎12-11-2011
Message 4 of 5 (848 Views)

Re: Scan C# and C/C++ Files



I'm pretty new to Fortify SCA, but my understanding is that to do a directory based scan on a .NET App it needs to first be compiled. For ASP.NET Apps this means that ASPX must also be compiled.


We are currently building our solutions one a build server and then moving the output to a SCA Machine with VS2008-2012 installed for the scanning process.






Occasional Visitor
Posts: 1
Registered: ‎03-19-2014
Message 5 of 5 (828 Views)

Re: Scan C# and C/C++ Files

knowing it should work is good...a pointer to where in docs on how to configure for the compile would be better....

Thanks and wish all luck as the search continues

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.