[all-commits] [llvm/llvm-project] 6f7970: [randstruct] Automatically randomize a structure o...

Bill Wendling via All-commits all-commits at lists.llvm.org
Fri Apr 29 11:05:26 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f79700830292d86afec5f3cf5143b00e6f3f1fd
      https://github.com/llvm/llvm-project/commit/6f79700830292d86afec5f3cf5143b00e6f3f1fd
  Author: Bill Wendling <isanbard at gmail.com>
  Date:   2022-04-29 (Fri, 29 Apr 2022)

  Changed paths:
    M clang/lib/Sema/SemaDecl.cpp
    M clang/unittests/AST/RandstructTest.cpp

  Log Message:
  -----------
  [randstruct] Automatically randomize a structure of function pointers

Strutures of function pointers are a good surface area for attacks. We
should therefore randomize them unless explicitly told not to.

Reviewed By: aaron.ballman, MaskRay

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




More information about the All-commits mailing list