Files
gasm-sdk/verify/abi_other.go
T
2026-09-19 23:49:19 +02:00

19 lines
705 B
Go

// Copyright (c) 2026 Petr Balvín <opensource@petrbalvin.org> (https://petrbalvin.org)
// SPDX-License-Identifier: BSD-3-Clause
//go:build !amd64 && !arm64 && !riscv64 && !loong64
package verify
import "fmt"
// CallChecked is unavailable on unsupported architectures.
func CallChecked(fnAddr uintptr, args []byte) ([]byte, ABIReport, error) {
return nil, ABIReport{}, fmt.Errorf("verify: ABI checks are not supported on this architecture")
}
// CallCheckedFrame is unavailable on unsupported architectures.
func CallCheckedFrame(fnAddr uintptr, args []byte, frame int) ([]byte, ABIReport, error) {
return nil, ABIReport{}, fmt.Errorf("verify: ABI checks are not supported on this architecture")
}