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 |
Referenced by as(), LIEF::PE::RuntimeFunctionAArch64::classof(), LIEF::PE::RuntimeFunctionX64::classof(), LIEF::PE::unwind_aarch64::PackedFunction::classof(), LIEF::PE::unwind_aarch64::UnpackedFunction::classof(), ExceptionInfo(), ExceptionInfo(), ExceptionInfo(), operator<<, operator=(), operator=(), LIEF::PE::RuntimeFunctionAArch64::RuntimeFunctionAArch64(), and LIEF::PE::RuntimeFunctionX64::RuntimeFunctionX64().
|
default |
References ExceptionInfo().
|
default |
References ExceptionInfo().
|
inline |
References arch(), and ExceptionInfo().
|
virtualdefault |
|
inline |
Target architecture of this exception.
Referenced by ExceptionInfo(), ExceptionInfo(), and parse().
Helper to downcast an ExceptionInfo into a concrete implementation.
References LIEF::PE::T.
Referenced by as().
References as(), ExceptionInfo(), and LIEF::PE::T.
|
pure virtual |
|
default |
References ExceptionInfo().
|
default |
References ExceptionInfo().
|
static |
|
static |
References arch().
|
inline |
Function start address.
Referenced by LIEF::PE::RuntimeFunctionX64::RuntimeFunctionX64(), LIEF::PE::RuntimeFunctionAArch64::rva_end(), and LIEF::PE::RuntimeFunctionX64::size().
|
pure virtual |