Lines Matching refs:fmt
93 return nil, fmt.Errorf("invalid section index %d", symbol.Section)
110 return nil, fmt.Errorf("symbol starts before the start of its section")
114 return nil, fmt.Errorf("symbol extends past the end of its section")
117 return nil, fmt.Errorf("unsupported elf file type %d", elfFile.Type())
142 fmt.Println("mockElfFile{")
143 fmt.Printf("\tt: %#v,\n", elfFile.Type)
145 fmt.Println("\tsections: []elf.SectionHeader{")
147 fmt.Printf("\t\t%#v,\n", section.SectionHeader)
149 fmt.Println("\t},")
151 fmt.Println("\tsymbols: []elf.Symbol{")
153 fmt.Printf("\t\t%#v,\n", symbol)
155 fmt.Println("\t},")
157 fmt.Println("}")