2026-07-24 09:57:21 +02:00
|
|
|
// Copyright (c) 2026 Petr Balvín <opensource@petrbalvin.org> (https://petrbalvin.org)
|
|
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
|
|
2026-08-21 00:03:30 +02:00
|
|
|
//go:build !amd64 && !arm64 && !riscv64 && !loong64
|
2026-07-24 09:57:21 +02:00
|
|
|
|
|
|
|
|
package verify
|
|
|
|
|
|
|
|
|
|
import "fmt"
|
|
|
|
|
|
2026-08-30 11:27:54 +02:00
|
|
|
// CallChecked is unavailable on unsupported architectures.
|
2026-07-24 09:57:21 +02:00
|
|
|
func CallChecked(fnAddr uintptr, args []byte) ([]byte, ABIReport, error) {
|
2026-08-30 11:27:54 +02:00
|
|
|
return nil, ABIReport{}, fmt.Errorf("verify: ABI checks are not supported on this architecture")
|
2026-07-24 09:57:21 +02:00
|
|
|
}
|
2026-09-19 23:49:19 +02:00
|
|
|
|
|
|
|
|
// 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")
|
|
|
|
|
}
|