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

(e94a951862b7860c15e219dce48e60c9dc1dc3d2)

#include "qmachparser_p.h"
#include <qendian.h>
#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 bool isEncrypted (const my_mach_header *header)

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 46 of file qmachparser.cpp.

◆ my_section

typedef section my_section

Definition at line 48 of file qmachparser.cpp.

◆ my_segment_command

typedef segment_command my_segment_command

Definition at line 47 of file qmachparser.cpp.

Function Documentation

◆ isEncrypted()

bool isEncrypted ( const my_mach_header * header)
static

Definition at line 60 of file qmachparser.cpp.

◆ notfound()

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

Definition at line 53 of file qmachparser.cpp.

Variable Documentation

◆ IncludeValidityChecks

constexpr bool IncludeValidityChecks = true
staticconstexpr

Definition at line 18 of file qmachparser.cpp.

◆ my_magic

const uint32_t my_magic = MH_MAGIC
static

Definition at line 49 of file qmachparser.cpp.