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

Inheritance: ToolFileConverterBase
Exibir arquivo Open project: Microsoft/sarif-sdk

Public Methods

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

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

StaticDriverVerifierConverter ( ) : System

Initializes a new instance of the StaticDriverVerifierConverter class.

Private Methods

Method Description
ConvertToAnnotatedCodeLocationKind ( string sdvKind ) : AnnotatedCodeLocationKind
ConvertToResultLevel ( string sdvLevel ) : ResultLevel
ExtractCallerAndCallee ( string text, string &caller, string &callee ) : bool
IsHarnessOrRulesFiles ( string fileName ) : bool
ProcessLine ( string logFileLine, System.Result result ) : void
ProcessSdvDefectStream ( Stream input ) : System.Result

Method Details

Convert() public method

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

StaticDriverVerifierConverter() public method

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