transferFunction

package
v0.0.0-...-ad4f0ff Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PlainFF

type PlainFF func(lattice.Valuer) (lattice.Valuer, error)

PlainFF describes a plain flow function without any connection to an instruction.

type Semanticer

type Semanticer interface {
	// TransferFunction returns a PlainFF which describes the change of a lattice.Valuer caused by node
	TransferFunction(node ssa.Instruction, pointers *pointer.Result) PlainFF
}

Semanticer is an interface for a transfer function A transfer function describes the change in a Lattice caused by an expression. In our implementation, an expression is represented by a ssa.Instruction.

Jump to

Keyboard shortcuts

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