MCPcopy Create free account
hub / github.com/KDAB/GammaRay / badass_function

Function badass_function

3rdparty/backward-cpp/test/suicide.cpp:35–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33using namespace backward;
34
35void badass_function() {
36 char *ptr = (char *)42;
37 *ptr = 42;
38}
39
40TEST_SEGFAULT(invalid_write) { badass_function(); }
41

Callers 1

TEST_SEGFAULTFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected