Files
awgh dd7757eeb3 Add relocation editing support across ELF/Mach-O/PE with tests
- implement relocation add/replace APIs and serialization updates per format
- generate dyld rebase/bind info from Mach-O relocs with optional ordinals
- update ELF dynamic relocation tags and safe relayout handling
- add/extend relocation tests and stabilize existing test suite
2026-01-23 20:55:41 -08:00

23 lines
376 B
Go

package gosym
import (
"os/exec"
"testing"
)
func mustHaveGoBuild(t *testing.T) {
t.Helper()
if _, err := exec.LookPath("go"); err != nil {
t.Skip("skipping; go tool not available in PATH")
}
}
func goToolPath(t *testing.T) string {
t.Helper()
path, err := exec.LookPath("go")
if err != nil {
t.Skip("skipping; go tool not available in PATH")
}
return path
}