func printFileInformation(f *macho.File) { log.Printf("ByteOrder: %s", f.ByteOrder) printHeader(&f.FileHeader) // Also f.FileHeader.Ncmd log.Printf("file has %d load commands", len(f.Loads)) log.Printf("file has %d sections", len(f.Sections)) printSections(f.Sections) printSymtab(f.Symtab) printDysymtab(f.Dysymtab) printImportedLibraries(f.ImportedLibraries()) }