Scan C# and C/C++ Files (558 Views)
Reply
Occasional Contributor
EdDenzer
Posts: 2
Registered: ‎05-14-2013
Message 1 of 5 (558 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.

 

Thanks,

 

Ed

Please use plain text.
Occasional Visitor
Dandrew
Posts: 1
Registered: ‎08-13-2013
Message 2 of 5 (458 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...
Please use plain text.
Occasional Advisor
Jeremy-Chua
Posts: 6
Registered: ‎06-05-2013
Message 3 of 5 (278 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.

 

Please use plain text.
Frequent Advisor
AutoDan
Posts: 48
Registered: ‎12-11-2011
Message 4 of 5 (235 Views)

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

Hi,

 

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.

 

Cheers,

 

Dan

 

Please use plain text.
Occasional Visitor
aloha-tony
Posts: 1
Registered: ‎03-19-2014
Message 5 of 5 (215 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

Please use plain text.
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