How emexlab/emexde works
Nyxian is an on-device iOS IDE paired with a userspace microkernel for compiling, signing, and running iOS software offline. The principal workflow is project work in the IDE, followed by dependency/SDK-aware compilation and Mach-O linking, then execution through the microkernel and its process shims. The repository also exposes project/file management, customization, and recovery interfaces. Some runtime internals are represented by their documented subsystem paths because their source was not sampled; edges based on product capabilities cite the README.
Main entry points: CCDriver.cpp Compiler Driver · ksurface_abi.h Userspace Microkernel · NXBuilder+MDKDriver.swift Build Orchestration · bootstrapd Extension Execution
Components 22
IDE Experience
- App Boot and Recovery
Nyxian/UI/BootViewController.swift - Project Configuration
Nyxian/LindChain/IDEBuilder/NXBuilder.swift - Build Orchestration
Nyxian/LindChain/IDEBuilder/NXBuilder+MDKDriver.swift - Build Phases
Nyxian/LindChain/IDEBuilder/NXBuilder+MDKPhaseRunner.swift - File Management
Nyxian/UI/FileList/FileInfoViewController.swift - Editor Customization
Nyxian/UI/Settings/CustomizationViewController.swift
Build Toolchain
- Compiler Driver
Frameworks/CoreCompiler/Tools/CCDriver.cpp - Dependency Scanning
Frameworks/CoreCompiler/Tools/CCDependencyScanner.cpp - SDK Selection
Frameworks/CoreCompiler/Tools/CCSDK.cpp - Language Compilation
Frameworks/CoreCompiler/Tools/Compiler/CCCompiler.cpp - Swift Compilation
Frameworks/CoreCompiler/Tools/Compiler/CCSwiftCompiler.cpp - Mach-O Linking
Frameworks/CoreCompiler/Tools/Linker/CCLinker.cpp
Guest Execution
- Executable Signing
Nyxian/LindChain - Extension Execution
LiveProcess/LindChain/Services/bootstrapd
Microkernel Runtime
- Userspace Microkernel
ksurface_abi.h - Kext Link Editor
LiveProcess/ResecureDecoder.h - Syscall Handling
Frameworks/LiveShim/LiveShimSyscall.c - Process Shims
Frameworks/LiveShim/shims
Runtime Support
- Thread Hooking
Frameworks/HWHook/HWHookThreadContext.c - SDK Resources
Nyxian/LindChain/Downloader/fdownload.h
Other components
- Developer
- iOS Host
Connections 21
- Developer → App Boot and Recovery: opens IDE
- App Boot and Recovery → Project Configuration: opens projects
- Developer → File Management: manages files
- Developer → Editor Customization: sets preferences
- Project Configuration → Build Orchestration: requests build
- Build Orchestration → Build Phases: runs phases
- Build Orchestration → Compiler Driver: invokes driver
- Compiler Driver → Dependency Scanning: scans dependencies
- Compiler Driver → SDK Selection: selects SDK
- Compiler Driver → Language Compilation: compiles sources
- Compiler Driver → Swift Compilation: compiles Swift
- Compiler Driver → Mach-O Linking: links objects
- Mach-O Linking → Executable Signing: produces executable
- Executable Signing → Extension Execution: enables execution
- Extension Execution → Userspace Microkernel: runs guest
- Userspace Microkernel → Kext Link Editor: loads extensions
- Userspace Microkernel → Syscall Handling: handles syscalls
- Syscall Handling → Process Shims: dispatches calls
- Thread Hooking → Userspace Microkernel: supports hooks
- SDK Resources → SDK Selection: provides SDK
- Extension Execution → iOS Host: uses host services