• Home
  • Annotate
  • current directory
Name Date Size #Lines LOC

..21-Aug-2025-

include/lib/fake-bti/21-Aug-2025-

README.md A D21-Aug-2025532 1310

fake-bti.cpp A D21-Aug-202510.4 KiB327264

rules.mk A D21-Aug-2025569 2816

README.md

1This library provides fake replacements for the BTI and PMT syscalls for the
2purpose of testing driver code in an unprivileged environment.  It works by
3defining strong symbols for the following system calls:
4
5- **zx_object_get_info**()
6- **zx_bti_pin**()
7- **zx_bti_release_quarantine**().
8- **zx_pmt_unpin**()
9
10The library exposes methods for creating and destroying fake BTI "handles" that
11are compatible with the fake BTI syscalls.  It is not safe to use any other
12handle operations on the fake BTI and PMT handles.
13