sbom.go - dynamic array size, func getParent(...)