MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / my_segv

Function my_segv

test/signal/test-signalhandler.cpp:51–55  ·  view source on GitHub ↗

static*/

Source from the content-addressed store, hash-verified

49}
50
51/*static*/ void my_segv() // NOLINT(misc-use-internal-linkage)
52{
53 // cppcheck-suppress nullPointer
54 ++*static_cast<int*>(nullptr); // NOLINT(clang-analyzer-core.NullDereference)
55}
56
57#if !defined(__APPLE__) && !defined(_AIX)
58/*static*/ int my_fpe() // NOLINT(misc-use-internal-linkage)

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected