C# 클래스 PHPAnalysis.Analysis.PHPDefinitions.FunctionsHandler

파일 보기 프로젝트 열기: jtvn/Eir-CTLLTL

공개 메소드들

메소드 설명
FindCondSanitizerByName ( string name ) : CondSanitizer

Function to find an XSS sanitizer function from the name.

FindCustomFunctionByName ( string name ) : Function

Finds a custom function (a user defined function found in the parsed PHP code) by it's name

FindSQLSanitizerByName ( string name ) : SQLSanitizer

Function to find SQLSanitizer by it's name, including any known alias.

FindSQLSinkByName ( string name ) : SQLSink

Function to find SQLSink by name

FindSourceByName ( string name ) : Source

Function to find Source by name.

FindStoredProviderMethods ( string name ) : List
FindXSSSanitizerByName ( string name ) : XSSSanitizer

Function to find an XSS sanitizer function from the name.

FindXSSSinkByName ( string name ) : XSSSink

Function to find XSSSink by name

LoadJsonSpecifications ( ) : void
LookupFunction ( string name ) : List

Finds all functions by name and returns a list of them

비공개 메소드들

메소드 설명
FunctionsHandler ( ) : System
LoadSpecification ( string id ) : JToken

Helper function to load ressources and return them as a JToken. Used to load files with the JSON specification.

메소드 상세

FindCondSanitizerByName() 공개 메소드

Function to find an XSS sanitizer function from the name.
public FindCondSanitizerByName ( string name ) : CondSanitizer
name string The name of the expected function
리턴 CondSanitizer

FindCustomFunctionByName() 공개 메소드

Finds a custom function (a user defined function found in the parsed PHP code) by it's name
public FindCustomFunctionByName ( string name ) : Function
name string The name of the function to find.
리턴 Function

FindSQLSanitizerByName() 공개 메소드

Function to find SQLSanitizer by it's name, including any known alias.
public FindSQLSanitizerByName ( string name ) : SQLSanitizer
name string The name of the SQLsanitizer to find
리턴 SQLSanitizer

FindSQLSinkByName() 공개 메소드

Function to find SQLSink by name
public FindSQLSinkByName ( string name ) : SQLSink
name string The name of the SQL sink to find
리턴 SQLSink

FindSourceByName() 공개 메소드

Function to find Source by name.
public FindSourceByName ( string name ) : Source
name string The name of the source to find
리턴 Source

FindStoredProviderMethods() 공개 메소드

public FindStoredProviderMethods ( string name ) : List
name string
리턴 List

FindXSSSanitizerByName() 공개 메소드

Function to find an XSS sanitizer function from the name.
public FindXSSSanitizerByName ( string name ) : XSSSanitizer
name string The name of the expected function
리턴 XSSSanitizer

FindXSSSinkByName() 공개 메소드

Function to find XSSSink by name
public FindXSSSinkByName ( string name ) : XSSSink
name string The name of the XSS sink to find
리턴 XSSSink

LoadJsonSpecifications() 공개 메소드

public LoadJsonSpecifications ( ) : void
리턴 void

LookupFunction() 공개 메소드

Finds all functions by name and returns a list of them
public LookupFunction ( string name ) : List
name string The name of the function to find
리턴 List