/Zephyr-latest/scripts/logging/dictionary/ |
D | database_gen.py | 29 from elftools.elf.constants import SH_FLAGS 30 from elftools.elf.elffile import ELFFile 31 from elftools.elf.descriptions import describe_ei_data 32 from elftools.elf.sections import SymbolTableSection 102 def extract_elf_code_data_sections(elf, wildcards = None): argument 106 for sect in elf.iter_sections(): 126 def find_elf_sections(elf, sh_name): argument 128 for section in elf.iter_sections(): 143 def get_kconfig_symbols(elf): argument 145 for section in elf.iter_sections(): [all …]
|
/Zephyr-latest/scripts/build/ |
D | elf_parser.py | 12 from elftools.elf.elffile import ELFFile 13 from elftools.elf.sections import SymbolTableSection 22 def __init__(self, elf, sym): argument 23 self.elf = elf 25 self.data = self.elf.symbol_data(sym) 31 (format, size) = self.elf.native_struct_format 43 def __init__(self, elf, sym): argument 44 super().__init__(elf, sym) 45 self.flags = self._data_native_read(self.elf.ld_consts['_PM_DEVICE_STRUCT_FLAGS_OFFSET']) 49 return self.flags & (1 << self.elf.ld_consts["_PM_DEVICE_FLAG_PD"]) [all …]
|
D | llext_inject_slids.py | 26 from elftools.elf.elffile import ELFFile 27 from elftools.elf.sections import SymbolTableSection 36 self.elf = ELFFile(self.elf_fd) 39 e_type = self.elf.header['e_type'] 48 symtab = self.elf.get_section_by_name(symtab_name) 85 byteorder = "little" if self.elf.little_endian else "big" 86 if self.elf.elfclass == 32: 112 slid_size = self.elf.elfclass // 8
|
D | gen_kobject_list.py | 63 from elftools.elf.elffile import ELFFile 64 from elftools.elf.sections import SymbolTableSection 486 def unpack_pointer(elf, data, offset): argument 487 endian_code = "<" if elf.little_endian else ">" 488 if elf.elfclass == 32: 499 def addr_deref(elf, addr): argument 500 for section in elf.iter_sections(): 507 return unpack_pointer(elf, data, offset) 512 def device_get_api_addr(elf, addr): argument 514 offset = 8 if elf.elfclass == 32 else 16 [all …]
|
D | gen_symtab.py | 12 from elftools.elf.elffile import ELFFile 13 from elftools.elf.descriptions import ( 88 elf = ELFFile(rf) 91 symtab = elf.get_section_by_name('.symtab')
|
D | llext_prepare_exptab.py | 23 from elftools.elf.elffile import ELFFile 24 from elftools.elf.sections import Section 133 self.elf = ELFFile(self.elf_fd) 267 self.elf, LLEXT_EXPORT_TABLE_SECTION_NAME) 279 self.ptrsize = self.elf.elfclass // 8 280 self.endianness = 'little' if self.elf.little_endian else 'big' 297 self.elf, LLEXT_EXPORT_NAMES_SECTION_NAME)
|
D | gen_offset_header.py | 15 from elftools.elf.elffile import ELFFile 16 from elftools.elf.sections import SymbolTableSection
|
/Zephyr-latest/scripts/profiling/ |
D | stackcollapse.py | 24 from elftools.elf.elffile import ELFFile 28 def addr_to_sym(addr, elf): argument 29 symtab = elf.get_section_by_name(".symtab") 38 def collapse(buf, elf): argument 44 func_trace = reversed(list(map(lambda a: addr_to_sym(a, elf), addrs))) 58 elf = ELFFile(open(sys.argv[2], "rb")) variable 65 collapse(buf, elf)
|
/Zephyr-latest/scripts/coredump/coredump_parser/ |
D | elf_parser.py | 11 from elftools.elf.elffile import ELFFile 58 self.elf = None 66 self.elf = ELFFile(self.fd) 96 for section in self.elf.iter_sections(): 98 if isinstance(section, elftools.elf.sections.SymbolTableSection): 106 … if type(section) is not elftools.elf.sections.Section: # pylint: disable=unidiomatic-typecheck 146 for seg in self.elf.iter_segments(): 164 self.elf.stream.seek(offset) 165 …self.kernel_thread_info_size_t_size = struct.unpack('B', self.elf.stream.read(size_t_size_symbol['… 174 self.elf.stream.seek(offset) [all …]
|
/Zephyr-latest/boards/intel/socfpga_std/cyclonev_socdk/support/ |
D | appli_debug_cmd.gdb | 4 # helper file for "west debug" command to load the .elf 5 # works if the .elf is located in "build" directory 11 restore ./build/zephyr/zephyr.elf 12 symbol-file -readnow ./build/zephyr/zephyr.elf
|
D | appli_dl_cmd.gdb | 4 # Helper file to use "west flash" with the .elf file 10 restore ./build/zephyr/zephyr.elf 11 symbol-file -readnow ./build/zephyr/zephyr.elf
|
/Zephyr-latest/cmake/toolchain/espressif/ |
D | target.cmake | 10 set(CROSS_COMPILE_TARGET_xtensa_esp32 xtensa-esp32-elf) 11 set(CROSS_COMPILE_TARGET_xtensa_esp32s2 xtensa-esp32s2-elf) 12 set(CROSS_COMPILE_TARGET_xtensa_esp32s3 xtensa-esp32s3-elf) 13 set(CROSS_COMPILE_TARGET_riscv_esp32c3 riscv32-esp-elf)
|
/Zephyr-latest/soc/mediatek/mt8xxx/ |
D | gen_img.py | 7 import elftools.elf.elffile 8 import elftools.elf.sections 60 ef = elftools.elf.elffile.ELFFile(efile) 87 if isinstance(sec, elftools.elf.sections.SymbolTableSection):
|
/Zephyr-latest/cmake/toolchain/llvm/ |
D | target.cmake | 29 set(triple aarch64-none-elf) 32 set(triple x86_64-pc-none-elf) 34 set(triple i686-pc-none-elf) 38 set(triple riscv64-unknown-elf) 40 set(triple riscv32-unknown-elf)
|
/Zephyr-latest/boards/digilent/arty_a7/ |
D | board.cmake | 4 …board_runner_args(openocd "--use-elf" "--config=${BOARD_DIR}/support/openocd_arty_a7_arm_designsta… 7 …board_runner_args(openocd "--use-elf" "--config=${BOARD_DIR}/support/openocd_arty_a7_arm_designsta…
|
/Zephyr-latest/soc/intel/intel_adsp/tools/ |
D | cavstwist.sh | 107 ELF=$BLDDIR/zephyr/zephyr.elf.mod 108 BOOT=$BLDDIR/zephyr/bootloader.elf.mod
|
/Zephyr-latest/include/zephyr/linker/ |
D | app_smem.ld | 15 * 2. Using A.cmd to generate A_prebuilt.elf. 16 * 3. Using A_prebuilt.elf to create B.ld. 18 * 5. Creating B_prebuilt.elf using B.cmd.
|
D | app_smem_pinned.ld | 19 * 2. Using A.cmd to generate A_prebuilt.elf. 20 * 3. Using A_prebuilt.elf to create B.ld. 22 * 5. Creating B_prebuilt.elf using B.cmd.
|
/Zephyr-latest/doc/services/llext/ |
D | debug.rst | 30 ``name_ext_debug.elf`` 56 add-symbol-file <path-to-debug.elf> <load-addresses> 58 where ``<path-to-debug.elf>`` is the full path of the ELF file with debug 148 zephyr$ ${LLEXT_SDK_INSTALL_DIR}/arm-zephyr-eabi/bin/arm-zephyr-eabi-gdb build/zephyr/zephyr.elf 151 Reading symbols from build/zephyr/zephyr.elf... 204 …(gdb) add-symbol-file build/llext/detached_fn_ext_debug.elf -s .text 0x20000034 -s .data 0x200000b… 205 add symbol table from file "build/llext/detached_fn_ext_debug.elf" at 212 Reading symbols from build/llext/detached_fn_ext_debug.elf... 236 test_detached_ext + 464 in section datas of zephyr/build/zephyr/zephyr.elf 237 detached_entry in section .detach of zephyr/build/llext/detached_fn_ext_debug.elf [all …]
|
/Zephyr-latest/scripts/native_simulator/ |
D | .gitignore | 5 *.elf
|
/Zephyr-latest/boards/renesas/rcar_salvator_x/ |
D | board.cmake | 2 board_runner_args(openocd "--use-elf")
|
/Zephyr-latest/boards/renesas/rcar_h3ulcb/ |
D | board.cmake | 4 board_runner_args(openocd "--use-elf")
|
/Zephyr-latest/boards/renesas/rcar_spider_s4/ |
D | board.cmake | 3 board_runner_args(openocd "--use-elf")
|
/Zephyr-latest/tests/robot/ |
D | common.robot | 5 Execute Command $elf = ${ELF}
|
/Zephyr-latest/boards/sc/scobc_module1/ |
D | board.cmake | 3 board_runner_args(openocd "--use-elf" "--config=${BOARD_DIR}/support/openocd-ftdi.cfg")
|