Versions in this module Expand all Collapse all v0 v0.101.1 Feb 9, 2019 Changes in this version + const AcMaxdepth + const AcMindepth + const AcOnly + const Break + const BytecodeModeAuto + const BytecodeModeField + const BytecodeModeInterpreter + const BytecodeModeJit + const BytecodeModeOff + const BytecodeModeTest + const BytecodeSecurityField + const BytecodeTimeout + const BytecodeTrustAll + const BytecodeTrustNothing + const BytecodeTrustSigned + const Clean + const CountPrecision + const CountSigsAll + const CountSigsOfficial + const CountSigsUnofficial + const DbBytecode + const DbBytecodeStats + const DbBytecodeUnsigned + const DbCompiled + const DbCvdnotmp + const DbDirectory + const DbEnhanced + const DbOfficial + const DbOfficialOnly + const DbOptions + const DbPcreStats + const DbPhishing + const DbPhishingUrls + const DbPua + const DbPuaExclude + const DbPuaInclude + const DbPuaMode + const DbSigned + const DbStdopt + const DbTime + const DbUnsigned + const DbVersion + const DbYaraExclude + const DbYaraOnly + const DisableCache + const DisablePEStats + const ELast + const Eacces + const Earg + const Ebusy + const Ebytecode + const EbytecodeTestfail + const Ecreat + const Ecvd + const Edup + const Eformat + const Elock + const Emalfdb + const Emap + const Emaxfiles + const Emaxrec + const Emaxsize + const Emem + const EngineAcMaxdepth + const EngineAcMindepth + const EngineAcOnly + const EngineBytecodeMode + const EngineBytecodeSecurity + const EngineBytecodeTimeout + const EngineDbOptions + const EngineDbTime + const EngineDbVersion + const EngineKeeptmp + const EngineMaxFiles + const EngineMaxFilesize + const EngineMaxRecursion + const EngineMaxScansize + const EngineMinCcCount + const EngineMinSsnCount + const EngineOptionsDisableCache + const EngineOptionsDisablePECerts + const EngineOptionsDisablePEStats + const EngineOptionsForceToDisk + const EngineOptionsNone + const EngineOptionsPEDumpCerts + const EnginePuaCategories + const EngineTmpdir + const Enullarg + const Eopen + const Eparse + const Eread + const Eseek + const Estat + const Estate + const Etimeout + const Etmpdir + const Etmpfile + const Eunlink + const Eunpack + const Everify + const Ewrite + const Forcetodisk + const InitDefault + const Keeptmp + const MaxEmbeddedpe + const MaxFiles + const MaxFilesize + const MaxHtmlnormalize + const MaxHtmlnotags + const MaxIconspe + const MaxPartitions + const MaxRecursion + const MaxScansize + const MaxScriptnormalize + const MaxZiptypercg + const MinCCCount + const MinSSNCount + const MsgInfoVerbose + const MsgWarn + const NsgError + const PuaCategories + const ScanDevCollectPerformanceInfo + const ScanDevCollectSHA + const ScanGeneralAllmatches + const ScanGeneralCollectMetadata + const ScanGeneralHeuristics + const ScanGeneralHeuristicsPrecendence + const ScanHeuristicBroken + const ScanHeuristicEncryptedArchive + const ScanHeuristicEncryptedDoc + const ScanHeuristicExceedsMax + const ScanHeuristicMacros + const ScanHeuristicPartitionIntxn + const ScanHeuristicPhishingCloak + const ScanHeuristicPhishingSSLMismatch + const ScanHeuristicStructure + const ScanHeuristicStructuredSSNNormal + const ScanHeuristicStructuredSSNStripped + const ScanMailPartialMessage + const ScanParseArchive + const ScanParseElf + const ScanParseHTML + const ScanParseHwp3 + const ScanParseMail + const ScanParseOle2 + const ScanParsePE + const ScanParsePdf + const ScanParseSwf + const ScanParseXMLDocs + const StatsTimeout + const Success + const Tmpdir + const Virus + func CloseMemory(f *Fmap) + func CountSigs(path string, options uint) (uint, error) + func DBDir() string + func Debug() + func DeinitCrypto() + func FreeSettings(s *Settings) error + func Init(flags uint) error + func InitCrypto() + func Retflevel() uint + func Retver() string + func SetMsgCallback(cb CallbackMsg) + func StatChkDir(stat *Stat) bool + func StatChkReload(stat *Stat) (bool, error) + func StatFree(stat *Stat) error + func StatIniDir(dir string, stat *Stat) error + func StrError(errno ErrorCode) string + type BytecodeMode C.enum_bytecode_mode + type BytecodeSecurity C.enum_bytecode_security + type Callback struct + type CallbackHash func(fd int, size uint64, md5 []byte, virusName string, context interface{}) + type CallbackMsg func(m Msg, full, msg string, context interface{}) + type CallbackPostScan func(fd int, result ErrorCode, virname string, context interface{}) ErrorCode + type CallbackPreCache func(fd int, ftype string, context interface{}) ErrorCode + type CallbackPreScan func(fd int, ftype string, context interface{}) ErrorCode + type CallbackPread func(handle *interface{}, buf []byte, offset int64) int64 + type Cvd C.struct_cl_cvd + type Engine C.struct_cl_engine + func New() *Engine + func (e *Engine) Addref() error + func (e *Engine) ApplySettings(s *Settings) error + func (e *Engine) Compile() error + func (e *Engine) CopySettings() *Settings + func (e *Engine) Free() int + func (e *Engine) GetNum(field EngineField) (uint64, error) + func (e *Engine) GetString(field EngineField) (string, error) + func (e *Engine) Load(path string, dbopts uint) (uint, error) + func (e *Engine) ScanDesc(filename string, desc int, opts *ScanOptions) (string, uint, error) + func (e *Engine) ScanFile(path string, opts *ScanOptions) (string, uint, error) + func (e *Engine) ScanFileCb(path string, opts *ScanOptions, context interface{}) (string, uint, error) + func (e *Engine) ScanMapCb(fmap *Fmap, filename string, opts *ScanOptions, context interface{}) (string, uint, error) + func (e *Engine) SetHashCallback(cb CallbackHash) + func (e *Engine) SetNum(field EngineField, num uint64) error + func (e *Engine) SetPostScanCallback(cb CallbackPostScan) + func (e *Engine) SetPreCacheCallback(cb CallbackPreCache) + func (e *Engine) SetPreScanCallback(cb CallbackPreScan) + func (e *Engine) SetString(field EngineField, s string) error + type EngineField C.enum_cl_engine_field + type ErrorCode C.cl_error_t + func (e ErrorCode) String() string + type Fmap C.cl_fmap_t + func FmapOpenHandle(handle *interface{}, offset int64, length uint32, cb CallbackPread, age bool) *Fmap + func FmapOpenMemory(buf []byte) *Fmap + func OpenMemory(start []byte) *Fmap + func (f *Fmap) Close() + type Msg C.enum_cl_msg + type ScanOptions struct + Dev uint32 + General uint32 + Heuristic uint32 + Mail uint32 + Parse uint32 + type Settings C.struct_cl_settings + type Stat C.struct_cl_stat