Searched refs:ehdr (Results 1 - 9 of 9) sorted by relevance

/vbox/src/VBox/Devices/PC/ipxe/src/image/
H A Delf.c48 * @v ehdr ELF executable header
54 Elf_Ehdr *ehdr, physaddr_t *entry,
108 if ( ( e_offset = ( ehdr->e_entry - dest ) ) < phdr->p_filesz ) {
109 *entry = ehdr->e_entry;
112 } else if ( ( e_offset = ( ehdr->e_entry - phdr->p_vaddr ) )
118 ( ( unsigned long ) ehdr->e_entry ) );
141 Elf_Ehdr ehdr; local
148 copy_from_user ( &ehdr, image->data, 0, sizeof ( ehdr ) );
149 if ( memcmp ( &ehdr
53 elf_load_segment( struct image *image, Elf_Phdr *phdr, Elf_Ehdr *ehdr, physaddr_t *entry, physaddr_t *max ) argument
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/image/
H A Delfboot.c83 Elf32_Ehdr ehdr; local
95 copy_from_user ( &ehdr, image->data, 0, sizeof ( ehdr ) );
96 if ( memcmp ( ehdr.e_ident, e_ident, sizeof ( e_ident ) ) != 0 ) {
/vbox/src/VBox/Devices/PC/ipxe/src/util/
H A Diccfix.c36 ELF_EHDR *ehdr = elf; local
37 ELF_SHDR *shdr = ( elf + ehdr->e_shoff );
38 size_t shentsize = ehdr->e_shentsize;
39 unsigned int shnum = ehdr->e_shnum;
41 ( ehdr->e_shstrndx * shentsize ) );
/vbox/src/VBox/Runtime/include/internal/
H A DldrELFCommon.h107 #define IS_ELF(ehdr) ((ehdr).e_ident[EI_MAG0] == ELFMAG0 && \
108 (ehdr).e_ident[EI_MAG1] == ELFMAG1 && \
109 (ehdr).e_ident[EI_MAG2] == ELFMAG2 && \
110 (ehdr).e_ident[EI_MAG3] == ELFMAG3)
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/
H A Ddt_link.c456 Elf32_Ehdr ehdr; member in struct:__anon16000
477 elf_file.ehdr.e_ident[EI_MAG0] = ELFMAG0;
478 elf_file.ehdr.e_ident[EI_MAG1] = ELFMAG1;
479 elf_file.ehdr.e_ident[EI_MAG2] = ELFMAG2;
480 elf_file.ehdr.e_ident[EI_MAG3] = ELFMAG3;
481 elf_file.ehdr.e_ident[EI_VERSION] = EV_CURRENT;
482 elf_file.ehdr.e_ident[EI_CLASS] = ELFCLASS32;
484 elf_file.ehdr.e_ident[EI_DATA] = ELFDATA2MSB;
486 elf_file.ehdr.e_ident[EI_DATA] = ELFDATA2LSB;
488 elf_file.ehdr
593 Elf64_Ehdr ehdr; member in struct:__anon16001
1018 GElf_Ehdr ehdr; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/GenFw/
H A Delf_common.h125 #define IS_ELF(ehdr) ((ehdr).e_ident[EI_MAG0] == ELFMAG0 && \
126 (ehdr).e_ident[EI_MAG1] == ELFMAG1 && \
127 (ehdr).e_ident[EI_MAG2] == ELFMAG2 && \
128 (ehdr).e_ident[EI_MAG3] == ELFMAG3)
/vbox/src/VBox/Devices/Network/slirp/
H A Dslirp.c1884 struct ethhdr *ehdr;
1913 ehdr = mtod(m, struct ethhdr *);
1914 memset(ehdr->h_source, 0xff, ETH_ALEN);
1915 ahdr = (struct arphdr *)&ehdr[1];
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/
H A Ddtrace.c1431 GElf_Ehdr ehdr; local
1443 gelf_getehdr(elf, &ehdr) == NULL) {
1452 if (ehdr.e_ident[EI_CLASS] == ELFCLASS64) {
1458 } else if (ehdr.e_ident[EI_CLASS] == ELFCLASS32) {
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/
H A Dtulip.c404 unsigned char ehdr[ETH_HLEN]; /* buffer for ethernet header */
403 unsigned char ehdr[ETH_HLEN]; /* buffer for ethernet header */ member in struct:tulip_private

Completed in 118 milliseconds