literals

package
v0.0.0-...-983fa49 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Obfuscators contains all types which implement the obfuscator Interface
	Obfuscators = []obfuscator{
		simple{},
		swap{},
		split{},
		shuffle{},
		seed{},
	}

	TestObfuscator string
)

Functions

func Obfuscate

func Obfuscate(rand *mathrand.Rand, file *ast.File, info *types.Info, linkStrings map[*types.Var]string) *ast.File

Obfuscate replaces literals with obfuscated anonymous functions.

Types

This section is empty.

Jump to

Keyboard shortcuts

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