LIEF: Library to Instrument Executable Formats Version 0.15.1
|
Class that represents a tool's version that was involved in the build of the binary. More...
#include <BuildToolVersion.hpp>
Public Types | |
enum class | TOOLS { UNKNOWN = 0 , CLANG = 1 , SWIFT = 2 , LD = 3 } |
using | version_t = std::array<uint32_t, 3> |
A version is an array of 3 integers. | |
Public Types inherited from LIEF::Object | |
template<class T > | |
using | output_t = add_pointer_t<decay_t<T>> |
template<class T > | |
using | output_const_t = add_pointer_t<add_const_t<decay_t<T>>> |
Public Member Functions | |
BuildToolVersion ()=default | |
BuildToolVersion (const details::build_tool_version &tool) | |
TOOLS | tool () const |
The tools used. | |
version_t | version () const |
Version associated with the tool. | |
~BuildToolVersion () override=default | |
void | accept (Visitor &visitor) const override |
Public Member Functions inherited from LIEF::Object | |
Object () | |
Object (const Object &other) | |
Object & | operator= (const Object &other) |
template<class T > | |
output_t< T > | as () |
template<class T > | |
output_const_t< T > | as () const |
virtual bool | operator== (const Object &other) const |
virtual bool | operator!= (const Object &other) const |
virtual | ~Object () |
Class that represents a tool's version that was involved in the build of the binary.
using LIEF::MachO::BuildToolVersion::version_t = std::array<uint32_t, 3> |
A version is an array of 3 integers.
|
strong |
|
default |
LIEF::MachO::BuildToolVersion::BuildToolVersion | ( | const details::build_tool_version & | tool | ) |
|
overridedefault |
|
overridevirtual |
Implements LIEF::Object.
|
inline |
The tools used.
|
inline |
Version associated with the tool.