File Scanner 1.0.0
A high-performance C++ malicious file scanner.
Loading...
Searching...
No Matches
scanner Namespace Reference

Classes

class  CsvHashDatabase
 An implementation of IHashDatabase that loads signatures from a CSV file. More...
 
class  FileLogger
 An implementation of ILogger that writes detections to a file. More...
 
interface  IFileHasher
 Defines the contract for a component that can hash a file's content. More...
 
interface  IHashDatabase
 Defines the contract for a database of malicious signatures. More...
 
interface  ILogger
 Defines the contract for a component that logs malicious detections. More...
 
interface  IScanner
 Defines the primary contract for the file scanning engine. More...
 
class  IScannerBuilder
 An interface for a builder that constructs a configured IScanner. More...
 
class  Md5FileHasher
 An implementation of IFileHasher that calculates MD5 hashes. More...
 
class  Scanner
 The concrete, internal implementation of the IScanner interface. More...
 
class  ScannerBuilder
 
struct  ScanResult
 Holds the final statistics of a completed scan operation. More...
 
class  ThreadPool
 Manages a pool of worker threads to execute tasks concurrently. More...
 

Functions

SCANNER_API std::ostream & operator<< (std::ostream &os, const ScanResult &result)
 Overload for streaming a ScanResult to an output stream.
 
SCANNER_API std::unique_ptr< IScannerBuilderCreateScannerBuilder ()
 Factory function to create a scanner builder instance.
 

Function Documentation

◆ CreateScannerBuilder()

std::unique_ptr< IScannerBuilder > scanner::CreateScannerBuilder ( )

Factory function to create a scanner builder instance.

Here is the caller graph for this function:

◆ operator<<()

std::ostream & scanner::operator<< ( std::ostream &  os,
const ScanResult result 
)

Overload for streaming a ScanResult to an output stream.

Parameters
osThe output stream (e.g., std::cout).
resultThe ScanResult to print.
Returns
A reference to the output stream.