Home
last modified time | relevance | path

Searched refs:abfd (Results 1 – 5 of 5) sorted by relevance

/linux/tools/build/feature/
A Dtest-disassembler-four-args.c7 bfd *abfd = bfd_openr(NULL, NULL); in main() local
9 disassembler(bfd_get_arch(abfd), in main()
10 bfd_big_endian(abfd), in main()
11 bfd_get_mach(abfd), in main()
12 abfd); in main()
A Dtest-libbfd-buildid.c6 bfd *abfd = bfd_openr("Pedro", 0); in main() local
7 return abfd && (!abfd->build_id || abfd->build_id->size > 0x506564726f); in main()
/linux/tools/perf/util/
A Dsrcline.c144 bfd *abfd; member
216 vma = bfd_get_section_vma(abfd, section); in find_address_in_section()
239 bfd *abfd; in addr2line_init() local
242 abfd = bfd_openr(path, NULL); in addr2line_init()
243 if (abfd == NULL) in addr2line_init()
246 if (!bfd_check_format(abfd, bfd_object)) in addr2line_init()
253 a2l->abfd = abfd; in addr2line_init()
258 if (slurp_symtab(abfd, a2l)) in addr2line_init()
268 bfd_close(abfd); in addr2line_init()
274 if (a2l->abfd) in addr2line_cleanup()
[all …]
A Dsymbol-elf.c546 bfd *abfd; in read_build_id() local
548 abfd = bfd_openr(filename, NULL); in read_build_id()
549 if (!abfd) in read_build_id()
557 if (!abfd->build_id || abfd->build_id->size > size) in read_build_id()
560 memcpy(bid->data, abfd->build_id->data, abfd->build_id->size); in read_build_id()
561 memset(bid->data + abfd->build_id->size, 0, size - abfd->build_id->size); in read_build_id()
565 bfd_close(abfd); in read_build_id()
693 bfd *abfd; in filename__read_debuglink() local
695 abfd = bfd_openr(filename, NULL); in filename__read_debuglink()
696 if (!abfd) in filename__read_debuglink()
[all …]
A Dsymbol.c1579 bfd *abfd; in dso__load_bfd_symbols() local
1582 abfd = bfd_openr(debugfile, NULL); in dso__load_bfd_symbols()
1583 if (!abfd) in dso__load_bfd_symbols()
1586 if (!bfd_check_format(abfd, bfd_object)) { in dso__load_bfd_symbols()
1592 if (bfd_get_flavour(abfd) == bfd_target_elf_flavour) in dso__load_bfd_symbols()
1595 symbols_size = bfd_get_symtab_upper_bound(abfd); in dso__load_bfd_symbols()
1597 bfd_close(abfd); in dso__load_bfd_symbols()
1608 symbols_count = bfd_canonicalize_symtab(abfd, symbols); in dso__load_bfd_symbols()
1612 section = bfd_get_section_by_name(abfd, ".text"); in dso__load_bfd_symbols()
1670 bfd_close(abfd); in dso__load_bfd_symbols()

Completed in 16 milliseconds