sanitizer

package
Version: v0.1.6 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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto