MCPcopy Create free account
hub / github.com/bombela/backward-cpp / bye_bye_stack

Function bye_bye_stack

test/suicide.cpp:78–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76// Darwin does not allow RLIMIT_STACK to be reduced
77#ifndef __APPLE__
78int bye_bye_stack(int i) { return bye_bye_stack(i + 1) + bye_bye_stack(i * 2); }
79
80TEST_SEGFAULT(stackoverflow) {
81#ifndef _WIN32

Callers 1

TEST_SEGFAULTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected