HollowsHunter
Scans all running processes. Recognizes and dumps a variety of potentially malicious implants (replaced/implanted PEs, shellcodes, hooks, in-memory patches).
Loading...
Searching...
No Matches
strings_util.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4
5namespace hhunter {
6
7 namespace util {
8
15
16 std::string to_lowercase(std::string);
17
18 // Compare cstrings (ignore case)
19 bool is_cstr_equal(char const *a, char const *b, const size_t max_len);
20
21 // Calculate Levenshtein distance of two strings
22 size_t levenshtein_distance(const char s1[], const char s2[]);
23
24 // Calculate a diffrence in strings histograms
25 size_t str_hist_diffrence(const char s1[], const char s2[]);
26
27 stringsim_type is_string_similar(const std::string &param, const std::string &filter);
28 };
29};
size_t str_hist_diffrence(const char s1[], const char s2[])
size_t levenshtein_distance(const char s1[], const char s2[])
bool is_cstr_equal(char const *a, char const *b, const size_t max_len)
stringsim_type is_string_similar(const std::string &param, const std::string &filter)
std::string to_lowercase(std::string)