abla/ct/scrub
Generated from source.
Import with import "abla/ct/scrub".
Source: abla/ct/scrub/entry.ab
ablaCtScrubStack512 (extern)
noescape extern:"intrinsic" fun ablaCtScrubStack512(): void
Zeroes 512 bytes below the current stack pointer on a target with an addressable supported stack.
ablaCtScrubStack1024 (extern)
noescape extern:"intrinsic" fun ablaCtScrubStack1024(): void
Zeroes 1024 bytes below the current stack pointer on a target with an addressable supported stack.
ablaCtScrubStack2048 (extern)
noescape extern:"intrinsic" fun ablaCtScrubStack2048(): void
Zeroes 2048 bytes below the current stack pointer on a target with an addressable supported stack.
ablaCtScrubStack4096 (extern)
noescape extern:"intrinsic" fun ablaCtScrubStack4096(): void
Zeroes 4096 bytes below the current stack pointer on a target with an addressable supported stack.
ablaCtScrubBoundedStack512 (extern)
noescape extern:"intrinsic" fun ablaCtScrubBoundedStack512(): void
Zeroes up to 512 bytes below the stack pointer within the runtime's stack bounds.
ablaCtScrubBoundedStack1024 (extern)
noescape extern:"intrinsic" fun ablaCtScrubBoundedStack1024(): void
Zeroes up to 1024 bytes below the stack pointer within the runtime's stack bounds.
ablaCtScrubBoundedStack2048 (extern)
noescape extern:"intrinsic" fun ablaCtScrubBoundedStack2048(): void
Zeroes up to 2048 bytes below the stack pointer within the runtime's stack bounds.
ablaCtScrubBoundedStack4096 (extern)
noescape extern:"intrinsic" fun ablaCtScrubBoundedStack4096(): void
Zeroes up to 4096 bytes below the stack pointer within the runtime's stack bounds.
ablaCtScrubBounded (extern)
noescape extern:"intrinsic" fun ablaCtScrubBounded(): bool
Returns true when the target's stack scrub requires the bounded implementation.
ablaCtScrubSaveAreas (extern)
noescape extern:"intrinsic" fun ablaCtScrubSaveAreas(): void
Clears the target's stack save areas when they require a separate wipe.
ablaCtScrubAvailable (extern)
noescape extern:"intrinsic" fun ablaCtScrubAvailable(): bool
Returns true when the built and linked program can perform native stack wipes.
ctScrubAvailable (fun)
fun ctScrubAvailable(): bool
Whether the ctScrubStack* wipes zero anything in this program as built and linked: always on x86-64 and AArch64, never on Wasm (no native stack), and on Xtensa only when the image defines abla_ct_stack_low (decided by what is linked into the image). There true means the wipes can run, not that each one does: one is skipped when abla_ct_stack_low returns 0 (in an interrupt, or a task with no known limit). A firmware that relies on the wipes can check it once at startup. Not at compile time (compile.effect-denied).
ctScrubBelow512 (fun)
@noinline fun ctScrubBelow512(): void
Calls the native wipe for 512 bytes below the stack pointer.
ctScrubBelow1024 (fun)
@noinline fun ctScrubBelow1024(): void
Calls the native wipe for 1024 bytes below the stack pointer.
ctScrubBelow2048 (fun)
@noinline fun ctScrubBelow2048(): void
Calls the native wipe for 2048 bytes below the stack pointer.
ctScrubBelow4096 (fun)
@noinline fun ctScrubBelow4096(): void
Calls the native wipe for 4096 bytes below the stack pointer.
ctScrubBounded512 (fun)
@noinline fun ctScrubBounded512(): void
Calls the native wipe for up to 512 bytes while respecting the runtime's stack bound.
ctScrubBounded1024 (fun)
@noinline fun ctScrubBounded1024(): void
Calls the native wipe for up to 1024 bytes while respecting the runtime's stack bound.
ctScrubBounded2048 (fun)
@noinline fun ctScrubBounded2048(): void
Calls the native wipe for up to 2048 bytes while respecting the runtime's stack bound.
ctScrubBounded4096 (fun)
@noinline fun ctScrubBounded4096(): void
Calls the native wipe for up to 4096 bytes while respecting the runtime's stack bound.
ctScrubStack512 (fun)
@inline fun ctScrubStack512(): void
Zeroes the 512 bytes below the stack pointer.
ctScrubStack1024 (fun)
@inline fun ctScrubStack1024(): void
Zeroes the 1024 bytes below the stack pointer.
ctScrubStack2048 (fun)
@inline fun ctScrubStack2048(): void
Zeroes the 2048 bytes below the stack pointer.
ctScrubStack4096 (fun)
@inline fun ctScrubStack4096(): void
Zeroes the 4096 bytes below the stack pointer.
Built from Abla v0.2.79 source ba5d6b7d. Examples and generated signatures follow that source revision.