Fully statically linked for both x64 and arm64. Updated build.sh to always compile both versions

This commit is contained in:
2025-08-11 06:54:50 -04:00
parent ae4aa7cf80
commit d257ae49f1
12 changed files with 1526 additions and 59 deletions

Binary file not shown.

View File

@@ -24,10 +24,11 @@
// UTILITY FUNCTIONS
// =============================================================================
// Memory clearing utility
static void memory_clear(void *p, size_t len) {
// Memory clearing utility - accepts const pointers for security clearing
static void memory_clear(const void *p, size_t len) {
if (p && len) {
memset(p, 0, len);
// Cast away const for memset - this is safe for security clearing
memset((void *)p, 0, len);
}
}