File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -308,19 +308,6 @@ namespace hat {
308308 }
309309 }
310310
311- // / Perform a signature scan on the entirety of the process module or a specified module
312- template <scan_alignment alignment = scan_alignment::X1>
313- [[deprecated]] scan_result find_pattern (
314- signature_view signature,
315- process::module mod = process::get_process_module()
316- ) {
317- const auto data = mod.get_module_data ();
318- if (data.empty ()) {
319- return nullptr ;
320- }
321- return find_pattern<alignment>(data.begin (), data.end (), signature);
322- }
323-
324311 // / Perform a signature scan on a specific section of the process module or a specified module
325312 template <scan_alignment alignment = scan_alignment::X1>
326313 scan_result find_pattern (
@@ -330,9 +317,6 @@ namespace hat {
330317 scan_hint hints = scan_hint::none
331318 ) {
332319 const auto data = mod.get_section_data (section);
333- if (data.empty ()) {
334- return nullptr ;
335- }
336320 return find_pattern<alignment>(data.begin (), data.end (), signature, hints);
337321 }
338322
You can’t perform that action at this time.
0 commit comments