Home
last modified time | relevance | path

Searched refs:sheader (Results 1 - 4 of 4) sorted by relevance

/third_party/libbpf/src/
H A Delf.c170 static GElf_Shdr *elf_sec_hdr_by_idx(const pelfio_t elf, size_t idx, GElf_Shdr *sheader) in elf_sec_hdr_by_idx() argument
173 sheader->sh_name = elfio_section_get_name_string_offset(psection); in elf_sec_hdr_by_idx()
174 sheader->sh_type = elfio_section_get_type(psection); in elf_sec_hdr_by_idx()
175 sheader->sh_flags = elfio_section_get_flags(psection); in elf_sec_hdr_by_idx()
176 sheader->sh_addr = elfio_section_get_address(psection); in elf_sec_hdr_by_idx()
177 sheader->sh_offset = elfio_section_get_offset(psection); in elf_sec_hdr_by_idx()
178 sheader->sh_size = elfio_section_get_size(psection); in elf_sec_hdr_by_idx()
179 sheader->sh_link = elfio_section_get_link(psection); in elf_sec_hdr_by_idx()
180 sheader->sh_info = elfio_section_get_info(psection); in elf_sec_hdr_by_idx()
181 sheader in elf_sec_hdr_by_idx()
[all...]
H A Dbtf.c1087 static Elf64_Shdr *elf_sec_hdr_by_idx(pelfio_t elf, size_t idx, Elf64_Shdr *sheader) in elf_sec_hdr_by_idx() argument
1091 sheader->sh_name = elfio_section_get_name_string_offset(psection); in elf_sec_hdr_by_idx()
1092 sheader->sh_type = elfio_section_get_type(psection); in elf_sec_hdr_by_idx()
1093 sheader->sh_flags = elfio_section_get_flags(psection); in elf_sec_hdr_by_idx()
1094 sheader->sh_addr = elfio_section_get_address(psection); in elf_sec_hdr_by_idx()
1095 sheader->sh_offset = elfio_section_get_offset(psection); in elf_sec_hdr_by_idx()
1096 sheader->sh_size = elfio_section_get_size(psection); in elf_sec_hdr_by_idx()
1097 sheader->sh_link = elfio_section_get_link(psection); in elf_sec_hdr_by_idx()
1098 sheader->sh_info = elfio_section_get_info(psection); in elf_sec_hdr_by_idx()
1099 sheader in elf_sec_hdr_by_idx()
[all...]
H A Dlibbpf.c726 static Elf64_Shdr *elf_sec_hdr_by_idx(const struct bpf_object *obj, size_t idx, Elf64_Shdr *sheader);
3510 static Elf64_Shdr *elf_sec_hdr_by_idx(const struct bpf_object *obj, size_t idx, Elf64_Shdr *sheader) argument
3514 sheader->sh_name = elfio_section_get_name_string_offset(psection);
3515 sheader->sh_type = elfio_section_get_type(psection);
3516 sheader->sh_flags = elfio_section_get_flags(psection);
3517 sheader->sh_addr = elfio_section_get_address(psection);
3518 sheader->sh_offset = elfio_section_get_offset(psection);
3519 sheader->sh_size = elfio_section_get_size(psection);
3520 sheader->sh_link = elfio_section_get_link(psection);
3521 sheader
[all...]
/third_party/libabigail/src/
H A Dabg-elf-helpers.cc935 GElf_Shdr* sheader = gelf_getshdr(kcrctab_section, &sheader_mem); in get_crc_for_symbol() local
936 if (sheader == NULL) in get_crc_for_symbol()
943 if (crc_symbol_value < sheader->sh_addr) in get_crc_for_symbol()
946 size_t offset = crc_symbol_value - sheader->sh_addr; in get_crc_for_symbol()
948 || offset + sizeof(uint32_t) > sheader->sh_size) in get_crc_for_symbol()
1359 GElf_Shdr* sheader = gelf_getshdr(section, &sheader_mem); in address_is_in_section() local
1361 if (sheader->sh_addr <= addr && addr <= sheader->sh_addr + sheader->sh_size) in address_is_in_section()

Completed in 16 milliseconds