Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bombela/backward-cpp
/ badass_function
Function
badass_function
test/suicide.cpp:35–38 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
33
using namespace backward;
34
35
void badass_function() {
36
char *ptr = (char *)42;
37
*ptr = 42;
38
}
39
40
TEST_SEGFAULT(invalid_write) { badass_function(); }
41
Callers
1
TEST_SEGFAULT
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected