|
LIEF: Library to Instrument Executable Formats Version 1.0.0
|
#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. | |
|
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).
|
static |
The OS version (e.g. 13.0.0).
|
static |
The OS version string (e.g. Version 26.2 (Build 25C56)).