(name string, start, limit, offset uint64)
| 416 | } |
| 417 | |
| 418 | func (b *binrep) openMachO(name string, start, limit, offset uint64) (plugin.ObjFile, error) { |
| 419 | of, err := macho.Open(name) |
| 420 | if err != nil { |
| 421 | return nil, fmt.Errorf("error parsing %s: %v", name, err) |
| 422 | } |
| 423 | defer of.Close() |
| 424 | |
| 425 | return b.openMachOCommon(name, of, start, limit, offset) |
| 426 | } |
| 427 | |
| 428 | func (b *binrep) openELF(name string, start, limit, offset uint64, relocationSymbol string) (plugin.ObjFile, error) { |
| 429 | ef, err := elfOpen(name) |
no test coverage detected