mirror of
https://github.com/sliverarmory/reflektor
synced 2026-08-25 09:14:48 +00:00
c7ee9636e9
Enable BOF and ELF shared-library loading on FreeBSD, including recursive dependency handling and exact symbol-version resolution. Add strict no-skip FreeBSD 15.1 QEMU coverage, a 25-object semantic BOF corpus per architecture, platform documentation, and the verified Sliver compile exception.
16 lines
500 B
Go
16 lines
500 B
Go
//go:build (darwin && (amd64 || arm64)) || (freebsd && amd64) || (linux && (386 || amd64 || (arm && arm.7) || arm64 || ppc64le || riscv64)) || (windows && (386 || amd64 || arm64))
|
|
|
|
package reflektor_test
|
|
|
|
import (
|
|
"runtime"
|
|
"testing"
|
|
)
|
|
|
|
func TestLoadGeneratedGoSharedLibraryRecursiveMode(t *testing.T) {
|
|
requireRecursiveLoaderPlatform(t)
|
|
outDir := t.TempDir()
|
|
libraryPath := buildOneGoSharedLib(t, outDir, runtime.GOOS, runtime.GOARCH)
|
|
runGoRuntimeFixtureSubprocessMode(t, libraryPath, true)
|
|
}
|