Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qmachparser.cpp File Reference

(2a819525180418d49834aa4dea3aa41796cd5d92)

#include "qmachparser_p.h"
#include <qendian.h>
#include <optional>
#include <mach-o/loader.h>
#include <mach-o/fat.h>
Include dependency graph for qmachparser.cpp:

Go to the source code of this file.

Typedefs

typedef mach_header my_mach_header
typedef segment_command my_segment_command
typedef section my_section

Functions

static Q_DECL_COLD_FUNCTION QLibraryScanResult notfound (const QString &reason, QString *errorString)
static std::optional< bool > isEncrypted (const my_mach_header *header, ulong fdlen)

Variables

static constexpr bool IncludeValidityChecks = true
static const uint32_t my_magic = MH_MAGIC

Typedef Documentation

◆ my_mach_header

typedef mach_header my_mach_header

Definition at line 48 of file qmachparser.cpp.

◆ my_section

typedef section my_section

Definition at line 50 of file qmachparser.cpp.

◆ my_segment_command

typedef segment_command my_segment_command

Definition at line 49 of file qmachparser.cpp.

Function Documentation

◆ isEncrypted()

std::optional< bool > isEncrypted ( const my_mach_header * header,
ulong fdlen )
static

Definition at line 64 of file qmachparser.cpp.

◆ notfound()

Q_DECL_COLD_FUNCTION QLibraryScanResult notfound ( const QString & reason,
QString * errorString )
static

Definition at line 55 of file qmachparser.cpp.

Variable Documentation

◆ IncludeValidityChecks

constexpr bool IncludeValidityChecks = true
staticconstexpr

Definition at line 20 of file qmachparser.cpp.

◆ my_magic

const uint32_t my_magic = MH_MAGIC
static

Definition at line 51 of file qmachparser.cpp.