BearParser
Portable Executable parsing library (from PE-bear)
Loading...
Searching...
No Matches
ExeFactory Class Reference

#include <ExeFactory.h>

Public Types

enum  exe_type { NONE = 0 , PE = 1 , MZ , TYPES_COUNT }
 

Static Public Member Functions

static void init ()
 
static void destroy ()
 
static exe_type findMatching (AbstractByteBuffer *buf)
 
static Executablebuild (AbstractByteBuffer *buf, exe_type type)
 
static QString getTypeName (exe_type type)
 

Static Protected Attributes

static std::map< exe_type, ExeBuilder * > builders
 

Detailed Description

Definition at line 11 of file ExeFactory.h.

Member Enumeration Documentation

◆ exe_type

Enumerator
NONE 
PE 
MZ 
TYPES_COUNT 

Definition at line 14 of file ExeFactory.h.

Member Function Documentation

◆ build()

Executable * ExeFactory::build ( AbstractByteBuffer * buf,
exe_type type )
static

Definition at line 46 of file ExeFactory.cpp.

Here is the call graph for this function:

◆ destroy()

void ExeFactory::destroy ( )
static

Definition at line 17 of file ExeFactory.cpp.

◆ findMatching()

ExeFactory::exe_type ExeFactory::findMatching ( AbstractByteBuffer * buf)
static

Definition at line 27 of file ExeFactory.cpp.

Here is the call graph for this function:

◆ getTypeName()

QString ExeFactory::getTypeName ( exe_type type)
static

Definition at line 59 of file ExeFactory.cpp.

Here is the call graph for this function:

◆ init()

void ExeFactory::init ( )
static

Definition at line 8 of file ExeFactory.cpp.

Member Data Documentation

◆ builders

std::map< ExeFactory::exe_type, ExeBuilder * > ExeFactory::builders
staticprotected

Definition at line 29 of file ExeFactory.h.


The documentation for this class was generated from the following files: