NAME
obf.h - Bark sensitive function protection, blinded constants, and memory wipe helpers.
SYNOPSIS
Macros
#define BARK_PROTECT
Function attribute enabling Bark control-flow and constant hardening in release builds.
#define BARK_SECRET_CONST(x)
Blind a scalar constant at compile time in release builds.
#define BARK_STR_DECL(var, lit)
Declare a stack-reconstructed string literal wiped on scope exit.
#define BARK_STR_WIPE(var)
Explicitly wipe a stack string declared with BARK_STR_DECL.
#define BARK_SECRET_STR_DECL(var, lit)
Declare a secret stack string literal reconstructed only at point of use.
#define BARK_SECRET_BYTES_DECL(var, len_const, ...)
Declare a secret fixed-length byte array reconstructed only at point of use.
Functions
void bark_wipe_inline (void *buf, size_t len)
Volatile-safe in-place memory wipe that cannot be optimized away.
Detailed Description
Bark sensitive function protection, blinded constants, and memory wipe helpers.
Author
Generated automatically by Doxygen for Bark from the source code.