commit | 12f9ce701550aed89c3c31efb0651e3533a0e7be | [log] [tgz] |
---|---|---|
author | Venkatesh Srinivas <venkateshs@google.com> | Fri Aug 21 04:07:33 2020 +0000 |
committer | CQ Bot Account <commit-bot@chromium.org> | Fri Aug 21 04:07:33 2020 +0000 |
tree | 104bce6e895987caa1521e1a92074c1e932cb7e6 | |
parent | ba8f2af20b922d6dc744a76c682ae8a2cbcfe9cc [diff] |
[kernel][x86][kasan] Check out-of-bounds accesses to globals This CL instruments accesses to global variables in zircon. The compiler adds a redzone to the right of every global object. Our instrumentation poisons the redzones and in the steady-state traps on accesses to the redzones to detect and panic on out of bounds accesses. To enable this instrumentation, we add all kernel sections that can have globals to the regions kASAN tracks; we also record every contiguous region of globals in early boot and register them with asan (posion their right redzones) in later boot. Pair-programmed-with: mvanotti@ Bug: 30033 Kernelmode ASAN for Zircon Change-Id: Iab3227f784fda32f5b8bf2405b304ce18bea432f Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/392703 Commit-Queue: Marco Vanotti <mvanotti@google.com> Reviewed-by: Roland McGrath <mcgrathr@google.com> Reviewed-by: Adrian Danis <adanis@google.com> Testability-Review: Adrian Danis <adanis@google.com>
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See fuchsia.dev.