Skip to content

Instantly share code, notes, and snippets.

@AriESQ
Last active April 20, 2022 20:43
Show Gist options
  • Save AriESQ/5e72b0124492909951882656b5a10496 to your computer and use it in GitHub Desktop.
Save AriESQ/5e72b0124492909951882656b5a10496 to your computer and use it in GitHub Desktop.
randstruct compile time randomization in GCC and LLVM/Clang. Will it impact #reproducibleBuilds?
Original story: https://www.phoronix.com/scan.php?page=news_item&px=Clang-Linux-RandStruct
LLVM/Clang
https://github.com/llvm/llvm-project/commit/3f0587d0c668202bb89d29a25432aa290e551a31
https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git/log/?h=for-next/randstruct
https://lists.llvm.org/pipermail/cfe-dev/2019-March/061607.html
GCC:
https://www.openwall.com/lists/kernel-hardening/2017/04/06/14
https://hardenedlinux.github.io/system-security/2016/08/01/reproducbile-builds-for-pax-grsecurity.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment