mirror of
https://github.com/sliverarmory/reflektor
synced 2026-08-25 09:14:48 +00:00
14 lines
198 B
Go
14 lines
198 B
Go
//go:build !darwin || ios
|
|
|
|
package native
|
|
|
|
import (
|
|
"bytes"
|
|
"debug/buildinfo"
|
|
)
|
|
|
|
func imageHasGoBuildInfo(data []byte) bool {
|
|
_, err := buildinfo.Read(bytes.NewReader(data))
|
|
return err == nil
|
|
}
|