C# Class Microsoft.CodeAnalysis.Sarif.Converters.CppCheckConverter

Inheritance: ToolFileConverterBase
Mostra file Open project: Microsoft/sarif-sdk Class Usage Examples

Public Methods

Method Description
Convert ( Stream input, IResultLogWriter output ) : void

Interface implementation that takes a CppChecker log stream and converts its data to a SARIF json stream. Read in CppChecker data from an input stream and write Result objects.

CppCheckConverter ( ) : System

Initializes a new instance of the CppCheckConverter class.

Private Methods

Method Description
ProcessCppCheckLog ( XmlReader reader, IResultLogWriter output ) : void

Method Details

Convert() public method

Interface implementation that takes a CppChecker log stream and converts its data to a SARIF json stream. Read in CppChecker data from an input stream and write Result objects.
public Convert ( Stream input, IResultLogWriter output ) : void
input Stream Stream of a CppChecker log
output IResultLogWriter SARIF json stream of the converted CppChecker log
return void

CppCheckConverter() public method

Initializes a new instance of the CppCheckConverter class.
public CppCheckConverter ( ) : System
return System