Home
last modified time | relevance | path

Searched refs:section (Results 1 – 19 of 19) sorted by relevance

/scripts/coredump/coredump_parser/
A Delf_parser.py96 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 Dgen_app_partitions.py264 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 Dgen_offset_header.py22 for section in obj.iter_sections():
23 if isinstance(section, SymbolTableSection):
24 return section
A Dgen_relocate_app.py248 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 Delf_parser.py161 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 Dcheck_init_priorities.py116 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 Dllext_prepare_exptab.py78 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 Dgen_kobject_list.py500 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 Dgen_isr_tables.py252 for section in obj.iter_sections():
253 if isinstance(section, SymbolTableSection):
255 for sym in section.iter_symbols()}
A Dgen_device_deps.py64 device in that section.")
/scripts/logging/dictionary/dictionary_parser/
A Dutils.py28 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 Ddatabase_gen.py121 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 Dsize_report140 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 Dzephyr_module.py246 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 Dsnippets.py102 self.section = '#' * 79
A Dspelling.txt1392 secion||section
/scripts/west_commands/
A Dbindesc.py233 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 Dbuild.py356 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 Drunner.py1230 for section in elf.iter_sections():
1231 if isinstance(section, SymbolTableSection):
1232 for sym in section.iter_symbols():

Completed in 27 milliseconds