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

Inheritance: ToolFileConverterBase
Afficher le fichier Open project: Microsoft/sarif-sdk Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
ProcessCppCheckLog ( XmlReader reader, IResultLogWriter output ) : void

Method Details

Convert() public méthode

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
Résultat void

CppCheckConverter() public méthode

Initializes a new instance of the CppCheckConverter class.
public CppCheckConverter ( ) : System
Résultat System