retdec
Private Attributes | List of all members
retdec::fileinfo::VisualBasicInfo Class Reference

#include <visual_basic_info.h>

Collaboration diagram for retdec::fileinfo::VisualBasicInfo:
Collaboration graph
[legend]

Public Member Functions

Getters
std::string getLanguageDLL () const
 
std::string getBackupLanguageDLL () const
 
std::string getProjectExeName () const
 
std::string getProjectDescription () const
 
std::string getProjectHelpFile () const
 
std::string getProjectName () const
 
std::string getLanguageDLLPrimaryLCIDStr () const
 
std::string getLanguageDLLSecondaryLCIDStr () const
 
std::string getProjectPath () const
 
std::string getProjectPrimaryLCIDStr () const
 
std::string getProjectSecondaryLCIDStr () const
 
const retdec::fileformat::VisualBasicObjectgetObject (std::size_t position) const
 
const retdec::fileformat::VisualBasicExterngetExtern (std::size_t position) const
 
std::size_t getNumberOfObjects () const
 
std::size_t getNumberOfExterns () const
 
std::string getExternModuleName (std::size_t position) const
 
std::string getExternApiName (std::size_t position) const
 
std::string getObjectTableGUID () const
 
std::string getTypeLibCLSID () const
 
std::string getTypeLibMajorVersionStr () const
 
std::string getTypeLibMinorVersionStr () const
 
std::string getTypeLibLCIDStr () const
 
std::string getCOMObjectName () const
 
std::string getCOMObjectDescription () const
 
std::string getCOMObjectCLSID () const
 
std::string getCOMObjectInterfaceCLSID () const
 
std::string getCOMObjectEventsCLSID () const
 
std::string getCOMObjectType () const
 
std::string getExternTableHashCrc32 () const
 
std::string getExternTableHashMd5 () const
 
std::string getExternTableHashSha256 () const
 
std::string getObjectTableHashCrc32 () const
 
std::string getObjectTableHashMd5 () const
 
std::string getObjectTableHashSha256 () const
 
Setters
void setInfo (const retdec::fileformat::VisualBasicInfo *vbInfo)
 
void setUsed (bool set)
 
Other methods
bool isUsed () const
 
bool isPcode () const
 

Private Attributes

bool used = false
 
const retdec::fileformat::VisualBasicInfovisualBasicInfo = nullptr
 

Detailed Description

Class for rich header

Member Function Documentation

◆ getBackupLanguageDLL()

std::string retdec::fileinfo::VisualBasicInfo::getBackupLanguageDLL ( ) const

Get backup language DLL

Returns
Visual basic backup language DLL

◆ getCOMObjectCLSID()

std::string retdec::fileinfo::VisualBasicInfo::getCOMObjectCLSID ( ) const

Get COM object CLSID

Returns
Visual basic COM object CLSID

◆ getCOMObjectDescription()

std::string retdec::fileinfo::VisualBasicInfo::getCOMObjectDescription ( ) const

Get COM object description

Returns
Visual basic COM object description

◆ getCOMObjectEventsCLSID()

std::string retdec::fileinfo::VisualBasicInfo::getCOMObjectEventsCLSID ( ) const

Get COM object events CLSID

Returns
Visual basic COM object events CLSID

◆ getCOMObjectInterfaceCLSID()

std::string retdec::fileinfo::VisualBasicInfo::getCOMObjectInterfaceCLSID ( ) const

Get COM object interface CLSID

Returns
Visual basic COM object interface CLSID

◆ getCOMObjectName()

std::string retdec::fileinfo::VisualBasicInfo::getCOMObjectName ( ) const

Get COM object name

Returns
Visual basic COM object name

◆ getCOMObjectType()

std::string retdec::fileinfo::VisualBasicInfo::getCOMObjectType ( ) const

Get COM object type

Returns
Visual basic COM object type

◆ getExtern()

const retdec::fileformat::VisualBasicExtern * retdec::fileinfo::VisualBasicInfo::getExtern ( std::size_t  position) const

Get extern

Parameters
positionIndex of selected visual basic extern (indexed from 0)
Returns
Visual basic extern

◆ getExternApiName()

std::string retdec::fileinfo::VisualBasicInfo::getExternApiName ( std::size_t  position) const

Get extern api name

Parameters
positionIndex of selected visual basic extern (indexed from 0)
Returns
Extern api name

◆ getExternModuleName()

std::string retdec::fileinfo::VisualBasicInfo::getExternModuleName ( std::size_t  position) const

Get extern module name

Parameters
positionIndex of selected visual basic extern (indexed from 0)
Returns
Extern module name

◆ getExternTableHashCrc32()

std::string retdec::fileinfo::VisualBasicInfo::getExternTableHashCrc32 ( ) const

Get extern table hash as CRC32

Returns
Extern table hash

◆ getExternTableHashMd5()

std::string retdec::fileinfo::VisualBasicInfo::getExternTableHashMd5 ( ) const

Get extern table hash as MD5

Returns
Extern table hash

◆ getExternTableHashSha256()

std::string retdec::fileinfo::VisualBasicInfo::getExternTableHashSha256 ( ) const

Get extern table hash as SHA256

Returns
Extern table hash

◆ getLanguageDLL()

