百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
L

Lilu

> 编程语言
开源

在 macOS 上任意修改 kext 和进程

3.9K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

在 macOS 上任意修改 kext 和进程

Lilu

An open source kernel extension bringing a platform for arbitrary kext, library, and program patching throughout the system for macOS.

Features

  • Generic kext patcher
  • Generic process patcher (64-bit with basic 32-bit functionality)
  • Generic framework/library patcher (64-bit with basic 32-bit functionality)
  • Provides a unified plugin API

Installation

You should install this kext along with the plugin kexts depending on it.
The prebuilt binaries are available on releases page.
Several existing plugins possibly with code samples are available on known plugins page. To compile a plugin copy the debug version of Lilu.kext into its directory.

Configuration

  • Add -liludbg to enable debug printing (available in DEBUG binaries).
  • Add -liludbgall to enable debug printing in Lilu and all loaded plugins (available in DEBUG binaries).
  • Add -liluoff to disable Lilu.
  • Add -liluuseroff to disable Lilu user patcher (for e.g. dyld_shared_cache manipulations).
  • Add -liluslow to enable legacy user patcher.
  • Add -lilulowmem to disable kernel unpack (disables Lilu in recovery mode).
  • Add -lilubeta to enable Lilu on unsupported OS versions (macOS 26 and below are enabled by default).
  • Add -lilubetaall to enable Lilu and all loaded plugins on unsupported os versions (use very carefully).
  • Add -liluforce to enable Lilu regardless of the mode, OS, installer, or recovery.
  • Add liludelay=1000 to enable 1 second delay after each print for troubleshooting.
  • Add lilucpu=N to let Lilu and plugins assume Nth CPUInfo::CpuGeneration.
  • Add liludump=N to let Lilu DEBUG version dump log to /var/log/Lilu_VERSION_KERN_MAJOR.KERN_MINOR.txt after N seconds

Peculiarities

Most of the plugins cease to function in safe (-x) mode.
By default Lilu itself does not function in single-user (-s) mode, unless -liluforce is present.

Discussion

InsanelyMac topic in English
AppleLife topic in Russian

Contribution

For the contributors with programming skills the headers are filled with AppleDOC comments.
Earlier code changes could be tracked in AppleALC project.
Writing and supporting code is fun but it takes time. Please provide most descriptive bugreports or pull requests.

Credits

  • Apple for macOS and lzvn decompression
  • Brad Conte for SHA-256 implementation
  • fG! for Onyx The Black Cat used as a base of the kernel patcher
  • Nguyen Anh Quynh for capstone disassembler module
  • Pike R. Alpha for original lzvn decompression
  • Ralph Hempel for umm_malloc static pool allocator
  • Vyacheslav Patkov for hde64 simple disassembler module
  • 07151129 for some code parts and suggestions
  • vit9696 for writing the software and maintaining it

GitHub Issues· 0 开放

在 GitHub 查看全部

暂无开放 Issues,或尚未同步最近议题。

核心特点

  • •Generic kext patcher
  • •Generic process patcher (64-bit with basic 32-bit functionality)
  • •Generic framework/library patcher (64-bit with basic 32-bit functionality)
  • •Provides a unified plugin API
  • •Add -liludbg to enable debug printing (available in DEBUG binaries).
  • •Add -liludbgall to enable debug printing in Lilu and all loaded plugins (available in DEBUG binaries).
  • •Add -liluoff to disable Lilu.
  • •Add -liluuseroff to disable Lilu user patcher (for e.g. dyld_shared_cache manipulations).
  • •Add -liluslow to enable legacy user patcher.
  • •Add -lilulowmem to disable kernel unpack (disables Lilu in recovery mode).

> 标签

Clilu

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言