Searched refs:sheader (Results 1 – 3 of 3) sorted by relevance
935 GElf_Shdr* sheader = gelf_getshdr(kcrctab_section, &sheader_mem); in get_crc_for_symbol() local936 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() local1361 if (sheader->sh_addr <= addr && addr <= sheader->sh_addr + sheader->sh_size) in address_is_in_section()
938 static Elf64_Shdr *elf_sec_hdr_by_idx(pelfio_t elf, size_t idx, Elf64_Shdr *sheader) in elf_sec_hdr_by_idx() argument942 sheader->sh_name = elfio_section_get_name_string_offset(psection); in elf_sec_hdr_by_idx()943 sheader->sh_type = elfio_section_get_type(psection); in elf_sec_hdr_by_idx()944 sheader->sh_flags = elfio_section_get_flags(psection); in elf_sec_hdr_by_idx()945 sheader->sh_addr = elfio_section_get_address(psection); in elf_sec_hdr_by_idx()946 sheader->sh_offset = elfio_section_get_offset(psection); in elf_sec_hdr_by_idx()947 sheader->sh_size = elfio_section_get_size(psection); in elf_sec_hdr_by_idx()948 sheader->sh_link = elfio_section_get_link(psection); in elf_sec_hdr_by_idx()949 sheader->sh_info = elfio_section_get_info(psection); in elf_sec_hdr_by_idx()950 sheader->sh_addralign = elfio_section_get_addr_align(psection); in elf_sec_hdr_by_idx()[all …]
718 static Elf64_Shdr *elf_sec_hdr_by_idx(const struct bpf_object *obj, size_t idx, Elf64_Shdr *sheader…3416 static Elf64_Shdr *elf_sec_hdr_by_idx(const struct bpf_object *obj, size_t idx, Elf64_Shdr *sheader) argument3420 sheader->sh_name = elfio_section_get_name_string_offset(psection);3421 sheader->sh_type = elfio_section_get_type(psection);3422 sheader->sh_flags = elfio_section_get_flags(psection);3423 sheader->sh_addr = elfio_section_get_address(psection);3424 sheader->sh_offset = elfio_section_get_offset(psection);3425 sheader->sh_size = elfio_section_get_size(psection);3426 sheader->sh_link = elfio_section_get_link(psection);3427 sheader->sh_info = elfio_section_get_info(psection);[all …]