15#ifndef LIEF_DEBUGINFO_H
16#define LIEF_DEBUGINFO_H
31 DebugInfo(std::unique_ptr<details::DebugInfo> impl);
36 return FORMAT::UNKNOWN;
49 static_assert(std::is_base_of<DebugInfo, T>::value,
50 "Require Instruction inheritance");
51 if (T::classof(
this)) {
52 return static_cast<const T*
>(
this);
58 std::unique_ptr<details::DebugInfo> impl_;
Definition Abstract/DebugInfo.hpp:25
DebugInfo(std::unique_ptr< details::DebugInfo > impl)
const T * as() const
This function can be used to down cast a DebugInfo instance:
Definition Abstract/DebugInfo.hpp:48
virtual FORMAT format() const
Definition Abstract/DebugInfo.hpp:35
Definition Abstract/DebugInfo.hpp:21
LIEF namespace.
Definition Abstract/Binary.hpp:36
#define LIEF_API
Definition visibility.h:41