fix(verify): arm64 stack save, adaptive canary and host gating

Assisted-by: GLM 5.3
This commit is contained in:
2026-09-19 23:49:19 +02:00
parent 87b1081c53
commit 375182ef1f
25 changed files with 651 additions and 57 deletions
+7
View File
@@ -153,6 +153,13 @@ func paramSize(typ string) int {
return 2
case typ == "int8", typ == "uint8", typ == "byte", typ == "bool":
return 1
case typ == "string":
// ABI0 strings are a two-word header: data pointer + length.
return 16
case typ == "complex64":
return 8
case typ == "complex128":
return 16
default:
// Default to 8 bytes for unknown types.
return 8