Searched refs:sectionHeaders (Results 1 - 5 of 5) sorted by relevance

/haiku/src/system/boot/loader/
H A Delf.cpp492 ShdrType* sectionHeaders = (ShdrType*)malloc(size); local
493 if (sectionHeaders == NULL) {
498 ssize_t length = read_pos(fd, elfHeader.e_shoff, sectionHeaders, size);
508 if (sectionHeaders[i].sh_type == SHT_SYMTAB) {
509 stringHeader = &sectionHeaders[sectionHeaders[i].sh_link];
518 size = sectionHeaders[i].sh_size;
525 length = read_pos(fd, sectionHeaders[i].sh_offset, symbolTable,
568 free(sectionHeaders);
576 free(sectionHeaders);
[all...]
/haiku/src/kits/debug/
H A DImage.cpp339 elf_shdr* sectionHeaders local
345 ((uint8*)sectionHeaders + i * elfHeader->e_shentsize);
349 ((uint8*)sectionHeaders
/haiku/src/system/runtime_loader/
H A Druntime_loader.cpp530 void* sectionHeaders = (uint8*)fileBaseAddress + elfHeader.e_shoff; local
543 = (Elf32_Shdr*)((uint8*)sectionHeaders + i * elfHeader.e_shentsize);
604 Elf32_Shdr* sectionHeader = (Elf32_Shdr*)((uint8*)sectionHeaders
/haiku/src/system/kernel/
H A Delf.cpp1172 elf_shdr *sectionHeaders = (elf_shdr *)malloc(size); local
1173 if (sectionHeaders == NULL) {
1178 length = read_pos(fd, elfHeader->e_shoff, sectionHeaders, size);
1188 if (sectionHeaders[i].sh_type == SHT_SYMTAB) {
1189 stringHeader = &sectionHeaders[sectionHeaders[i].sh_link];
1198 size = sectionHeaders[i].sh_size;
1206 = read_pos(fd, sectionHeaders[i].sh_offset, symbolTable, size);
1246 free(sectionHeaders);
1254 free(sectionHeaders);
[all...]
/haiku/src/kits/storage/
H A DResourceFile.cpp611 uint8* sectionHeaders = (uint8*)malloc( local
613 if (sectionHeaders == NULL)
615 MemoryDeleter sectionHeadersDeleter(sectionHeaders);
617 read_exactly(file, sectionHeaderTableOffset, sectionHeaders,
624 = *(ElfSectionHeader*)(sectionHeaders + i * sectionHeaderSize);

Completed in 97 milliseconds