This bundle contains the reverse engineering code for the LAP, as well as the prerequisites to run these experiments on macOS. We have tested this setup on macOS 14.5 build 23F79. The steps are as follows:
- Install the Kernel Debug Kit (KDK) for macOS 14.5 build 23F79.
- Follow the README in
pacmanpatcherto create a patched version of the development kernel, which allows user code to count cycles. - Follow the README in
enable-dc-civac, which is a kernel extension allowing cache flush instructions to run from user code. Here, we also report a bug withkmutilwhere it uses an incorrect path when looking for a custom kernelcache. - Follow the README in
slapfor the reverse engineering experiments.