Home
last modified time | relevance | path

Searched refs:elf (Results 1 – 25 of 227) sorted by relevance

12345678910

/Zephyr-Core-3.7.0/scripts/logging/dictionary/
Ddatabase_gen.py29 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-Core-3.7.0/cmake/toolchain/xtools/
Dtarget.cmake4 set(CROSS_COMPILE_TARGET_arm64 aarch64-zephyr-elf)
5 set(CROSS_COMPILE_TARGET_nios2 nios2-zephyr-elf)
6 set(CROSS_COMPILE_TARGET_riscv riscv64-zephyr-elf)
7 set(CROSS_COMPILE_TARGET_mips mipsel-zephyr-elf)
8 set(CROSS_COMPILE_TARGET_xtensa xtensa-zephyr-elf)
9 set(CROSS_COMPILE_TARGET_arc arc-zephyr-elf)
10 set(CROSS_COMPILE_TARGET_x86 x86_64-zephyr-elf)
11 set(CROSS_COMPILE_TARGET_sparc sparc-zephyr-elf)
/Zephyr-Core-3.7.0/scripts/build/
Delf_parser.py12 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 …]
Dllext_inject_slids.py26 from elftools.elf.elffile import ELFFile
27 from elftools.elf.sections import SymbolTableSection
36 self.elf = ELFFile(self.elf_fd)
46 symtab = self.elf.get_section_by_name(section_name)
83 byteorder = "little" if self.elf.little_endian else "big"
84 if self.elf.elfclass == 32:
110 slid_size = self.elf.elfclass // 8
Dgen_kobject_list.py63 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 …]
Dgen_symtab.py12 from elftools.elf.elffile import ELFFile
13 from elftools.elf.descriptions import (
88 elf = ELFFile(rf)
91 symtab = elf.get_section_by_name('.symtab')
Dllext_prepare_exptab.py23 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)
Dgen_offset_header.py15 from elftools.elf.elffile import ELFFile
16 from elftools.elf.sections import SymbolTableSection
/Zephyr-Core-3.7.0/scripts/coredump/coredump_parser/
Delf_parser.py11 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-Core-3.7.0/boards/intel/socfpga_std/cyclonev_socdk/support/
Dappli_debug_cmd.gdb4 # 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
Dappli_dl_cmd.gdb4 # 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-Core-3.7.0/cmake/toolchain/espressif/
Dtarget.cmake10 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-Core-3.7.0/soc/mediatek/mtk_adsp/
Dgen_img.py6 import elftools.elf.elffile
7 import elftools.elf.sections
32 ef = elftools.elf.elffile.ELFFile(open(elf_file, "rb"))
59 if isinstance(sec, elftools.elf.sections.SymbolTableSection):
/Zephyr-Core-3.7.0/cmake/toolchain/llvm/
Dtarget.cmake29 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-Core-3.7.0/boards/digilent/arty_a7/
Dboard.cmake4 …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-Core-3.7.0/soc/intel/intel_adsp/tools/
Dcavstwist.sh107 ELF=$BLDDIR/zephyr/zephyr.elf.mod
108 BOOT=$BLDDIR/zephyr/bootloader.elf.mod
/Zephyr-Core-3.7.0/include/zephyr/linker/
Dapp_smem.ld15 * 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.
Dapp_smem_pinned.ld19 * 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-Core-3.7.0/scripts/native_simulator/
D.gitignore5 *.elf
/Zephyr-Core-3.7.0/samples/subsys/llext/shell_loader/
DREADME.rst42 load_hex :Load an elf file encoded in hex directly from the shell input.
54 This can be built into a relocatable elf usable on arm v7 platforms. It can be
63 …$ arm-zephyr-eabi-gcc -mlong-calls -mthumb -c -o hello_world.elf tests/subsys/llext/hello_world/he…
64 $ arm-zephyr-eabi-objdump -r -d -x hello_world.elf
66 hello_world.elf: file format elf32-littlearm
67 hello_world.elf
131 $ xxd -p hello_world.elf | tr -d '\n'
/Zephyr-Core-3.7.0/soc/espressif/esp32c3/
DCMakeLists.txt38 ${CMAKE_BINARY_DIR}/zephyr/${CONFIG_KERNEL_BIN_NAME}.elf)
65 --elf-file ${CMAKE_BINARY_DIR}/zephyr/${CONFIG_KERNEL_BIN_NAME}.elf
/Zephyr-Core-3.7.0/soc/espressif/esp32c6/
DCMakeLists.txt38 ${CMAKE_BINARY_DIR}/zephyr/${CONFIG_KERNEL_BIN_NAME}.elf)
65 --elf-file ${CMAKE_BINARY_DIR}/zephyr/${CONFIG_KERNEL_BIN_NAME}.elf
/Zephyr-Core-3.7.0/soc/espressif/esp32s2/
DCMakeLists.txt39 ${CMAKE_BINARY_DIR}/zephyr/${CONFIG_KERNEL_BIN_NAME}.elf)
66 --elf-file ${CMAKE_BINARY_DIR}/zephyr/${CONFIG_KERNEL_BIN_NAME}.elf
/Zephyr-Core-3.7.0/boards/renesas/rcar_salvator_x/
Dboard.cmake2 board_runner_args(openocd "--use-elf")
/Zephyr-Core-3.7.0/boards/renesas/rcar_spider_s4/
Dboard.cmake3 board_runner_args(openocd "--use-elf")

12345678910