Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 666 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 666 Bytes

initify plugin

This plugin has two passes. The first one tries to find all functions that can be become __init/__exit. The second one moves string constants (local variables and function string arguments marked by the nocapture attribute) only referenced in __init/__exit functions to __initconst/__exitconst sections. Based on an idea from Mathias Krause [email protected].

The kernel patches required by the plugin are maintained in PaX (http://www.grsecurity.net/~paxguy1/) and grsecurity (http://grsecurity.net/).

Compiling & Usage

gcc 4.5 - 6:
$ make clean; make
Usage
$ make run