MCPcopy Index your code
hub / github.com/celzero/firestack / Crash

Function Crash

intra/tun2socks.go:411–425  ·  view source on GitHub ↗

Crash causes a crash by panicking on an out-of-bounds slice access. For testing only. Setting typ to 0 must send the crash output to stderr and abort, and 1 to console and not quit, while 2 must send the crash output to console and abort. afterMs is the number of milliseconds to wait before crashing

(typ, afterMs int64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

RecoverFunction · 0.92
IFunction · 0.92
FmtMillisFunction · 0.92

Tested by

no test coverage detected