[libc-commits] [PATCH] D159508: Adding a stack protector for linux x86-64.

Tanay Vakharia via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Sep 12 21:04:18 PDT 2023


tnv01 created this revision.
Herald added projects: libc-project, All.
Herald added a subscriber: libc-commits.
tnv01 requested review of this revision.

Setting %fs:0x28 to a random value which is used as the stack protector cookie.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D159508

Files:
  libc/startup/linux/x86_64/CMakeLists.txt
  libc/startup/linux/x86_64/start.cpp
  libc/test/integration/src/unistd/CMakeLists.txt
  libc/test/integration/src/unistd/stack_smashing_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159508.556621.patch
Type: text/x-patch
Size: 5568 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230913/565aad11/attachment.bin>


More information about the libc-commits mailing list