Lines Matching full:section
11 is a special section filled with 'llext_const_symbol' structures
24 from elftools.elf.sections import Section
59 #ELF Shdr flag applied to the export table section, to indicate
60 #the section has already been prepared by this script. This is
72 """ELF Section descriptor
74 This is a wrapper class around pyelftools' "Section" object.
78 self.section = elffile.get_section_by_name(section_name)
79 if not isinstance(self.section, Section):
80 raise KeyError(f"section {section_name} not found")
85 self.size = self.section['sh_size']
86 self.flags = self.section['sh_flags']
87 self.offset = self.section['sh_offset']
145 to that section are equal to the offset inside the section.
224 # 1) Locate in which section the names are located
264 # Locate the export table section
274 self.log.warning("exptab section flagged with LLEXT_PREPARATION_DONE "
294 # Attempt to locate the export names section
301 self.log.debug(f"exports table section at file offset 0x{self.exptab_section.offset:X}")
303 … self.log.debug(f"exports strtab section at file offset 0x{self.expstrtab_section.offset:X}")
305 self.log.debug("no exports strtab section in ELF")
314 if res == 0: # Add the "prepared" flag to export table section