Tag

mach

0 views collected around this technical thread.

Sohu Tech Products
Sohu Tech Products
Sep 7, 2022 · Fundamentals

Understanding Mach Tasks, Threads, Processes and Exception Handling on iOS/macOS

The article explains how iOS/macOS uses the XNU kernel's Mach micro‑kernel to represent processes, tasks and threads, describes the relationship between them, classifies hardware and software exceptions, shows how Mach exceptions are translated into Unix signals, and provides practical code examples for capturing both Mach exceptions and signals in a crash‑reporting framework.

Crash ReportingException HandlingiOS
0 likes · 28 min read
Understanding Mach Tasks, Threads, Processes and Exception Handling on iOS/macOS
Sohu Tech Products
Sohu Tech Products
Jun 8, 2022 · Mobile Development

Understanding iOS RunLoop: Architecture, Modes, and Message Handling

This article provides an in‑depth technical overview of iOS RunLoop, explaining its relationship to threads, event loops, RunLoop modes, sources, timers, observers, and the underlying Mach message mechanisms, while including original source code excerpts for reference.

CoreFoundationRunLoopevent loop
0 likes · 30 min read
Understanding iOS RunLoop: Architecture, Modes, and Message Handling
Tongcheng Travel Technology Center
Tongcheng Travel Technology Center
Dec 29, 2017 · Information Security

Implementing a Simplified vmmap Tool on iOS for Memory Analysis

This article introduces the macOS vmmap utility, explains why a lightweight version was re‑implemented for iOS, and details the step‑by‑step code that obtains task handles, region data, dyld image information, formats and prints memory maps to aid reverse‑engineering on iOS devices.

Reverse EngineeringdyldiOS
0 likes · 5 min read
Implementing a Simplified vmmap Tool on iOS for Memory Analysis