Expand description
类型定义模块
§Mach-O Type Definitions
This module contains all core type definitions for the Mach-O file format.
§Main Types
§MachoHeader
Mach-O file header, containing basic information about the file:
- Magic number
- CPU type and subtype
- File type
- Load command information
§LoadCommand
Base load command structure, used to describe how to load and link various parts of the file.
§SegmentCommand64
64-bit segment command, defining the layout and attributes of memory segments.
§Section64
64-bit section structure, defining detailed information for each section within a segment.
§MachoProgram
Complete Mach-O program structure, containing all necessary components.
§Supported Architectures
- x86_64: Intel/AMD 64-bit processors
- ARM64: Apple Silicon processors
- ARM64e: ARM64 with pointer authentication
- i386: 32-bit Intel processors
- ARM: 32-bit ARM processors
§Supported File Types
- Object: Object files (.o)
- Execute: Executable files
- Dylib: Dynamic libraries (.dylib)
- Bundle: Dynamically loaded bundles
- Various other Mach-O file types
Structs§
- Load
Command - 加载命令基础结构
- Macho
Header - Mach-O 文件头结构
- Macho
Info - Mach-O 文件信息
- Macho
Program - Mach-O 程序结构
- Macho
Read Config - Mach-O 读取配置
- Section64
- 节结构(64位)
- Segment
Command64 - 段命令结构(64位)
Enums§
- CpuType
- Mach-O CPU 类型枚举
- Load
Command Type - 加载命令类型枚举
- Macho
Type - Mach-O 文件类型枚举