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

#include <tls_info.h>

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

Public Member Functions

Getters
std::string getRawDataStartAddrStr (std::ios_base &(*format)(std::ios_base &)) const
 
std::string getRawDataEndAddrStr (std::ios_base &(*format)(std::ios_base &)) const
 
std::string getIndexAddrStr (std::ios_base &(*format)(std::ios_base &)) const
 
std::string getCallBacksAddrStr (std::ios_base &(*format)(std::ios_base &)) const
 
std::string getZeroFillSizeStr (std::ios_base &(*format)(std::ios_base &)) const
 
std::string getCharacteristicsStr () const
 
std::size_t getNumberOfCallBacks () const
 
std::string getCallBackAddrStr (std::size_t position, std::ios_base &(*format)(std::ios_base &)) const
 
Setters
void setTlsInfo (const retdec::fileformat::TlsInfo *info)
 
bool isUsed () const
 

Private Attributes

const retdec::fileformat::TlsInfotlsInfo = nullptr
 

Detailed Description

Class for import table

Member Function Documentation

◆ getCallBackAddrStr()

std::string retdec::fileinfo::TlsInfo::getCallBackAddrStr ( std::size_t  position,
std::ios_base &(*)(std::ios_base &)  format 
) const

Get callback address

Parameters
positionIndex of selected callback (indexed from 0)
formatFormat of resulting string (e.g. std::dec, std::hex)
Returns
Callback address

◆ getCallBacksAddrStr()

std::string retdec::fileinfo::TlsInfo::getCallBacksAddrStr ( std::ios_base &(*)(std::ios_base &)  format) const

Get callbacks address

Parameters
formatFormat of resulting string (e.g. std::dec, std::hex)
Returns
Callbacks address

◆ getCharacteristicsStr()

std::string retdec::fileinfo::TlsInfo::getCharacteristicsStr ( ) const

Get characteristics

Returns
Characteristics

◆ getIndexAddrStr()

std::string retdec::fileinfo::TlsInfo::getIndexAddrStr ( std::ios_base &(*)(std::ios_base &)  format) const

Get index address

Parameters
formatFormat of resulting string (e.g. std::dec, std::hex)
Returns
Index address

◆ getNumberOfCallBacks()

std::size_t retdec::fileinfo::TlsInfo::getNumberOfCallBacks ( ) const

Get number of callback addresses

Returns
Number of callback addresses

◆ getRawDataEndAddrStr()

std::string retdec::fileinfo::TlsInfo::getRawDataEndAddrStr ( std::ios_base &(*)(std::ios_base &)  format) const

Get raw data end address

Parameters
formatFormat of resulting string (e.g. std::dec, std::hex)
Returns
Raw data end address

◆ getRawDataStartAddrStr()

std::string retdec::fileinfo::TlsInfo::getRawDataStartAddrStr ( std::ios_base &(*)(std::ios_base &)  format) const

Get raw data start address

Parameters
formatFormat of resulting string (e.g. std::dec, std::hex)
Returns
Raw data start address

◆ getZeroFillSizeStr()

std::string retdec::fileinfo::TlsInfo::getZeroFillSizeStr ( std::ios_base &(*)(std::ios_base &)  format) const

Get zero fill size

Parameters
formatFormat of resulting string (e.g. std::dec, std::hex)
Returns
Zero fill size

◆ isUsed()

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

Check whether TLS is used

Returns
true if TLS is used, false otherwise

◆ setTlsInfo()

void retdec::fileinfo::TlsInfo::setTlsInfo ( const retdec::fileformat::TlsInfo info)

Set TLS info

Parameters
infoInstance of class with original information about TLS

Member Data Documentation

◆ tlsInfo

const retdec::fileformat::TlsInfo* retdec::fileinfo::TlsInfo::tlsInfo = nullptr
private

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