Adjust integrity check patches

This commit is contained in:
momo5502 2023-03-04 10:55:31 +01:00
parent 2a9c293472
commit 8d3fd2d92d
2 changed files with 1222 additions and 1222 deletions

View File

@ -638,7 +638,7 @@ namespace arxan
// Searching them is quite slow. // Searching them is quite slow.
// Maybe precomputing that might be better? // Maybe precomputing that might be better?
const auto intact_results = "89 04 8A 83 45 ? FF"_sig; /*const auto intact_results = "89 04 8A 83 45 ? FF"_sig;
const auto split_results = "89 04 8A E9"_sig; const auto split_results = "89 04 8A E9"_sig;
for (auto* i : intact_results) for (auto* i : intact_results)
@ -649,9 +649,9 @@ namespace arxan
for (auto* i : split_results) for (auto* i : split_results)
{ {
patch_split_basic_block_integrity_check(i); patch_split_basic_block_integrity_check(i);
} }*/
//search_and_patch_integrity_checks_precomputed(); search_and_patch_integrity_checks_precomputed();
} }
LONG WINAPI exception_filter(const LPEXCEPTION_POINTERS info) LONG WINAPI exception_filter(const LPEXCEPTION_POINTERS info)

File diff suppressed because it is too large Load Diff