Classes | |
| struct | Item |
Public Member Functions | |
| DelayedScanQueue (YaraEngine &y) | |
| void | enqueue (const std::string &path, int delay_ms=30000) |
| void | run () |
| void | stop () |
Private Attributes | |
| YaraEngine & | yara |
| std::mutex | mtx |
| std::vector< Item > | queue |
| std::atomic< bool > | active {true} |
Definition at line 858 of file BastionGuard-ransomware-realtime.cpp.
|
inline |
Definition at line 872 of file BastionGuard-ransomware-realtime.cpp.
References yara.
|
inline |
Definition at line 874 of file BastionGuard-ransomware-realtime.cpp.
References _, log_msg(), mtx, and queue.
Referenced by InotifyEngine::run().
|
inline |
Definition at line 884 of file BastionGuard-ransomware-realtime.cpp.
References _, active, log_msg(), mtx, queue, YaraEngine::scan_file(), and yara.
Referenced by main().
|
inline |
Definition at line 916 of file BastionGuard-ransomware-realtime.cpp.
References active.
Referenced by main().
|
private |
Definition at line 869 of file BastionGuard-ransomware-realtime.cpp.
|
private |
Definition at line 867 of file BastionGuard-ransomware-realtime.cpp.
|
private |
Definition at line 868 of file BastionGuard-ransomware-realtime.cpp.
|
private |
Definition at line 860 of file BastionGuard-ransomware-realtime.cpp.
Referenced by DelayedScanQueue(), and run().