Lines Matching full:nil
24 if err != nil {
25 return nil, err
27 return &machoFile{f}, nil
31 if f.macho.Symtab == nil {
32 return nil, fmt.Errorf("missing symbol table")
77 return syms, nil
81 if sect := f.macho.Section("__text"); sect != nil {
84 if sect := f.macho.Section("__gosymtab"); sect != nil {
85 if symtab, err = sect.Data(); err != nil {
86 return 0, nil, nil, err
89 if sect := f.macho.Section("__gopclntab"); sect != nil {
90 if pclntab, err = sect.Data(); err != nil {
91 return 0, nil, nil, err
94 return textStart, symtab, pclntab, nil
99 if sect == nil {
100 return 0, nil, fmt.Errorf("text section not found")