OWASP O2 Platform Blog

Fortify FVDL Files – Simple Viewer based on PropertyGrid

The .NET PropertyGrid Control can be a very powerful way to visualize objects.

For exampe, the script below creates a WinForm with just a PropertyGrid Control (and some drag and drop support to load up the files)

var topPanel = "Util - FVDL viewer (just PropertyGrid) - drop file to load".popupWindow(400, 400);
topPanel.insert_LogViewer();
var propertyGrid = topPanel.add_PropertyGrid().helpVisible(false);   
Action<string> loadAndShowFile =   
    (file)=> O2Thread.mtaThread(
        ()=>    propertyGrid.show(new API_Fortify().convertToFortifyScan(file)));

propertyGrid.onDrop(loadAndShowFile);           
//O2File:API_Fortify_1_6.cs
//O2Ref:O2_Misc_Microsoft_MPL_Libs.dll 

which looks like this when opened

…and like this after dropping the 36Mb dspace.fvdl file:

Since most Fortify_* objects have been designed as lists, the PropertyGrid will show them in special pop-up windows:

CalledWithNoDefs

Contexts

Descriptions

Scanned Files

Sinks

Snippets

Sources

Vulnerabilities

Vulnerabilities -> Traces

July 18, 2011 - Posted by | Fortify, Interoperability

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: