Lines Matching refs:section
121 for section in elf.iter_sections():
122 if section.name == sh_name:
124 'name' : section.name,
125 'size' : section['sh_size'],
126 'start' : section['sh_addr'],
127 'end' : section['sh_addr'] + section['sh_size'] - 1,
128 'data' : section.data(),
138 for section in elf.iter_sections():
139 if isinstance(section, SymbolTableSection) and section['sh_type'] != 'SHT_DYNSYM':
141 for sym in section.iter_symbols()
154 for section in symbol_tables:
155 if not isinstance(section, elftools.elf.sections.SymbolTableSection):
158 if section['sh_entsize'] == 0:
161 for symbol in section.iter_symbols():
401 def extract_strings_in_one_section(section, str_mappings): argument
403 data = section['data']
419 addr = section['start'] + start
435 null_addr = section['start'] + idx