LIEF: Library to Instrument Executable Formats Version 1.0.0
Loading...
Searching...
No Matches
LIEF::runtime::osx::Host Class Reference

#include <Host.hpp>

Classes

struct  version_t

Static Public Member Functions

static std::string os_version_name ()
 The OS version string (e.g. Version 26.2 (Build 25C56)).
static version_t os_version ()
 The OS version (e.g. 13.0.0).
static bool is_sip_enabled ()
 Whether System Integrity Protection (SIP) is enabled on this host.

Member Function Documentation

◆ is_sip_enabled()

bool LIEF::runtime::osx::Host::is_sip_enabled ( )
static

Whether System Integrity Protection (SIP) is enabled on this host.

This conservatively returns true when the status can't be determined (including on a non-macOS build).

◆ os_version()

version_t LIEF::runtime::osx::Host::os_version ( )
static

The OS version (e.g. 13.0.0).

◆ os_version_name()

std::string LIEF::runtime::osx::Host::os_version_name ( )
static

The OS version string (e.g. Version 26.2 (Build 25C56)).


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