HomeFreeBSD

malloc: Add state transitions for KASAN

Description

malloc: Add state transitions for KASAN

  • Reuse some REDZONE bits to keep track of the requested and allocated sizes, and use that to provide red zones.
  • As in UMA, disable memory trashing to avoid unnecessary CPU overhead.

MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D29461

Details

Provenance
markjAuthored on Apr 13 2021, 9:40 PM
Differential Revision
D29461: malloc: Add state transitions for KASAN
Parents
rGf1c3adefd95d: execve: Mark exec argument buffers
Branches
Unknown
Tags
Unknown