PE-sieve
Scans all running processes. Recognizes and dumps a variety of potentially malicious implants (replaced/implanted PEs, shellcodes, hooks, in-memory patches).
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
_
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Functions
_
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
w
Variables
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
w
Typedefs
Enumerations
Enumerator
c
h
i
p
s
t
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
~
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
~
Variables
_
a
b
c
d
e
f
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
Enumerations
Enumerator
i
o
r
s
Related Symbols
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
j
l
m
o
p
r
s
t
u
Functions
Variables
Typedefs
Enumerations
Enumerator
j
o
p
r
s
Macros
c
d
e
g
h
i
l
m
o
p
r
u
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
utils
strings_util.cpp
Go to the documentation of this file.
1
#include "
strings_util.h
"
2
3
#include <algorithm>
4
#include <cstring>
5
6
std::string
pesieve::util::to_lowercase
(std::string str)
7
{
8
std::transform(str.begin(), str.end(), str.begin(), tolower);
9
return
str;
10
}
6
std::string
pesieve::util::to_lowercase
(std::string str) {
…
}
11
12
bool
pesieve::util::is_cstr_equal
(
char
const
*a,
char
const
*b,
const
size_t
max_len)
13
{
14
for
(
size_t
i = 0; i < max_len; ++i) {
15
if
(tolower(a[i]) != tolower(b[i])) {
16
return
false
;
17
}
18
if
(tolower(a[i]) ==
'\0'
)
break
;
19
}
20
return
true
;
21
}
12
bool
pesieve::util::is_cstr_equal
(
char
const
*a,
char
const
*b,
const
size_t
max_len) {
…
}
pesieve::util::to_lowercase
std::string to_lowercase(std::string)
Definition
strings_util.cpp:6
pesieve::util::is_cstr_equal
bool is_cstr_equal(char const *a, char const *b, const size_t max_len)
Definition
strings_util.cpp:12
strings_util.h
Generated by
1.13.2