C++ Logo

std-proposals

Advanced search

Re: [std-proposals] #include <call_stack>

From: Bjorn Reese <breese_at_[hidden]>
Date: Wed, 31 May 2023 16:57:35 +0200
On 5/31/23 09:20, Frederick Virchanza Gotham via Std-Proposals wrote:

> This would serve two purposes:
> (1) If you have a recursive function that will re-enter thousands of
> times, then you can temporarily allocate a stack in the gigabytes.
> (2) If the stack isn't executable, and you need to execute the stack.
> Or, if the stack _is_executable, and you want to prevent execution of
> the stack (for added security when calling 3rd party library functions).

Are these problems sufficiently common to warrant the inclusion into
the standard, rather than using a third-party library such as
Boost.Context?

How do you intend to address security concerns?

Received on 2023-05-31 14:57:38