code/refactor: Deduplicate sigscan code
> cleanup unnecessary code, should break nothing > probably will cause merge issues someday > add missing `replace_pattern_from`
This commit is contained in:
@@ -71,4 +71,22 @@ intptr_t replace_pattern(
|
||||
intptr_t offset,
|
||||
intptr_t usage);
|
||||
|
||||
intptr_t replace_pattern_from(
|
||||
HMODULE module,
|
||||
const unsigned char *pattern,
|
||||
const char *mask,
|
||||
intptr_t offset,
|
||||
intptr_t usage,
|
||||
intptr_t start_from,
|
||||
const unsigned char *replace_data,
|
||||
const char *replace_mask);
|
||||
|
||||
intptr_t replace_pattern_from(
|
||||
HMODULE module,
|
||||
const std::string &signature,
|
||||
const std::string &replacement,
|
||||
intptr_t offset,
|
||||
intptr_t usage,
|
||||
intptr_t start_from);
|
||||
|
||||
bool get_pe_identifier(const std::filesystem::path& dll_path, uint32_t* time_date_stamp, uint32_t* address_of_entry_point);
|
||||
Reference in New Issue
Block a user