BearParser
Portable Executable parsing library (from PE-bear)
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
Functions
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
z
~
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
i
l
m
n
o
p
r
s
t
w
x
Enumerations
a
d
e
f
l
o
r
s
t
w
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
z
Related Symbols
b
d
e
i
l
p
r
s
Files
File List
File Members
All
_
a
b
d
f
g
i
l
m
o
p
r
s
t
u
Functions
Variables
Typedefs
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Loading...
Searching...
No Matches
parser
include
bearparser
ExeFactory.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Executable.h
"
4
5
class
ExeFactoryException
:
public
CustomException
6
{
7
public
:
8
ExeFactoryException
(
const
QString info) :
CustomException
(info) {}
9
};
5
class
ExeFactoryException
:
public
CustomException
{
…
};
10
11
class
ExeFactory
12
{
13
public
:
14
enum
exe_type
{
15
NONE
= 0,
16
PE
= 1,
17
MZ
,
18
TYPES_COUNT
19
};
14
enum
exe_type
{
…
};
20
21
static
void
init
();
22
static
void
destroy
();
23
24
static
exe_type
findMatching
(
AbstractByteBuffer
*buf);
25
static
Executable
*
build
(
AbstractByteBuffer
*buf,
exe_type
type);
26
static
QString
getTypeName
(
exe_type
type);
27
28
protected
:
29
static
std::map<exe_type, ExeBuilder*>
builders
;
30
};
11
class
ExeFactory
{
…
};
Executable.h
AbstractByteBuffer
Definition
AbstractByteBuffer.h:32
CustomException
Definition
CustomException.h:12
ExeFactoryException
Definition
ExeFactory.h:6
ExeFactoryException::ExeFactoryException
ExeFactoryException(const QString info)
Definition
ExeFactory.h:8
ExeFactory
Definition
ExeFactory.h:12
ExeFactory::findMatching
static exe_type findMatching(AbstractByteBuffer *buf)
Definition
ExeFactory.cpp:27
ExeFactory::builders
static std::map< exe_type, ExeBuilder * > builders
Definition
ExeFactory.h:29
ExeFactory::destroy
static void destroy()
Definition
ExeFactory.cpp:17
ExeFactory::build
static Executable * build(AbstractByteBuffer *buf, exe_type type)
Definition
ExeFactory.cpp:46
ExeFactory::init
static void init()
Definition
ExeFactory.cpp:8
ExeFactory::getTypeName
static QString getTypeName(exe_type type)
Definition
ExeFactory.cpp:59
ExeFactory::exe_type
exe_type
Definition
ExeFactory.h:14
ExeFactory::TYPES_COUNT
@ TYPES_COUNT
Definition
ExeFactory.h:18
ExeFactory::MZ
@ MZ
Definition
ExeFactory.h:17
ExeFactory::PE
@ PE
Definition
ExeFactory.h:16
ExeFactory::NONE
@ NONE
Definition
ExeFactory.h:15
Executable
Definition
Executable.h:26
Generated by
1.12.0