[PATCH] D123544: [randstruct] Automatically randomize a structure of function pointers

Nick Desaulniers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 12 15:14:43 PDT 2022


nickdesaulniers added a comment.

> if the developer uses default initialization for a randomized structure.

Yeah, I suspect that @aaron.ballman @lebedev.ri @xbolva00 missed that this just extends the newly added opt-in `-frandomize-layout-seed=` (https://reviews.llvm.org/D121556). Why a developer would want the latter but not the former, when the existing GCC plugin being used by the kernel doesn't differentiate is somewhat a tangential feature request that doesn't need to be two distinct things at the moment for existing consumers.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123544



More information about the cfe-commits mailing list