[all-commits] [llvm/llvm-project] 255105: [scudo] Add Scudo support for Trusty OS

Kostya Kortchinsky via All-commits all-commits at lists.llvm.org
Tue Jun 8 14:02:57 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2551053e8d8df464d5b60e7c9b0add8f85cc1e10
      https://github.com/llvm/llvm-project/commit/2551053e8d8df464d5b60e7c9b0add8f85cc1e10
  Author: Daniel Michael <danieljm at google.com>
  Date:   2021-06-08 (Tue, 08 Jun 2021)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/allocator_config.h
    M compiler-rt/lib/scudo/standalone/common.h
    M compiler-rt/lib/scudo/standalone/platform.h
    M compiler-rt/lib/scudo/standalone/primary32.h
    M compiler-rt/lib/scudo/standalone/primary64.h
    M compiler-rt/lib/scudo/standalone/size_class_map.h
    M compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
    M compiler-rt/lib/scudo/standalone/tests/primary_test.cpp
    A compiler-rt/lib/scudo/standalone/trusty.cpp
    A compiler-rt/lib/scudo/standalone/trusty.h

  Log Message:
  -----------
  [scudo] Add Scudo support for Trusty OS

trusty.cpp and trusty.h define Trusty implementations of map and other
platform-specific functions. In addition to adding Trusty configurations
in allocator_config.h and size_class_map.h, MapSizeIncrement and
PrimaryEnableRandomOffset are added as configurable options in
allocator_config.h.
Background on Trusty: https://source.android.com/security/trusty

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




More information about the All-commits mailing list