LIEF: Library to Instrument Executable Formats Version 0.15.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
LIEF::MachO::BuildToolVersion Class Reference

Class that represents a tool's version that was involved in the build of the binary. More...

#include <BuildToolVersion.hpp>

Inheritance diagram for LIEF::MachO::BuildToolVersion:
Inheritance graph
[legend]
Collaboration diagram for LIEF::MachO::BuildToolVersion:
Collaboration graph
[legend]

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 (const details::build_tool_version &tool)
 
TOOLS tool () const
 The tools used.
 
version_t version () const
 Version associated with the tool.
 
void accept (Visitor &visitor) const override
 
- Public Member Functions inherited from LIEF::Object
 Object (const Object &other)
 
Objectoperator= (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
 

Detailed Description

Class that represents a tool's version that was involved in the build of the binary.

Member Function Documentation

◆ accept()

void LIEF::MachO::BuildToolVersion::accept ( Visitor & visitor) const
overridevirtual

Implements LIEF::Object.


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