Searched refs:section (Results 1 – 19 of 19) sorted by relevance
/scripts/coredump/coredump_parser/ |
A D | elf_parser.py | 96 for section in self.elf.iter_sections(): 98 if isinstance(section, elftools.elf.sections.SymbolTableSection): 99 … _kernel_thread_info_offsets = section.get_symbol_by_name("_kernel_thread_info_offsets") 100 … _kernel_thread_info_num_offsets = section.get_symbol_by_name("_kernel_thread_info_num_offsets") 101 … _kernel_thread_info_size_t_size = section.get_symbol_by_name("_kernel_thread_info_size_t_size") 106 … if type(section) is not elftools.elf.sections.Section: # pylint: disable=unidiomatic-typecheck 109 size = section['sh_size'] 110 flags = section['sh_flags'] 111 sec_start = section['sh_addr'] 117 if section['sh_type'] == 'SHT_PROGBITS': [all …]
|
/scripts/build/ |
A D | gen_app_partitions.py | 264 props = {"SECTION": section} 283 zephyr_linker_section_configure(section=section_name, align="@SMEM_PARTITION_ALIGN_BYTES@")+ 306 zephyr_linker_section_configure(section=section_name, align="@APP_SHARED_ALIGN_BYTES@") + 307 zephyr_linker_section_configure(section=section_name, symbols="_app_smem{section}_end") ) 312 zephyr_linker_section_configure(section = section_name, symbols="_app_smem{section}_end") ) 333 for section in sections: 334 m = section_regex.match(section.name) 340 partitions[partition_name] = {SZ: section.header.sh_size} 346 partitions[partition_name][SZ] += section.header.sh_size 393 for section in symbol_tbls: [all …]
|
A D | gen_offset_header.py | 22 for section in obj.iter_sections(): 23 if isinstance(section, SymbolTableSection): 24 return section
|
A D | gen_relocate_app.py | 248 for section in sections: 249 if not re.search(symbol_filter, section.name): 252 section_kind = SectionKind.for_section_named(section.name) 256 out[section_kind].append(OutputSection(obj_file_path.name, section.name)) 263 if isinstance(section, SymbolTableSection): 268 for symbol in filter(is_common_symbol, section.iter_symbols()): 299 section._replace(keep=keep_sections) for section in full_list_of_sections[used_kind] 332 for section in sorted(list_sections): 333 template = PRINT_TEMPLATE if section.keep else PRINT_TEMPLATE_NOKEEP 335 obj_file_name=section.obj_file_name, section_name=section.section_name
|
A D | elf_parser.py | 161 section = self.elf.get_section(sym.entry['st_shndx']) 162 data = section.data() 164 offset = addr - (0 if self.relocatable else section['sh_addr']) 172 for section in self.elf.iter_sections(): 173 if isinstance(section, SymbolTableSection): 174 for sym in section.iter_symbols(): 180 for section in self.elf.iter_sections(): 181 if isinstance(section, SymbolTableSection): 182 for sym in section.iter_symbols():
|
A D | check_init_priorities.py | 116 for section in self._elf.iter_sections(): 117 if not isinstance(section, SymbolTableSection): 120 for sym in section.iter_symbols(): 132 for section in self._elf.iter_sections(): 133 if not isinstance(section, SymbolTableSection): 136 for sym in section.iter_symbols(): 178 section = self._elf.get_section(shidx) 179 start = section.header.sh_addr 180 data = section.data()
|
A D | llext_prepare_exptab.py | 78 self.section = elffile.get_section_by_name(section_name) 79 if not isinstance(self.section, Section): 85 self.size = self.section['sh_size'] 86 self.flags = self.section['sh_flags'] 87 self.offset = self.section['sh_offset']
|
A D | gen_kobject_list.py | 500 for section in elf.iter_sections(): 501 start = section['sh_addr'] 502 end = start + section['sh_size'] 505 data = section.data() 718 for section in elf.iter_sections(): 719 if isinstance(section, SymbolTableSection): 721 for sym in section.iter_symbols()}
|
A D | gen_isr_tables.py | 252 for section in obj.iter_sections(): 253 if isinstance(section, SymbolTableSection): 255 for sym in section.iter_symbols()}
|
A D | gen_device_deps.py | 64 device in that section.")
|
/scripts/logging/dictionary/dictionary_parser/ |
A D | utils.py | 28 def extract_one_string_in_section(section, str_ptr): argument 30 data = section['data'] 31 max_offset = section['size'] 32 offset = str_ptr - section['start']
|
/scripts/logging/dictionary/ |
A D | database_gen.py | 121 for section in elf.iter_sections(): 122 if section.name == sh_name: 124 'name' : section.name, 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': 154 for section in symbol_tables: 158 if section['sh_entsize'] == 0: 161 for symbol in section.iter_symbols(): [all …]
|
/scripts/footprint/ |
A D | size_report | 140 for section in elf.iter_sections(): 187 sec_size = section['sh_size'] 188 sec_start = section['sh_addr'] 215 for section in elf.iter_sections(): 216 size = section['sh_size'] 217 sec_start = section['sh_addr'] 231 flags = section['sh_flags'] 591 if section is not None: 592 self.section = section 668 node.section = section [all …]
|
/scripts/ |
A D | zephyr_module.py | 246 section = meta.get('build', dict()) 250 cmake_extern = section.get('cmake-ext', False) 257 cmake_setting = section.get('cmake', None) 277 section = meta.get('build', dict()) 288 cmake_setting = section.get('sysbuild-cmake', None) 311 section = meta.get('build', dict()) 312 build_settings = section.get('settings', None) 392 section = meta.get('build', dict()) 395 kconfig_extern = section.get('kconfig-ext', False) 402 kconfig_setting = section.get('kconfig', None) [all …]
|
A D | snippets.py | 102 self.section = '#' * 79
|
A D | spelling.txt | 1392 secion||section
|
/scripts/west_commands/ |
A D | bindesc.py | 233 section = elffile.get_section_by_name('rom_start') 234 if section: 235 return section.data() 237 section = elffile.get_section_by_name('text') 238 if section: 239 return section.data()
|
A D | build.py | 356 for section in [common, item]: 357 if not section: 359 sysbuild = section.get('sysbuild', sysbuild) 368 extra = section.get(data)
|
/scripts/pylib/twister/twisterlib/ |
A D | runner.py | 1230 for section in elf.iter_sections(): 1231 if isinstance(section, SymbolTableSection): 1232 for sym in section.iter_symbols():
|
Completed in 27 milliseconds