Skip to content
/ Lilu Public
forked from acidanthera/Lilu

Arbitrary kext and process patching on macOS

License

Notifications You must be signed in to change notification settings

kfg81/Lilu

 
 

Repository files navigation

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 (currently 64-bit only)
  • Generic framework/library patcher (currently 64-bit only)
  • Provides a unified plugin API

Credits

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 -liluoff to disable Lilu.
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 (10.13 and below are enabled by default).
Add -liluforce to enable Lilu regardless of the os, installer, or recovery.

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.

About

Arbitrary kext and process patching on macOS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • POV-Ray SDL 41.0%
  • C++ 34.7%
  • C 14.8%
  • Smalltalk 2.3%
  • Java 1.8%
  • C# 1.7%
  • Other 3.7%