C# Class Microsoft.CodeAnalysis.IL.Rules.DoNotModifyStackProtectionCookie

Inheritance: BinarySkimmerBase
显示文件 Open project: Microsoft/binskim

Public Methods

Method Description
Analyze ( BinaryAnalyzerContext context ) : void
CanAnalyze ( BinaryAnalyzerContext context, string &reasonForNotAnalyzing ) : AnalysisApplicability

Private Methods

Method Description
CookieOffsetValid ( BinaryAnalyzerContext context, SafePointer boundsCheck ) : bool
LogCouldNotLocateCookie ( BinaryAnalyzerContext context ) : void
LogFailure ( BinaryAnalyzerContext context, string cookie ) : void
LogInvalidCookieOffset ( BinaryAnalyzerContext context ) : void
LogInvalidCookieOffsetForKnownPackedFile ( BinaryAnalyzerContext context ) : void
Validate32BitImage ( BinaryAnalyzerContext context ) : bool
Validate64BitImage ( BinaryAnalyzerContext context ) : bool

Method Details

Analyze() public method

public Analyze ( BinaryAnalyzerContext context ) : void
context Microsoft.CodeAnalysis.IL.Sdk.BinaryAnalyzerContext
return void

CanAnalyze() public method

public CanAnalyze ( BinaryAnalyzerContext context, string &reasonForNotAnalyzing ) : AnalysisApplicability
context Microsoft.CodeAnalysis.IL.Sdk.BinaryAnalyzerContext
reasonForNotAnalyzing string
return AnalysisApplicability