[PATCH] D123910: [HWAsan] Fix the hard code on kernel page size bits

Evgenii Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 18 10:30:03 PDT 2022


eugenis added a comment.

Generally, there is no way to tell the target page size in advance. And there is no need for that, too - just untie this value from the page size instead, and fix the munmap issue in the runtime library by up/down aligning the bounds to the runtime page size. You can also increase the default / minimal ring buffer size at runtime to be a multiple of the page size.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123910/new/

https://reviews.llvm.org/D123910



More information about the llvm-commits mailing list