Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nice stack smashing postmortem message #8670

Merged
merged 2 commits into from
Oct 31, 2022

Commits on Sep 9, 2022

  1. Nice stack smashing postmortem message

    Wire everything that relies on stack smashing detection to call
    `__stack_chk_fail()` (aka what libssp / ssp / stack-protector uses)
    Expose it in our debugging header
    
    Rename overflow -> smashing, as these are different things we are trying
    to detect (meaning, that we check for things writing there, not some
    kind of `alloca` issue or the way `-fstack-check` would have worked)
    ref. esp8266#8666
    
    `-fstack-protector` continues to work as it always did
    CONT replaces `abort()`, also moves its check to the loop wrapper to
    avoid dumping otherwise useless SYS context memory
    StackThunk replaces a similar `abort()` call
    mcspr committed Sep 9, 2022
    Configuration menu
    Copy the full SHA
    ca79ab2 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2022

  1. Configuration menu
    Copy the full SHA
    6ecebf4 View commit details
    Browse the repository at this point in the history