We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fecd831 commit 4471878Copy full SHA for 4471878
1 file changed
README.md
@@ -82,7 +82,7 @@ hat::scan_result result = hat::find_pattern(pattern, ".text");
82
// Or another module loaded into the process
83
std::optional<hat::process::module> ntdll = hat::process::get_module("ntdll.dll");
84
assert(ntdll.has_value());
85
-hat::scan_result result = hat::find_pattern(pattern, *ntdll, ".text");
+hat::scan_result result = hat::find_pattern(pattern, ".text", *ntdll);
86
87
// Get the address pointed at by the pattern
88
const std::byte* address = result.get();
0 commit comments