Home
last modified time | relevance | path

Searched refs:elffile (Results 1 – 25 of 35) sorted by relevance

12

/Zephyr-latest/scripts/coredump/gdbstubs/
D__init__.py25 def get_gdbstub(logfile, elffile): argument
31 stub = GdbStub_x86(logfile=logfile, elffile=elffile)
33 stub = GdbStub_x86_64(logfile=logfile, elffile=elffile)
35 stub = GdbStub_ARM_CortexM(logfile=logfile, elffile=elffile)
37 stub = GdbStub_RISC_V(logfile=logfile, elffile=elffile)
39 stub = GdbStub_Xtensa(logfile=logfile, elffile=elffile)
41 stub = GdbStub_ARM64(logfile=logfile, elffile=elffile)
Dgdbstub.py18 def __init__(self, logfile, elffile): argument
20 self.elffile = elffile
31 for r in elffile.get_memory_regions():
178 if self.arch_supports_thread_operations() and self.elffile.has_kernel_thread_info():
187 size_t_size = self.elffile.get_kernel_thread_info_size_t_size()
190 …k_curr_thread_offset = self.elffile.get_kernel_thread_info_offset(ThreadInfoOffset.THREAD_INFO_OFF…
199 …k_threads_offset = self.elffile.get_kernel_thread_info_offset(ThreadInfoOffset.THREAD_INFO_OFFSET_…
209 …t_next_thread_offset = self.elffile.get_kernel_thread_info_offset(ThreadInfoOffset.THREAD_INFO_OFF…
242 …t_name_offset = self.elffile.get_kernel_thread_info_offset(ThreadInfoOffset.THREAD_INFO_OFFSET_T_N…
252 …t_state_offset = self.elffile.get_kernel_thread_info_offset(ThreadInfoOffset.THREAD_INFO_OFFSET_T_…
[all …]
/Zephyr-latest/scripts/coredump/gdbstubs/arch/
Darm_cortex_m.py46 def __init__(self, logfile, elffile): argument
47 super().__init__(logfile=logfile, elffile=elffile)
104 if not self.elffile.has_kernel_thread_info():
133 …t_stack_ptr_offset = self.elffile.get_kernel_thread_info_offset(ThreadInfoOffset.THREAD_INFO_OFFSE…
134 size_t_size = self.elffile.get_kernel_thread_info_size_t_size()
159 …t_arch_offset = self.elffile.get_kernel_thread_info_offset(ThreadInfoOffset.THREAD_INFO_OFFSET_T_A…
160 …t_exc_return_offset = self.elffile.get_kernel_thread_info_offset(ThreadInfoOffset.THREAD_INFO_OFFS…
Darm64.py63 def __init__(self, logfile, elffile): argument
64 super().__init__(logfile=logfile, elffile=elffile)
Drisc_v.py60 def __init__(self, logfile, elffile): argument
61 super().__init__(logfile=logfile, elffile=elffile)
Dx86.py89 def __init__(self, logfile, elffile): argument
90 super().__init__(logfile=logfile, elffile=elffile)
Dx86_64.py108 def __init__(self, logfile, elffile): argument
109 super().__init__(logfile=logfile, elffile=elffile)
Dxtensa.py142 def __init__(self, logfile, elffile): argument
143 super().__init__(logfile=logfile, elffile=elffile)
/Zephyr-latest/scripts/build/
Dgen_image_info.py25 from elftools.elf.elffile import ELFFile
57 elffile = ELFFile(open(filename, 'rb'))
59 for segment_idx in range(elffile.num_segments()):
61 segments[segment_idx]['segment'] = elffile.get_segment(segment_idx)
Dllext_prepare_exptab.py23 from elftools.elf.elffile import ELFFile
76 def __init__(self, elffile, section_name): argument
78 self.section = elffile.get_section_by_name(section_name)
82 self.shdr_index = elffile.get_section_index(section_name)
83 self.shdr_offset = elffile['e_shoff'] + \
84 self.shdr_index * elffile['e_shentsize']
Dgen_offset_header.py15 from elftools.elf.elffile import ELFFile
Dgen_app_partitions.py41 from elftools.elf.elffile import ELFFile
176 elffile = ELFFile(f)
180 symbol_tbls = [s for s in elffile.iter_sections()
Dgen_kobject_placeholders.py23 from elftools.elf.elffile import ELFFile
Dgen_symtab.py12 from elftools.elf.elffile import ELFFile
Dllext_inject_slids.py26 from elftools.elf.elffile import ELFFile
/Zephyr-latest/scripts/coredump/coredump_parser/
Delf_parser.py11 from elftools.elf.elffile import ELFFile
55 def __init__(self, elffile): argument
56 self.elffile = elffile
65 self.fd = open(self.elffile, "rb")
/Zephyr-latest/scripts/logging/dictionary/
Ddatabase_gen.py30 from elftools.elf.elffile import ELFFile
511 elffile = open(args.elffile, "rb")
512 if not elffile:
513 logger.error("ERROR: Cannot open ELF file: %s, exiting...", args.elffile)
516 logger.info("ELF file %s", args.elffile)
526 elf = ELFFile(elffile)
585 elffile.close()
/Zephyr-latest/soc/mediatek/mt8xxx/
Dgen_img.py7 import elftools.elf.elffile
60 ef = elftools.elf.elffile.ELFFile(efile)
/Zephyr-latest/scripts/coredump/
Dcoredump_gdbserver.py91 if not os.path.isfile(args.elffile):
111 elff = CoredumpElfFile(args.elffile)
/Zephyr-latest/arch/x86/zefi/
Dzefi.py7 import elftools.elf.elffile
32 ef = elftools.elf.elffile.ELFFile(fp)
/Zephyr-latest/scripts/profiling/
Dstackcollapse.py24 from elftools.elf.elffile import ELFFile
/Zephyr-latest/scripts/west_commands/
Dbindesc.py12 from elftools.elf.elffile import ELFFile
230 elffile = ELFFile(f)
232 section = elffile.get_section_by_name('rom_start')
236 section = elffile.get_section_by_name('text')
/Zephyr-latest/arch/x86/
Dgen_gdt.py46 from elftools.elf.elffile import ELFFile
Dgen_idt.py37 from elftools.elf.elffile import ELFFile
/Zephyr-latest/scripts/west_commands/runners/
Dcore.py35 from elftools.elf.elffile import ELFFile
61 elffile = ELFFile(f)
62 for sect in elffile.iter_sections('SHT_SYMTAB'):

12