Skip to content

Instantly share code, notes, and snippets.

@toriningen
toriningen / xnu-syscall-life-amd64.md
Created May 14, 2018 00:48 — forked from yrp604/xnu-syscall-life-amd64.md
The life of an XNU unix syscall on amd64

XNU syscall path

Chart

             +------------------+
             |These push their  |                                  +-----------------------+
             |respective syscall|                                  |This overwrites the    |
             |dispatch functions|                                  |saved dispatch function|
             |onto the stack    |                                  |with hndl_alltraps     |