Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qmachparser.cpp File Reference
#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 45 of file qmachparser.cpp.

◆ my_section

typedef section my_section

Definition at line 47 of file qmachparser.cpp.

◆ my_segment_command

typedef segment_command my_segment_command

Definition at line 46 of file qmachparser.cpp.

Function Documentation

◆ isEncrypted()

static bool isEncrypted ( const my_mach_header header)
static

Definition at line 59 of file qmachparser.cpp.

References header(), and i.

Referenced by QNetworkCookieJar::cookiesForUrl(), and makeCacheKey().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ notfound()

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

Definition at line 52 of file qmachparser.cpp.

References QString::arg(), and QString::isEmpty().

+ Here is the call graph for this function:

Variable Documentation

◆ IncludeValidityChecks

constexpr bool IncludeValidityChecks = true
staticconstexpr

Definition at line 17 of file qmachparser.cpp.

◆ my_magic

const uint32_t my_magic = MH_MAGIC
static

Definition at line 48 of file qmachparser.cpp.