LIEF: Library to Instrument Executable Formats Version 0.17.0
|
This class is the base class for any exception or runtime function entry. More...
#include <ExceptionInfo.hpp>
Public Types | |
enum class | ARCH { UNKNOWN = 0 , ARM64 , X86_64 } |
Arch discriminator for the subclasses. More... | |
Public Member Functions | |
ExceptionInfo ()=delete | |
ExceptionInfo (const ExceptionInfo &)=default | |
ExceptionInfo & | operator= (const ExceptionInfo &)=default |
ExceptionInfo (ExceptionInfo &&)=default | |
ExceptionInfo & | operator= (ExceptionInfo &&)=default |
virtual std::unique_ptr< ExceptionInfo > | clone () const =0 |
ExceptionInfo (ARCH arch, uint64_t rva) | |
ExceptionInfo (ARCH arch) | |
ARCH | arch () const |
Target architecture of this exception. | |
uint32_t | rva_start () const |
Function start address. | |
virtual std::string | to_string () const =0 |
virtual | ~ExceptionInfo ()=default |
template<class T > | |
T * | as () |
Helper to downcast an ExceptionInfo into a concrete implementation. | |
template<class T > | |
const T * | as () const |
Static Public Member Functions | |
static std::unique_ptr< ExceptionInfo > | parse (Parser &ctx, BinaryStream &strm) |
static std::unique_ptr< ExceptionInfo > | parse (Parser &ctx, BinaryStream &strm, Header::MACHINE_TYPES arch) |
This class is the base class for any exception or runtime function entry.
|
strong |
|
delete |
|
default |
|
default |
|
inline |
|
inline |
|
virtualdefault |
|
inline |
Target architecture of this exception.
Helper to downcast an ExceptionInfo into a concrete implementation.
References LIEF::PE::T.
References LIEF::PE::T.
|
pure virtual |
|
default |
|
default |
|
static |
|
static |
|
inline |
Function start address.
|
pure virtual |