Skip to content

Commit

Permalink
disable advanced_scan for now
Browse files Browse the repository at this point in the history
  • Loading branch information
ex0dus-0x committed May 27, 2024
1 parent 9013a13 commit 7fe79c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/check/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ pub fn detect_compiler_runtime(bytes: &[u8]) -> BinResult<()> {
let mut compiler = yara_x::Compiler::new();

Check warning on line 44 in src/check/mod.rs

View workflow job for this annotation

GitHub Actions / Build

variable does not need to be mutable

Check warning on line 44 in src/check/mod.rs

View workflow job for this annotation

GitHub Actions / Build

variable does not need to be mutable
let rules = compiler.build();
let mut scanner = yara_x::Scanner::new(&rules);
let results = scanner.scan(bytes)?;

let results = scanner.scan(bytes).unwrap();

Check warning on line 47 in src/check/mod.rs

View workflow job for this annotation

GitHub Actions / Build

unused variable: `results`

Check warning on line 47 in src/check/mod.rs

View workflow job for this annotation

GitHub Actions / Build

unused variable: `results`
unimplemented!();
Ok(())

Check warning on line 49 in src/check/mod.rs

View workflow job for this annotation

GitHub Actions / Build

unreachable expression

Check warning on line 49 in src/check/mod.rs

View workflow job for this annotation

GitHub Actions / Build

unreachable expression
}

Expand Down

0 comments on commit 7fe79c1

Please sign in to comment.