sanitizer

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package sanitizer contains the logic responsible for determining whether sources are sanitized before they are being sent to sinks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sanitizer

type Sanitizer struct {
	// Call is the underlying call that performs sanitization
	Call *ssa.Call
}

Sanitizer removes the taint.

func (Sanitizer) Dominates

func (s Sanitizer) Dominates(target ssa.Instruction) bool

Dominates returns true if the Sanitizer dominates the supplied instruction. In the context of SSA, domination implies that if instructions X executes and X dominates Y, then Y is guaranteed to execute and to be executed after X.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL