History log of /llvm-project/libc/src/compiler/generic/__stack_chk_fail.cpp (Results 1 – 5 of 5)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-21-init, llvmorg-19.1.7
# 1d0f40ba 01-Jan-2025 Tristan Ross <tristan.ross@midstall.com>

[libc] fix generic __stack_check_fail for fuchsia (#121401)


# 6f3d1d30 31-Dec-2024 Tristan Ross <tristan.ross@midstall.com>

[libc] add __stack_chk_guard to generic (#121121)


Revision tags: llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4, llvmorg-19.1.3, llvmorg-19.1.2, llvmorg-19.1.1, llvmorg-19.1.0, llvmorg-19.1.0-rc4, llvmorg-19.1.0-rc3, llvmorg-19.1.0-rc2
# aef9a89c 29-Jul-2024 Schrodinger ZHU Yifan <yifanzhu@rochester.edu>

[NFC] add newline after stack smashing message (#100958)

<img width="662" alt="smash newline"
src="https://github.com/user-attachments/assets/99625bcb-efd6-4733-aa01-2a2167ee686f">


Revision tags: llvmorg-19.1.0-rc1, llvmorg-20-init, llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1, llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init
# 24d44ff4 19-Dec-2023 Nick Desaulniers <nickdesaulniers@users.noreply.github.com>

[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 be

[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.

show more ...


# 315a5cce 19-Dec-2023 Nick Desaulniers <nickdesaulniers@users.noreply.github.com>

[libc] move __stack_chk_fail to src/ from startup/ (#75863)

__stack_chk_fail should be provided by libc.a, not startup files.

Add __stack_chk_fail to existing linux and arm entrypoints. On Window

[libc] move __stack_chk_fail to src/ from startup/ (#75863)

__stack_chk_fail should be provided by libc.a, not startup files.

Add __stack_chk_fail to existing linux and arm entrypoints. On Windows
(when
not targeting MinGW), it seems that the corresponding function
identifier is
__security_check_cookie, so no entrypoint is added for Windows.
Baremetal
targets also ought to be compileable with `-fstack-protector*`

There is no common header for this prototype, since calls to
__stack_chk_fail
are meant to be inserted by the compiler upon function return when
compiled
`-fstack-protector*`.

show more ...