Skip to documentation
SLOP

tiny.sys.panic.no_libc

Reference tiny.sys panic no_libc

Defined in panic.

API (26)

Actions

Public operations.

No direct callersNo direct callspanicno libc
Static calls · unresolved targets: unknown · external targets: unknown.

Source

Source: lib/sys/src/panic.zig:5

zig
pub const no_libc = struct {    pub fn call(msg: []const u8, ra: ?usize) noreturn {        _ = msg;        _ = ra;        @trap();    }    pub fn sentinelMismatch(expected: anytype, found: @TypeOf(expected)) noreturn {        _ = found;        call("", null);    }    pub fn unwrapError(err: anyerror) noreturn {        _ = @errorName(err);        call("", null);    }    pub fn outOfBounds(index: usize, len: usize) noreturn {        _ = index;        _ = len;        call("", null);    }    pub fn startGreaterThanEnd(start: usize, end: usize) noreturn {        _ = start;        _ = end;        call("", null);    }    pub fn inactiveUnionField(active: anytype, accessed: @TypeOf(active)) noreturn {        _ = accessed;        call("", null);    }    pub fn sliceCastLenRemainder(src_len: usize) noreturn {        _ = src_len;        call("", null);    }    pub fn reachedUnreachable() noreturn {        call("", null);    }    pub fn unwrapNull() noreturn {        call("", null);    }    pub fn castToNull() noreturn {        call("", null);    }    pub fn incorrectAlignment() noreturn {        call("", null);    }    pub fn invalidErrorCode() noreturn {        call("", null);    }    pub fn integerOutOfBounds() noreturn {        call("", null);    }    pub fn integerOverflow() noreturn {        call("", null);    }    pub fn shlOverflow() noreturn {        call("", null);    }    pub fn shrOverflow() noreturn {        call("", null);    }    pub fn divideByZero() noreturn {        call("", null);    }    pub fn exactDivisionRemainder() noreturn {        call("", null);    }    pub fn integerPartOutOfBounds() noreturn {        call("", null);    }    pub fn corruptSwitch() noreturn {        call("", null);    }    pub fn shiftRhsTooBig() noreturn {        call("", null);    }    pub fn invalidEnumValue() noreturn {        call("", null);    }    pub fn forLenMismatch() noreturn {        call("", null);    }    pub fn copyLenMismatch() noreturn {        call("", null);    }    pub fn memcpyAlias() noreturn {        call("", null);    }    pub fn noreturnReturned() noreturn {        call("", null);    }};
Called byCallsNo direct callspanic.no_libccastToNullpanic.no_libccopyLenMismatchpanic.no_libccorruptSwitchpanic.no_libcdivideByZeropanic.no_libcexactDivisionRemainder+20 morepanic.no_libccall
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsNo direct callerspanic.no_libccallpanic.no_libccastToNull
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsNo direct callerspanic.no_libccallpanic.no_libccopyLenMismatch
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsNo direct callerspanic.no_libccallpanic.no_libccorruptSwitch
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsNo direct callerspanic.no_libccallpanic.no_libcdivideByZero
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsNo direct callerspanic.no_libccallpanic.no_libcexactDivisionRemainder
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsNo direct callerspanic.no_libccallpanic.no_libcforLenMismatch
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsNo direct callerspanic.no_libccallpanic.no_libcinactiveUnionField
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsNo direct callerspanic.no_libccallpanic.no_libcincorrectAlignment
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsNo direct callerspanic.no_libccallpanic.no_libcintegerOutOfBounds
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsNo direct callerspanic.no_libccallpanic.no_libcintegerOverflow
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsNo direct callerspanic.no_libccallpanic.no_libcintegerPartOutOfBounds
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsNo direct callerspanic.no_libccallpanic.no_libcinvalidEnumValue
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsNo direct callerspanic.no_libccallpanic.no_libcinvalidErrorCode
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsNo direct callerspanic.no_libccallpanic.no_libcmemcpyAlias
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsNo direct callerspanic.no_libccallpanic.no_libcnoreturnReturned
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsNo direct callerspanic.no_libccallpanic.no_libcoutOfBounds
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsNo direct callerspanic.no_libccallpanic.no_libcreachedUnreachable
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsNo direct callerspanic.no_libccallpanic.no_libcsentinelMismatch
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsNo direct callerspanic.no_libccallpanic.no_libcshiftRhsTooBig
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsNo direct callerspanic.no_libccallpanic.no_libcshlOverflow
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsNo direct callerspanic.no_libccallpanic.no_libcshrOverflow
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsNo direct callerspanic.no_libccallpanic.no_libcsliceCastLenRemainder
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsNo direct callerspanic.no_libccallpanic.no_libcstartGreaterThanEnd
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsNo direct callerspanic.no_libccallpanic.no_libcunwrapError
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsNo direct callerspanic.no_libccallpanic.no_libcunwrapNull
Static calls · unresolved targets: 0 · external targets: 0.

Complete caller list for panic.no_libc.call

25 direct callers.

Audit

Definitions27
Public names27
Members0
Version26.7.0
Revisiondaab053ee433