operators

package
v0.0.0-...-a6020ae Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Overview

package operators contains actions functions that can be called from rules. These include extractors and analyzers but also standard functions such as string manipulation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnalyzerHelp

func AnalyzerHelp()

AnalyzerHelp outputs list of available analyzers

func AnalyzerRegister

func AnalyzerRegister(typ string, fun interface{}) error

AnalyzerRegister registers a user analyzer

func ChecksumHelp

func ChecksumHelp()

ChecksumHelp prints checksum help text

func ExtractorHelp

func ExtractorHelp()

func ExtractorRegister

func ExtractorRegister(typ string, e func(*types.Env, string) (string, error))

ExtractorRegister provides a method to register user extractor functions

func ExtractorSliceRegister

func ExtractorSliceRegister(typ string, e func(*types.Env, string, ...uint64) (string, error))

ExtractorSliceRegister provides a method to register user extractor functions that can slice a file

func Help

func Help()

OperatorHelp prints help text including signature for all registred actions

func Register

func Register(name string, fun interface{}) error

func RegisterChecksumFunction

func RegisterChecksumFunction(typ string, generator func() hash.Hash)

RegisterChecksumFunction provides a method to register user checksum function

Types

This section is empty.

Directories

Path Synopsis
Package analyzers contains different file analyzers.
Package analyzers contains different file analyzers.
Package extractors contains file extractors for various formats
Package extractors contains file extractors for various formats

Jump to

Keyboard shortcuts

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