core

package
v0.0.0-...-01fb254 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2020 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DaemonMode = false
View Source
var DetectedMalwares []*analysis.Executable

Functions

func Initialize

func Initialize(daemonMode bool) error

Initialize tools that need to stay available over multiple analysis (Ex: it doesn't make sense to initialize YARA rules every time a new file is being analyzed)

func Stop

func Stop() error

func SyncDatabase

func SyncDatabase() error

Types

type Analysis

type Analysis struct {
	Files             []string
	FileBeingAnalysed string
	IsRunning         bool
	Progress          float64
	Logs              []LogEntry
}

func (*Analysis) AddError

func (currentAnalysis *Analysis) AddError(msg string)

func (*Analysis) AddInfo

func (currentAnalysis *Analysis) AddInfo(msg string)

func (*Analysis) Start

func (currentAnalysis *Analysis) Start() error

type LogEntry

type LogEntry struct {
	Content string
	IsError bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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