/openbmc/linux/tools/testing/selftests/vDSO/ |
H A D | parse_vdso.c | 37 #define ELF(x) ELF_BITS_XFORM(ELF_BITS, x) macro 40 #define ELF_HASH_ENTRY ELF(Xword) 42 #define ELF_HASH_ENTRY ELF(Word) 54 ELF(Sym) *symtab; 60 ELF(Versym) *versym; 61 ELF(Verdef) *verdef; 93 ELF(Ehdr) *hdr = (ELF(Ehdr)*)base; in vdso_init_from_sysinfo_ehdr() 99 ELF(Phdr) *pt = (ELF(Phdr)*)(vdso_info.load_addr + hdr->e_phoff); in vdso_init_from_sysinfo_ehdr() 100 ELF(Dyn) *dyn = 0; in vdso_init_from_sysinfo_ehdr() 114 dyn = (ELF(Dyn)*)(base + pt[i].p_offset); in vdso_init_from_sysinfo_ehdr() [all …]
|
/openbmc/linux/fs/ |
H A D | Kconfig.binfmt | 6 bool "Kernel support for ELF binaries" 11 ELF (Executable and Linkable Format) is a format for libraries and 13 systems. Saying Y here will enable your kernel to run ELF binaries 14 and enlarge it by about 13 KB. ELF support under Linux has now all 19 executables are distributed solely in ELF format. You definitely 22 Information about ELF is contained in the ELF HOWTO available from 26 here, you still can't run any ELF binaries (they just crash), then 27 you'll have to install the newest ELF runtime libraries, including 32 bool "Build KUnit tests for ELF binary support" if !KUNIT_ALL_TESTS 36 This builds the ELF loader KUnit tests, which try to gather [all …]
|
/openbmc/linux/arch/sparc/vdso/ |
H A D | vdso2c.h | 20 ELF(Shdr) *symtab_hdr = NULL, *strtab_hdr; in BITSFUNC() 21 ELF(Ehdr) *hdr = (ELF(Ehdr) *)raw_addr; in BITSFUNC() 22 ELF(Dyn) *dyn = 0, *dyn_end = 0; in BITSFUNC() 25 ELF(Phdr) *pt = (ELF(Phdr) *)(raw_addr + GET_BE(&hdr->e_phoff)); in BITSFUNC() 66 ELF(Shdr) *sh = raw_addr + GET_BE(&hdr->e_shoff) + in BITSFUNC() 84 ELF(Sym) *sym = raw_addr + GET_BE(&symtab_hdr->sh_offset) + in BITSFUNC()
|
/openbmc/u-boot/examples/standalone/ |
H A D | Makefile | 17 ELF := $(strip $(extra-y)) macro 22 COBJS := $(ELF:=.o) 32 ELF := $(addprefix $(obj)/,$(ELF)) macro 61 $(ELF): $(obj)/%: $(obj)/%.o $(LIB) FORCE
|
/openbmc/linux/arch/x86/entry/vdso/ |
H A D | vdso2c.h | 27 FILE *outfile, ELF(Shdr) *sec, const char *name) in BITSFUNC() 50 ELF(Ehdr) *hdr = (ELF(Ehdr) *)raw_addr; in BITSFUNC() 52 ELF(Shdr) *symtab_hdr = NULL, *strtab_hdr, *secstrings_hdr, in BITSFUNC() 54 ELF(Dyn) *dyn = 0, *dyn_end = 0; in BITSFUNC() 58 ELF(Phdr) *pt = (ELF(Phdr) *)(raw_addr + GET_LE(&hdr->e_phoff)); in BITSFUNC() 107 ELF(Shdr) *sh = raw_addr + GET_LE(&hdr->e_shoff) + in BITSFUNC() 129 ELF(Sym) *sym = raw_addr + GET_LE(&symtab_hdr->sh_offset) + in BITSFUNC()
|
/openbmc/linux/arch/mips/vdso/ |
H A D | genvdso.h | 9 const ELF(Ehdr) *ehdr = vdso; in FUNC() 11 ELF(Shdr) *shdr; in FUNC() 60 const ELF(Ehdr) *ehdr = vdso; in FUNC() 62 ELF(Shdr) *shdr; in FUNC() 63 const ELF(Sym) *sym; in FUNC()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/pax-utils/ |
H A D | pax-utils_1.3.3.bb | 1 SUMMARY = "Security-focused ELF files checking tool" 3 utilities for ELF binaries. It can check ELF binary files and running \ 4 processes for issues that might be relevant when using ELF binaries \
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-kernel-vmcoreinfo | 8 Shows physical address and size of vmcoreinfo ELF note. 10 second value contains the size of note in hex. This ELF 12 space as part of ELF note in /proc/vmcore file. This note
|
/openbmc/linux/Documentation/userspace-api/ |
H A D | ELF.rst | 4 Linux-specific ELF idiosyncrasies 19 First PT_INTERP program header is used to locate the filename of ELF 31 ELF interpreter's last PT_GNU_PROPERTY program header is used (since
|
/openbmc/qemu/include/hw/ |
H A D | elf_ops.h.inc | 10 bswap16s(&ehdr->e_ehsize); /* ELF header size in bytes */ 271 * Given 'nhdr', a pointer to a range of ELF Notes, search through them 273 * the matching ELF note. 307 /* skip to the next ELF Note entry */ 440 /* The ELF spec is somewhat vague about the purpose of the 448 * we try to honour the memsz value for an ELF file like this 451 * We support ELF files using this scheme by by checking whether 456 * then we use memsz for the segment length, to handle ELF files 462 * Invalid ELF files where the segments overlap even when 522 /* the entry pointer in the ELF header is a virtual [all …]
|
/openbmc/linux/Documentation/features/vm/ELF-ASLR/ |
H A D | arch-support.txt | 2 # Feature name: ELF-ASLR 5 # description: arch randomizes the stack, heap and binary images of ELF binaries
|
/openbmc/openbmc/poky/meta/recipes-devtools/patchelf/patchelf/ |
H A D | 0002-align-startOffset-with-p_align-instead-of-pagesize-f.patch | 7 According to the ELF specification, the alignment of loadable process segments 11 "ELF load command address/offset not properly aligned" if this is not met. 35 + The ELF specification requires that loadable process segments satisfy
|
/openbmc/linux/Documentation/powerpc/ |
H A D | syscall64-abi.rst | 13 If PPC_FEATURE2_SCV appears in the AT_HWCAP2 ELF auxiliary vector, the 17 syscall calling sequence\ [1]_ matches the Power Architecture 64-bit ELF ABI 49 Register preservation rules match the ELF ABI calling sequence with some 52 For the sc instruction, the differences from the ELF ABI are as follows: 70 For the scv 0 instruction, the differences from the ELF ABI are as follows: 97 behavior depends on the presence of PPC_FEATURE2_HTM_NOSC in the AT_HWCAP2 ELF
|
H A D | elfnote.rst | 2 ELF Note PowerPC Namespace 5 The PowerPC namespace in an ELF Note of the kernel binary is used to store
|
/openbmc/openbmc/poky/meta/recipes-devtools/patchelf/ |
H A D | patchelf_0.18.0.bb | 1 SUMMARY = "Tool to allow editing of RPATH and interpreter fields in ELF binaries" 2 DESCRIPTION = "PatchELF is a simple utility for modifying existing ELF executables and libraries."
|
/openbmc/linux/Documentation/bpf/libbpf/ |
H A D | program_types.rst | 5 Program Types and ELF Sections 8 The table below lists the program types, their attach types where relevant and the ELF section 9 names supported by libbpf for them. The ELF section names follow these rules: 22 | Program Type | Attach Type | ELF Section …
|
H A D | libbpf_naming_convention.rst | 37 These objects are associated with corresponding parts of ELF object that 40 For example ``struct bpf_object`` represents ELF object itself created 41 from an ELF file or from a buffer, ``struct bpf_program`` represents a 42 program in ELF object and ``struct bpf_map`` is a map. 49 purpose of the function to open ELF file and create ``bpf_object`` from 159 * bytes of an ELF's BTF section
|
/openbmc/linux/Documentation/livepatch/ |
H A D | module-elf-format.rst | 2 Livepatch module ELF format 5 This document outlines the ELF format requirements that livepatch modules must follow. 23 write relocations. The patch module ELF format described in this document 30 table, symbol table, and relocation section indices, ELF information is 33 ELF constants used to mark livepatch symbols and relocation sections were 46 module ELF output. Using these dynrela sections, livepatch could resolve 83 A livepatch module manages its own ELF relocation sections to apply 98 Since ELF information is preserved for livepatch modules (see Section 5), a 294 5. Symbol table and ELF section access 299 symbol table, and relocation section indices, ELF information is preserved for
|
/openbmc/linux/Documentation/translations/zh_CN/arch/loongarch/ |
H A D | introduction.rst | 31 内核使用了一套LoongArch寄存器约定,定义在LoongArch ELF psABI规范中,详细描述参见 50 注意: ``$r21`` 寄存器在ELF psABI中保留未使用,但是在Linux内核用于保 61 浮点寄存器的使用约定与LoongArch ELF psABI规范的描述相同: 345 LoongArch的ELF psABI文档: 347 …https://github.com/loongson/LoongArch-Documentation/releases/latest/download/LoongArch-ELF-ABI-v2.… 349 …https://github.com/loongson/LoongArch-Documentation/releases/latest/download/LoongArch-ELF-ABI-v2.…
|
/openbmc/openbmc/poky/meta/recipes-devtools/rpm/files/ |
H A D | 0001-Add-a-color-setting-for-mips64_n32-binaries.patch | 22 { "ELF 32-bit", RPMFC_ELF32|RPMFC_INCLUDE }, 23 { "ELF 64-bit", RPMFC_ELF64|RPMFC_INCLUDE },
|
/openbmc/u-boot/tools/ |
H A D | prelink-riscv.inc | 6 * Statically process runtime relocations on RISC-V ELF images 24 #define ELF_R_TYPE CONCAT3(ELF, PRELINK_INC_BITS, _R_TYPE) 25 #define ELF_R_SYM CONCAT3(ELF, PRELINK_INC_BITS, _R_SYM)
|
/openbmc/openbmc/meta-security/docs/ |
H A D | overview.txt | 51 …- rpm-chksec.sh : This will take an rpm name as input and verify each ELF file to see if its compi… 66 …- find-chroot.sh : This script scans the whole file system looking for ELF files that calls chroot… 71 …- find-execstack.sh : This program scans the whole file system for ELF programs that have marked t… 94 …- find-elf4tmp.sh : This script scans the whole file system for ELF files using /tmp. When it find… 111 ELF binaries. 113 …- scanelf : With this application you can print out information specific to the ELF structure of a… 117 ELF types, as well as their respective PaX flags and filenames and 126 ELF structures into the equivalent C structures for fun debugging and/or
|
/openbmc/linux/fs/proc/ |
H A D | Kconfig | 37 Provides a virtual ELF core file of the live kernel. This can 38 be read with gdb and other ELF tools. No modifications can be 46 Exports the dump image of crashed kernel in ELF format. 61 as ELF notes to /proc/vmcore. You can still disable device
|
/openbmc/linux/Documentation/arch/x86/ |
H A D | elf_auxvec.rst | 4 x86-specific ELF Auxiliary Vectors 12 ELF Auxiliary vectors enable the kernel to efficiently provide
|
/openbmc/linux/arch/alpha/ |
H A D | Kconfig.debug | 19 ELF headers to determine where to transfer control. Unfortunately, 21 address rather than examining the ELF headers, and the result is a
|