Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
localcc committed Nov 13, 2023
1 parent 9e621a6 commit 09d4115
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fn main() {
let binary = [0xab, 0xec, 0x48, 0x89, 0x5c, 0x24, 0xee, 0x48, 0x89, 0x6c];

let scanner = Scanner::new("48 89 5c 24 ?? 48 89 6c");
let result = scanner.find(None, &binary);
let result = unsafe { scanner.find(None, binary.as_ptr(), binary.len()) };

println!("{:?}", result);
}
Expand Down

0 comments on commit 09d4115

Please sign in to comment.