std::string retdec::fileinfo::VisualBasicInfo::getLanguageDLL ( ) const

Get language DLL

Returns
Visual basic language DLL

◆ getLanguageDLLPrimaryLCIDStr()

std::string retdec::fileinfo::VisualBasicInfo::getLanguageDLLPrimaryLCIDStr ( ) const

Get language DLL primary LCID

Returns
Visual basic language DLL primary LCID as string

◆ getLanguageDLLSecondaryLCIDStr()

std::string retdec::fileinfo::VisualBasicInfo::getLanguageDLLSecondaryLCIDStr ( ) const

Get language DLL secondary LCID

Returns
Visual basic language DLL secondary LCID as string

◆ getNumberOfExterns()

std::size_t retdec::fileinfo::VisualBasicInfo::getNumberOfExterns ( ) const

Get number of externs

Returns
Visual basic number of externs

◆ getNumberOfObjects()

std::size_t retdec::fileinfo::VisualBasicInfo::getNumberOfObjects ( ) const

Get number of objects

Returns
Visual basic number of objects

◆ getObject()

const retdec::fileformat::VisualBasicObject * retdec::fileinfo::VisualBasicInfo::getObject ( std::size_t  position) const

Get object

Parameters
positionIndex of selected visual basic object (indexed from 0)
Returns
Visual basic object

◆ getObjectTableGUID()

std::string retdec::fileinfo::VisualBasicInfo::getObjectTableGUID ( ) const

Get object table GUID

Returns
Object table GUID as string

◆ getObjectTableHashCrc32()

std::string retdec::fileinfo::VisualBasicInfo::getObjectTableHashCrc32 ( ) const

Get object table hash as CRC32

Returns
Object table hash

◆ getObjectTableHashMd5()

std::string retdec::fileinfo::VisualBasicInfo::getObjectTableHashMd5 ( ) const

Get object table hash as MD5

Returns
Object table hash

◆ getObjectTableHashSha256()

std::string retdec::fileinfo::VisualBasicInfo::getObjectTableHashSha256 ( ) const

Get object table hash as SHA256

Returns
Object table hash

◆ getProjectDescription()

std::string retdec::fileinfo::VisualBasicInfo::getProjectDescription ( ) const

Get project description

Returns
Visual basic project description

◆ getProjectExeName()

std::string retdec::fileinfo::VisualBasicInfo::getProjectExeName ( ) const

Get project exe name

Returns
Visual basic project exe name

◆ getProjectHelpFile()

std::string retdec::fileinfo::VisualBasicInfo::getProjectHelpFile ( ) const

Get project help file

Returns
Visual basic project help file

◆ getProjectName()

std::string retdec::fileinfo::VisualBasicInfo::getProjectName ( ) const

Get project name

Returns
Visual basic project name

◆ getProjectPath()

std::string retdec::fileinfo::VisualBasicInfo::getProjectPath ( ) const

Get project path

Returns
Visual basic project path

◆ getProjectPrimaryLCIDStr()

std::string retdec::fileinfo::VisualBasicInfo::getProjectPrimaryLCIDStr ( ) const

Get project primary LCID

Returns
Visual basic project primary LCID as string

◆ getProjectSecondaryLCIDStr()

std::string retdec::fileinfo::VisualBasicInfo::getProjectSecondaryLCIDStr ( ) const

Get project secondary LCID

Returns
Visual basic project secondary LCID as string

◆ getTypeLibCLSID()

std::string retdec::fileinfo::VisualBasicInfo::getTypeLibCLSID ( ) const

Get typeLib CLSID

Returns
typeLib CLSID as string

◆ getTypeLibLCIDStr()

std::string retdec::fileinfo::VisualBasicInfo::getTypeLibLCIDStr ( ) const

Get typeLib LCID

Returns
Visual basic typeLib LCID as string

◆ getTypeLibMajorVersionStr()

std::string retdec::fileinfo::VisualBasicInfo::getTypeLibMajorVersionStr ( ) const

Get typeLib major version

Returns
TypeLib major version

◆ getTypeLibMinorVersionStr()

std::string retdec::fileinfo::VisualBasicInfo::getTypeLibMinorVersionStr ( ) const

Get typeLib minor version

Returns
TypeLib minor version

◆ isPcode()

bool retdec::fileinfo::VisualBasicInfo::isPcode ( ) const

Check whether visual basic file is a P-code file.

Returns
true if is a P-code file, otherwise false.

◆ isUsed()

bool retdec::fileinfo::VisualBasicInfo::isUsed ( ) const

Check whether visual basic informations are used.

Returns
true if used, otherwise false.

◆ setInfo()

void retdec::fileinfo::VisualBasicInfo::setInfo ( const retdec::fileformat::VisualBasicInfo vbInfo)

Set visual basic information

Parameters
vbInfoInstance of class with original information about visual basic

◆ setUsed()

void retdec::fileinfo::VisualBasicInfo::setUsed ( bool  set)

Set whether visual basic info is used.

Parameters
settrue if used, false otherwise.

Member Data Documentation

◆ used

bool retdec::fileinfo::VisualBasicInfo::used = false
private

◆ visualBasicInfo

const retdec::fileformat::VisualBasicInfo* retdec::fileinfo::VisualBasicInfo::visualBasicInfo = nullptr
private

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