
IDA plugin that resolves PPL calls to the actual underlying PPL function.
PPLorer is an IDA plugin that resolves PPL calls to the actual underlying PPL function.
~/.idapro/plugins/pplorer.py to pplorer.py in the cloned repoEdit -> Plugins -> PPLorer -> Analyse IDBTL;DR
CTRL-SHIFT-X or Right Click -> Jump to PAC XREFs at suitable locations will open a selection window
From call site to PPL function
From PPL function to call sites

PPL has a gate that all the calls from the kernel get to. Before that gate each separate call puts in a pre-determined register (X15) the selector of the PPL function it wants to call. The control will be transferred to the PPL dispatch which will check that a valid function was selected and will then go to the PPL functions table and call it. We find the dispatch, extract the size of the PPL functions table and its address. Then we detect all the calls to the gate from the kernel side, and get the PPL selector that is put in X15. For each call we match a function from the PPL table and for each function on the PPL table we add all the matching kernel calls.
Authored by Omer Porzecanski of Cellebrite Labs.
Based on pacXplorer by Ouri Lipner while at Cellebrite Labs.
Developed and tested for IDA 8 on OS X, iOS 15.X+ for A12+
click here (Remote talent welcome)