/Zephyr-latest/scripts/coredump/gdbstubs/ |
D | __init__.py | 25 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)
|
D | gdbstub.py | 18 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/ |
D | arm_cortex_m.py | 46 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…
|
D | arm64.py | 63 def __init__(self, logfile, elffile): argument 64 super().__init__(logfile=logfile, elffile=elffile)
|
D | risc_v.py | 60 def __init__(self, logfile, elffile): argument 61 super().__init__(logfile=logfile, elffile=elffile)
|
D | x86.py | 89 def __init__(self, logfile, elffile): argument 90 super().__init__(logfile=logfile, elffile=elffile)
|
D | x86_64.py | 108 def __init__(self, logfile, elffile): argument 109 super().__init__(logfile=logfile, elffile=elffile)
|
D | xtensa.py | 142 def __init__(self, logfile, elffile): argument 143 super().__init__(logfile=logfile, elffile=elffile)
|
/Zephyr-latest/scripts/build/ |
D | gen_image_info.py | 25 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)
|
D | llext_prepare_exptab.py | 23 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']
|
D | gen_offset_header.py | 15 from elftools.elf.elffile import ELFFile
|
D | gen_app_partitions.py | 41 from elftools.elf.elffile import ELFFile 176 elffile = ELFFile(f) 180 symbol_tbls = [s for s in elffile.iter_sections()
|
D | gen_kobject_placeholders.py | 23 from elftools.elf.elffile import ELFFile
|
D | gen_symtab.py | 12 from elftools.elf.elffile import ELFFile
|
D | llext_inject_slids.py | 26 from elftools.elf.elffile import ELFFile
|
/Zephyr-latest/scripts/coredump/coredump_parser/ |
D | elf_parser.py | 11 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/ |
D | database_gen.py | 30 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/ |
D | gen_img.py | 7 import elftools.elf.elffile 60 ef = elftools.elf.elffile.ELFFile(efile)
|
/Zephyr-latest/scripts/coredump/ |
D | coredump_gdbserver.py | 91 if not os.path.isfile(args.elffile): 111 elff = CoredumpElfFile(args.elffile)
|
/Zephyr-latest/arch/x86/zefi/ |
D | zefi.py | 7 import elftools.elf.elffile 32 ef = elftools.elf.elffile.ELFFile(fp)
|
/Zephyr-latest/scripts/profiling/ |
D | stackcollapse.py | 24 from elftools.elf.elffile import ELFFile
|
/Zephyr-latest/scripts/west_commands/ |
D | bindesc.py | 12 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/ |
D | gen_gdt.py | 46 from elftools.elf.elffile import ELFFile
|
D | gen_idt.py | 37 from elftools.elf.elffile import ELFFile
|
/Zephyr-latest/scripts/west_commands/runners/ |
D | core.py | 35 from elftools.elf.elffile import ELFFile 61 elffile = ELFFile(f) 62 for sect in elffile.iter_sections('SHT_SYMTAB'):
|