[all-commits] [llvm/llvm-project] 24d44f: [libc] __stack_chk_fail post submit test failures ...

Nick Desaulniers via All-commits all-commits at lists.llvm.org
Tue Dec 19 11:59:56 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 24d44ff473c73891a4085c2cd777108d9d7bb50a
      https://github.com/llvm/llvm-project/commit/24d44ff473c73891a4085c2cd777108d9d7bb50a
  Author: Nick Desaulniers <nickdesaulniers at users.noreply.github.com>
  Date:   2023-12-19 (Tue, 19 Dec 2023)

  Changed paths:
    M libc/src/compiler/__stack_chk_fail.h
    M libc/src/compiler/generic/__stack_chk_fail.cpp
    M libc/test/integration/src/unistd/CMakeLists.txt
    M libc/test/src/compiler/stack_chk_guard_test.cpp

  Log Message:
  -----------
  [libc] __stack_chk_fail post submit test failures (#75962)

Use a size smaller than the smallest supported page size so that we
don't
clobber over any guard pages, which may result in a segfault before
__stack_chk_fail can be called.

Also, move __stack_chk_fail outside of our namespace.




More information about the All-commits mailing list