https://rethinkdb.com/blog/handling-stack-overflow-on-custom-stacks/

https://barrgroup.com/embedded-systems/how-to/prevent-detect-stack-overflow 

etc.
{
private:
    const Context & context;
public:
    static constexpr auto name = "trap";
    static FunctionPtr create(const Context & context)
    {
        return std::make_shared<FunctionTrap>(context);
    }
    FunctionTrap(const Context & context_) : context(context_) {}
    String getName() const override
    {
        return name;
    }
    size_t getNumberOfArguments() const override
    {
        return 1;
    }
    DataTypePtr getReturnTypeImpl(const DataTypes & arguments) const override