Info
This post is auto-generated from RSS feed The Rust Programming Language Forum - Latest topics. Source: Does YARA-X Support Fast Scan Mode or Alternative Early Stop Mechanisms?
I'm trying to implement scanning that stops after the first pattern match is found, similar to classic YARA's -f
(fast scan) option. After reviewing the documentation, I cannot find this functionality in YARA-X's Rust API.
Based on the official documentation at yara_x - Rust, the Scanner struct only provides:
scanner.scan_file(file_path)
Neither method appears to accept parameters for early termination or fast scanning.
1 post - 1 participant
🏷️ Rust_feed