zig/test/cases/safety
2022-10-07 11:04:02 +03:00
..
@alignCast misaligned.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
@asyncCall with too small a frame.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
@errSetCast error not present in destination.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
@floatToInt cannot fit - negative out of range.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
@floatToInt cannot fit - negative to unsigned.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
@floatToInt cannot fit - positive out of range.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
@intCast to u0.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
@intToEnum - no matching tag value.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
@intToPtr address zero to non-optional byte-aligned pointer.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
@intToPtr address zero to non-optional pointer.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
@tagName on corrupted enum value.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
@tagName on corrupted union value.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
array slice sentinel mismatch non-scalar.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
array slice sentinel mismatch vector.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
array slice sentinel mismatch.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
awaiting twice.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
bad union field access.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
calling panic.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
cast []u8 to bigger slice of wrong size.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
cast integer to global error and no code matches.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
empty slice with sentinel out of bounds.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
error return trace across suspend points.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
exact division failure - vectors.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
exact division failure.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
integer addition overflow.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
integer division by zero - vectors.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
integer division by zero.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
integer multiplication overflow.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
integer negation overflow.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
integer subtraction overflow.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
intToPtr with misaligned address.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
invalid resume of async function.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
modrem by zero.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
modulus by zero.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
nosuspend function call, callee suspends.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
optional unwrap operator on C pointer.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
optional unwrap operator on null pointer.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
out of bounds slice access.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
pointer casting null to non-optional pointer.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
pointer slice sentinel mismatch.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
remainder division by zero.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
resuming a function which is awaiting a call.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
resuming a function which is awaiting a frame.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
resuming a non-suspended function which has been suspended and resumed.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
resuming a non-suspended function which never been suspended.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
shift left by huge amount.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
shift right by huge amount.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
signed integer division overflow - vectors.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
signed integer division overflow.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
signed integer not fitting in cast to unsigned integer - widening.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
signed integer not fitting in cast to unsigned integer.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
signed shift left overflow.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
signed shift right overflow.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
signed-unsigned vector cast.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
slice sentinel mismatch - floats.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
slice sentinel mismatch - optional pointers.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
slice slice sentinel mismatch.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
slice with sentinel out of bounds - runtime len.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
slice with sentinel out of bounds.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
slicing null C pointer - runtime len.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
slicing null C pointer.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
switch else on corrupt enum value - one prong.zig safety: add safety check for hitting else branch on a corrupt enum value 2022-10-07 11:04:02 +03:00
switch else on corrupt enum value - union.zig safety: add safety check for hitting else branch on a corrupt enum value 2022-10-07 11:04:02 +03:00
switch else on corrupt enum value.zig safety: add safety check for hitting else branch on a corrupt enum value 2022-10-07 11:04:02 +03:00
switch on corrupted enum value.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
switch on corrupted union value.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
truncating vector cast.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
unreachable.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
unsigned integer not fitting in cast to signed integer - same bit count.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
unsigned shift left overflow.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
unsigned shift right overflow.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
unsigned-signed vector cast.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
unwrap error switch.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
unwrap error.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
value does not fit in shortening cast - u0.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
value does not fit in shortening cast.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
vector integer addition overflow.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
vector integer multiplication overflow.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
vector integer negation overflow.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
vector integer subtraction overflow.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
zero casted to error.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00