Documentation

TaintedEval extends TaintedInput
in package

FinalYes

Table of Contents

Constants

ERROR_LEVEL  = -2
SHORTCODE  = 252

Properties

$code_location  : CodeLocation
$dupe_key  : string|null
$journey  : array<string|int, mixed>
$journey_text  : string
$message  : string

Methods

__construct()  : mixed
getFilePath()  : string
getIssueType()  : string
getJourneyMessage()  : string
getShortLocation()  : string
getShortLocationWithPrevious()  : string
getTaintTrace()  : array<int, DataFlowNodeData|array{label: string, entry_path_type: string}>
nodeToDataFlowNodeData()  : DataFlowNodeData
toIssueData()  : IssueData

Constants

Properties

$dupe_key

public string|null $dupe_key = null

$journey read-only

public array<string|int, mixed> $journey

Methods

__construct()

public __construct(string $message, CodeLocation $code_location, array<int, CodeLocation, label: string, entry_path_type: string}$journey, string $journey_text) : mixed
Parameters
$message : string
$code_location : CodeLocation
$journey : array<int, CodeLocation, label: string, entry_path_type: string}>
$journey_text : string

getFilePath()

public getFilePath() : string
Return values
string

getIssueType()

public static getIssueType() : string
Return values
string

getJourneyMessage()

public getJourneyMessage() : string
Return values
string

getShortLocation()

public getShortLocation() : string
Return values
string

getShortLocationWithPrevious()

public getShortLocationWithPrevious() : string
Return values
string

getTaintTrace()

public getTaintTrace() : array<int, DataFlowNodeData|array{label: string, entry_path_type: string}>
Return values
array<int, DataFlowNodeData|array{label: string, entry_path_type: string}>

nodeToDataFlowNodeData()

public static nodeToDataFlowNodeData(CodeLocation $location, string $label) : DataFlowNodeData
Parameters
$location : CodeLocation
$label : string
Return values
DataFlowNodeData

toIssueData()

public toIssueData(IssueData::SEVERITY_* $severity) : IssueData
Parameters
$severity : IssueData::SEVERITY_*
Return values
IssueData

        
On this page

Search results