fix(verify): arm64 stack save, adaptive canary and host gating
Assisted-by: GLM 5.3
This commit is contained in:
@@ -143,7 +143,10 @@ func TestParamSize(t *testing.T) {
|
||||
{"uint8", 1},
|
||||
{"byte", 1},
|
||||
{"bool", 1},
|
||||
{"string", 8}, // unknown type defaults to 8
|
||||
{"string", 16}, // ABI0 header: data pointer + length
|
||||
{"complex64", 8},
|
||||
{"complex128", 16},
|
||||
{"error", 8}, // unknown type defaults to 8
|
||||
}
|
||||
for _, tt := range tests {
|
||||
if got := paramSize(tt.typ); got != tt.want {
|
||||
|
||||
Reference in New Issue
Block a user