[all-commits] [llvm/llvm-project] a2b677: [fuzzer] Don't hard-code page size in FuzzerUtil.h

Ami-zhang via All-commits all-commits at lists.llvm.org
Thu May 25 16:35:29 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a2b677e8153758997a9043360cf51333eecc3c44
      https://github.com/llvm/llvm-project/commit/a2b677e8153758997a9043360cf51333eecc3c44
  Author: zhanglimin <zhanglimin at loongson.cn>
  Date:   2023-05-25 (Thu, 25 May 2023)

  Changed paths:
    M compiler-rt/lib/fuzzer/FuzzerUtil.cpp
    M compiler-rt/lib/fuzzer/FuzzerUtil.h

  Log Message:
  -----------
  [fuzzer] Don't hard-code page size in FuzzerUtil.h

Don't hard code the page in FuzzerUtil.h, this breaks on
e.g. LoongArch which defaults to a 16KiB page size.

Reviewed By: #sanitizers, vitalybuka

Differential Revision: https://reviews.llvm.org/D140607




More information about the All-commits mailing list