Lines Matching refs:shdr
529 Shdr shdr = {}; in SonameInit() local
530 shdr.sh_type = SHT_STRTAB; in SonameInit()
532 shdr.sh_addr = 0x20100; in SonameInit()
534 shdr.sh_addr = 0x10100; in SonameInit()
536 shdr.sh_offset = 0x10000; in SonameInit()
537 fake_memory_->SetMemory(0x200 + sizeof(shdr), &shdr, sizeof(shdr)); in SonameInit()
781 Shdr shdr = {}; in InitSectionHeadersMalformedSymData() local
782 shdr.sh_type = SHT_SYMTAB; in InitSectionHeadersMalformedSymData()
783 shdr.sh_link = 4; in InitSectionHeadersMalformedSymData()
784 shdr.sh_addr = 0x5000; in InitSectionHeadersMalformedSymData()
785 shdr.sh_offset = 0x5000; in InitSectionHeadersMalformedSymData()
786 shdr.sh_entsize = 0x100; in InitSectionHeadersMalformedSymData()
787 shdr.sh_size = shdr.sh_entsize * 10; in InitSectionHeadersMalformedSymData()
788 fake_memory_->SetMemory(offset, &shdr, sizeof(shdr)); in InitSectionHeadersMalformedSymData()
791 memset(&shdr, 0, sizeof(shdr)); in InitSectionHeadersMalformedSymData()
792 shdr.sh_type = SHT_DYNSYM; in InitSectionHeadersMalformedSymData()
793 shdr.sh_link = 10; in InitSectionHeadersMalformedSymData()
794 shdr.sh_addr = 0x6000; in InitSectionHeadersMalformedSymData()
795 shdr.sh_offset = 0x6000; in InitSectionHeadersMalformedSymData()
796 shdr.sh_entsize = 0x100; in InitSectionHeadersMalformedSymData()
797 shdr.sh_size = shdr.sh_entsize * 10; in InitSectionHeadersMalformedSymData()
798 fake_memory_->SetMemory(offset, &shdr, sizeof(shdr)); in InitSectionHeadersMalformedSymData()
801 memset(&shdr, 0, sizeof(shdr)); in InitSectionHeadersMalformedSymData()
802 shdr.sh_type = SHT_DYNSYM; in InitSectionHeadersMalformedSymData()
803 shdr.sh_link = 2; in InitSectionHeadersMalformedSymData()
804 shdr.sh_addr = 0x6000; in InitSectionHeadersMalformedSymData()
805 shdr.sh_offset = 0x6000; in InitSectionHeadersMalformedSymData()
806 shdr.sh_entsize = 0x100; in InitSectionHeadersMalformedSymData()
807 shdr.sh_size = shdr.sh_entsize * 10; in InitSectionHeadersMalformedSymData()
808 fake_memory_->SetMemory(offset, &shdr, sizeof(shdr)); in InitSectionHeadersMalformedSymData()
812 memset(&shdr, 0, sizeof(shdr)); in InitSectionHeadersMalformedSymData()
813 shdr.sh_type = SHT_STRTAB; in InitSectionHeadersMalformedSymData()
814 shdr.sh_name = 0x20000; in InitSectionHeadersMalformedSymData()
815 shdr.sh_offset = 0xf000; in InitSectionHeadersMalformedSymData()
816 shdr.sh_size = 0x1000; in InitSectionHeadersMalformedSymData()
817 fake_memory_->SetMemory(offset, &shdr, sizeof(shdr)); in InitSectionHeadersMalformedSymData()
854 Shdr shdr = {}; in InitSectionHeaders() local
855 shdr.sh_type = SHT_SYMTAB; in InitSectionHeaders()
856 shdr.sh_link = 4; in InitSectionHeaders()
857 shdr.sh_addr = 0x5000; in InitSectionHeaders()
858 shdr.sh_offset = 0x5000; in InitSectionHeaders()
859 shdr.sh_entsize = sizeof(Sym); in InitSectionHeaders()
860 shdr.sh_size = shdr.sh_entsize * 10; in InitSectionHeaders()
861 fake_memory_->SetMemory(offset, &shdr, sizeof(shdr)); in InitSectionHeaders()
864 memset(&shdr, 0, sizeof(shdr)); in InitSectionHeaders()
865 shdr.sh_type = SHT_DYNSYM; in InitSectionHeaders()
866 shdr.sh_link = 4; in InitSectionHeaders()
867 shdr.sh_addr = 0x6000; in InitSectionHeaders()
868 shdr.sh_offset = 0x6000; in InitSectionHeaders()
869 shdr.sh_entsize = sizeof(Sym); in InitSectionHeaders()
870 shdr.sh_size = shdr.sh_entsize * 10; in InitSectionHeaders()
871 fake_memory_->SetMemory(offset, &shdr, sizeof(shdr)); in InitSectionHeaders()
874 memset(&shdr, 0, sizeof(shdr)); in InitSectionHeaders()
875 shdr.sh_type = SHT_PROGBITS; in InitSectionHeaders()
876 shdr.sh_name = 0xa000; in InitSectionHeaders()
877 fake_memory_->SetMemory(offset, &shdr, sizeof(shdr)); in InitSectionHeaders()
881 memset(&shdr, 0, sizeof(shdr)); in InitSectionHeaders()
882 shdr.sh_type = SHT_STRTAB; in InitSectionHeaders()
883 shdr.sh_name = 0x20000; in InitSectionHeaders()
884 shdr.sh_offset = 0xf000; in InitSectionHeaders()
885 shdr.sh_size = 0x1000; in InitSectionHeaders()
886 fake_memory_->SetMemory(offset, &shdr, sizeof(shdr)); in InitSectionHeaders()
941 Shdr shdr = {}; in InitSectionHeadersOffsets() local
942 shdr.sh_type = SHT_PROGBITS; in InitSectionHeadersOffsets()
943 shdr.sh_link = 2; in InitSectionHeadersOffsets()
944 shdr.sh_name = 0x200; in InitSectionHeadersOffsets()
945 shdr.sh_addr = 0x5000; in InitSectionHeadersOffsets()
946 shdr.sh_offset = 0x5000; in InitSectionHeadersOffsets()
947 shdr.sh_entsize = 0x100; in InitSectionHeadersOffsets()
948 shdr.sh_size = 0x800; in InitSectionHeadersOffsets()
949 fake_memory_->SetMemory(offset, &shdr, sizeof(shdr)); in InitSectionHeadersOffsets()
953 memset(&shdr, 0, sizeof(shdr)); in InitSectionHeadersOffsets()
954 shdr.sh_type = SHT_STRTAB; in InitSectionHeadersOffsets()
955 shdr.sh_name = 0x20000; in InitSectionHeadersOffsets()
956 shdr.sh_offset = 0xf000; in InitSectionHeadersOffsets()
957 shdr.sh_size = 0x1000; in InitSectionHeadersOffsets()
958 fake_memory_->SetMemory(offset, &shdr, sizeof(shdr)); in InitSectionHeadersOffsets()
961 memset(&shdr, 0, sizeof(shdr)); in InitSectionHeadersOffsets()
962 shdr.sh_type = SHT_PROGBITS; in InitSectionHeadersOffsets()
963 shdr.sh_link = 2; in InitSectionHeadersOffsets()
964 shdr.sh_name = 0x100; in InitSectionHeadersOffsets()
965 shdr.sh_addr = 0x6000; in InitSectionHeadersOffsets()
966 shdr.sh_offset = 0x6000; in InitSectionHeadersOffsets()
967 shdr.sh_entsize = 0x100; in InitSectionHeadersOffsets()
968 shdr.sh_size = 0x500; in InitSectionHeadersOffsets()
969 fake_memory_->SetMemory(offset, &shdr, sizeof(shdr)); in InitSectionHeadersOffsets()
972 memset(&shdr, 0, sizeof(shdr)); in InitSectionHeadersOffsets()
973 shdr.sh_type = SHT_PROGBITS; in InitSectionHeadersOffsets()
974 shdr.sh_link = 2; in InitSectionHeadersOffsets()
975 shdr.sh_name = 0x300; in InitSectionHeadersOffsets()
976 shdr.sh_addr = 0x7000; in InitSectionHeadersOffsets()
977 shdr.sh_offset = 0x7000; in InitSectionHeadersOffsets()
978 shdr.sh_entsize = 0x100; in InitSectionHeadersOffsets()
979 shdr.sh_size = 0x800; in InitSectionHeadersOffsets()
980 fake_memory_->SetMemory(offset, &shdr, sizeof(shdr)); in InitSectionHeadersOffsets()
983 memset(&shdr, 0, sizeof(shdr)); in InitSectionHeadersOffsets()
984 shdr.sh_type = SHT_PROGBITS; in InitSectionHeadersOffsets()
985 shdr.sh_link = 2; in InitSectionHeadersOffsets()
986 shdr.sh_name = 0x400; in InitSectionHeadersOffsets()
987 shdr.sh_addr = 0xa000; in InitSectionHeadersOffsets()
988 shdr.sh_offset = 0xa000; in InitSectionHeadersOffsets()
989 shdr.sh_entsize = 0x100; in InitSectionHeadersOffsets()
990 shdr.sh_size = 0xf00; in InitSectionHeadersOffsets()
991 fake_memory_->SetMemory(offset, &shdr, sizeof(shdr)); in InitSectionHeadersOffsets()
994 memset(&shdr, 0, sizeof(shdr)); in InitSectionHeadersOffsets()
995 shdr.sh_type = SHT_NOTE; in InitSectionHeadersOffsets()
996 shdr.sh_name = 0x500; in InitSectionHeadersOffsets()
997 shdr.sh_addr = 0xb000; in InitSectionHeadersOffsets()
998 shdr.sh_offset = 0xb000; in InitSectionHeadersOffsets()
999 shdr.sh_size = 0xf00; in InitSectionHeadersOffsets()
1000 fake_memory_->SetMemory(offset, &shdr, sizeof(shdr)); in InitSectionHeadersOffsets()
1057 Shdr shdr = {}; in InitSectionHeadersOffsetsEhFrameSectionBias() local
1058 shdr.sh_type = SHT_PROGBITS; in InitSectionHeadersOffsetsEhFrameSectionBias()
1059 shdr.sh_link = 2; in InitSectionHeadersOffsetsEhFrameSectionBias()
1060 shdr.sh_name = 0x200; in InitSectionHeadersOffsetsEhFrameSectionBias()
1061 shdr.sh_addr = 0x8000; in InitSectionHeadersOffsetsEhFrameSectionBias()
1062 shdr.sh_offset = 0x8000; in InitSectionHeadersOffsetsEhFrameSectionBias()
1063 shdr.sh_entsize = 0x100; in InitSectionHeadersOffsetsEhFrameSectionBias()
1064 shdr.sh_size = 0x800; in InitSectionHeadersOffsetsEhFrameSectionBias()
1065 fake_memory_->SetMemory(elf_offset, &shdr, sizeof(shdr)); in InitSectionHeadersOffsetsEhFrameSectionBias()
1069 memset(&shdr, 0, sizeof(shdr)); in InitSectionHeadersOffsetsEhFrameSectionBias()
1070 shdr.sh_type = SHT_STRTAB; in InitSectionHeadersOffsetsEhFrameSectionBias()
1071 shdr.sh_name = 0x20000; in InitSectionHeadersOffsetsEhFrameSectionBias()
1072 shdr.sh_offset = 0xf000; in InitSectionHeadersOffsetsEhFrameSectionBias()
1073 shdr.sh_size = 0x1000; in InitSectionHeadersOffsetsEhFrameSectionBias()
1074 fake_memory_->SetMemory(elf_offset, &shdr, sizeof(shdr)); in InitSectionHeadersOffsetsEhFrameSectionBias()
1077 memset(&shdr, 0, sizeof(shdr)); in InitSectionHeadersOffsetsEhFrameSectionBias()
1078 shdr.sh_type = SHT_PROGBITS; in InitSectionHeadersOffsetsEhFrameSectionBias()
1079 shdr.sh_link = 2; in InitSectionHeadersOffsetsEhFrameSectionBias()
1080 shdr.sh_name = 0x100; in InitSectionHeadersOffsetsEhFrameSectionBias()
1081 shdr.sh_addr = addr; in InitSectionHeadersOffsetsEhFrameSectionBias()
1082 shdr.sh_offset = offset; in InitSectionHeadersOffsetsEhFrameSectionBias()
1083 shdr.sh_entsize = 0x100; in InitSectionHeadersOffsetsEhFrameSectionBias()
1084 shdr.sh_size = 0x500; in InitSectionHeadersOffsetsEhFrameSectionBias()
1085 fake_memory_->SetMemory(elf_offset, &shdr, sizeof(shdr)); in InitSectionHeadersOffsetsEhFrameSectionBias()
1151 Shdr shdr = {}; in InitSectionHeadersOffsetsEhFrameHdrSectionBias() local
1152 shdr.sh_type = SHT_PROGBITS; in InitSectionHeadersOffsetsEhFrameHdrSectionBias()
1153 shdr.sh_link = 2; in InitSectionHeadersOffsetsEhFrameHdrSectionBias()
1154 shdr.sh_name = 0x200; in InitSectionHeadersOffsetsEhFrameHdrSectionBias()
1155 shdr.sh_addr = addr; in InitSectionHeadersOffsetsEhFrameHdrSectionBias()
1156 shdr.sh_offset = offset; in InitSectionHeadersOffsetsEhFrameHdrSectionBias()
1157 shdr.sh_entsize = 0x100; in InitSectionHeadersOffsetsEhFrameHdrSectionBias()
1158 shdr.sh_size = 0x800; in InitSectionHeadersOffsetsEhFrameHdrSectionBias()
1159 fake_memory_->SetMemory(elf_offset, &shdr, sizeof(shdr)); in InitSectionHeadersOffsetsEhFrameHdrSectionBias()
1163 memset(&shdr, 0, sizeof(shdr)); in InitSectionHeadersOffsetsEhFrameHdrSectionBias()
1164 shdr.sh_type = SHT_STRTAB; in InitSectionHeadersOffsetsEhFrameHdrSectionBias()
1165 shdr.sh_name = 0x20000; in InitSectionHeadersOffsetsEhFrameHdrSectionBias()
1166 shdr.sh_offset = 0xf000; in InitSectionHeadersOffsetsEhFrameHdrSectionBias()
1167 shdr.sh_size = 0x1000; in InitSectionHeadersOffsetsEhFrameHdrSectionBias()
1168 fake_memory_->SetMemory(elf_offset, &shdr, sizeof(shdr)); in InitSectionHeadersOffsetsEhFrameHdrSectionBias()
1171 memset(&shdr, 0, sizeof(shdr)); in InitSectionHeadersOffsetsEhFrameHdrSectionBias()
1172 shdr.sh_type = SHT_PROGBITS; in InitSectionHeadersOffsetsEhFrameHdrSectionBias()
1173 shdr.sh_link = 2; in InitSectionHeadersOffsetsEhFrameHdrSectionBias()
1174 shdr.sh_name = 0x100; in InitSectionHeadersOffsetsEhFrameHdrSectionBias()
1175 shdr.sh_addr = 0x5000; in InitSectionHeadersOffsetsEhFrameHdrSectionBias()
1176 shdr.sh_offset = 0x5000; in InitSectionHeadersOffsetsEhFrameHdrSectionBias()
1177 shdr.sh_entsize = 0x100; in InitSectionHeadersOffsetsEhFrameHdrSectionBias()
1178 shdr.sh_size = 0x500; in InitSectionHeadersOffsetsEhFrameHdrSectionBias()
1179 fake_memory_->SetMemory(elf_offset, &shdr, sizeof(shdr)); in InitSectionHeadersOffsetsEhFrameHdrSectionBias()
1244 Shdr shdr = {}; in InitSectionHeadersOffsetsDebugFrameSectionBias() local
1245 shdr.sh_type = SHT_PROGBITS; in InitSectionHeadersOffsetsDebugFrameSectionBias()
1246 shdr.sh_link = 2; in InitSectionHeadersOffsetsDebugFrameSectionBias()
1247 shdr.sh_name = 0x100; in InitSectionHeadersOffsetsDebugFrameSectionBias()
1248 shdr.sh_addr = addr; in InitSectionHeadersOffsetsDebugFrameSectionBias()
1249 shdr.sh_offset = offset; in InitSectionHeadersOffsetsDebugFrameSectionBias()
1250 shdr.sh_entsize = 0x100; in InitSectionHeadersOffsetsDebugFrameSectionBias()
1251 shdr.sh_size = 0x800; in InitSectionHeadersOffsetsDebugFrameSectionBias()
1252 fake_memory_->SetMemory(elf_offset, &shdr, sizeof(shdr)); in InitSectionHeadersOffsetsDebugFrameSectionBias()
1256 memset(&shdr, 0, sizeof(shdr)); in InitSectionHeadersOffsetsDebugFrameSectionBias()
1257 shdr.sh_type = SHT_STRTAB; in InitSectionHeadersOffsetsDebugFrameSectionBias()
1258 shdr.sh_name = 0x20000; in InitSectionHeadersOffsetsDebugFrameSectionBias()
1259 shdr.sh_offset = 0xf000; in InitSectionHeadersOffsetsDebugFrameSectionBias()
1260 shdr.sh_size = 0x1000; in InitSectionHeadersOffsetsDebugFrameSectionBias()
1261 fake_memory_->SetMemory(elf_offset, &shdr, sizeof(shdr)); in InitSectionHeadersOffsetsDebugFrameSectionBias()
1428 Elf32_Shdr shdr = {}; in TEST_F() local
1429 shdr.sh_type = SHT_NULL; in TEST_F()
1430 fake_memory_->SetMemory(sh_offset, &shdr, sizeof(shdr)); in TEST_F()
1432 sh_offset += sizeof(shdr); in TEST_F()
1433 memset(&shdr, 0, sizeof(shdr)); in TEST_F()
1434 shdr.sh_type = SHT_STRTAB; in TEST_F()
1435 shdr.sh_name = 1; in TEST_F()
1436 shdr.sh_offset = 0x500; in TEST_F()
1437 shdr.sh_size = 0x100; in TEST_F()
1438 fake_memory_->SetMemory(sh_offset, &shdr, sizeof(shdr)); in TEST_F()
1441 sh_offset += sizeof(shdr); in TEST_F()
1442 memset(&shdr, 0, sizeof(shdr)); in TEST_F()
1443 shdr.sh_type = SHT_PROGBITS; in TEST_F()
1444 shdr.sh_name = 0; in TEST_F()
1445 shdr.sh_addr = 0x600; in TEST_F()
1446 shdr.sh_offset = 0x600; in TEST_F()
1447 shdr.sh_size = 0x200; in TEST_F()
1448 fake_memory_->SetMemory(sh_offset, &shdr, sizeof(shdr)); in TEST_F()
1485 Elf32_Shdr shdr = {}; in TEST_F() local
1486 shdr.sh_type = SHT_NULL; in TEST_F()
1487 fake_memory_->SetMemory(sh_offset, &shdr, sizeof(shdr)); in TEST_F()
1489 sh_offset += sizeof(shdr); in TEST_F()
1490 memset(&shdr, 0, sizeof(shdr)); in TEST_F()
1491 shdr.sh_type = SHT_STRTAB; in TEST_F()
1492 shdr.sh_name = 1; in TEST_F()
1493 shdr.sh_offset = 0x500; in TEST_F()
1494 shdr.sh_size = 0x100; in TEST_F()
1495 fake_memory_->SetMemory(sh_offset, &shdr, sizeof(shdr)); in TEST_F()
1498 sh_offset += sizeof(shdr); in TEST_F()
1499 memset(&shdr, 0, sizeof(shdr)); in TEST_F()
1500 shdr.sh_type = SHT_PROGBITS; in TEST_F()
1501 shdr.sh_name = 0; in TEST_F()
1502 shdr.sh_addr = 0x600; in TEST_F()
1503 shdr.sh_offset = 0x600; in TEST_F()
1504 shdr.sh_size = 0x200; in TEST_F()
1505 fake_memory_->SetMemory(sh_offset, &shdr, sizeof(shdr)); in TEST_F()
1558 Shdr shdr = {}; in BuildID() local
1559 shdr.sh_type = SHT_NOTE; in BuildID()
1560 shdr.sh_name = 0x500; in BuildID()
1561 shdr.sh_offset = 0xb000; in BuildID()
1562 shdr.sh_size = sizeof(note_section); in BuildID()
1563 fake_memory_->SetMemory(offset, &shdr, sizeof(shdr)); in BuildID()
1567 memset(&shdr, 0, sizeof(shdr)); in BuildID()
1568 shdr.sh_type = SHT_STRTAB; in BuildID()
1569 shdr.sh_name = 0x20000; in BuildID()
1570 shdr.sh_offset = 0xf000; in BuildID()
1571 shdr.sh_size = 0x1000; in BuildID()
1572 fake_memory_->SetMemory(offset, &shdr, sizeof(shdr)); in BuildID()
1629 Shdr shdr = {}; in BuildIDTwoNotes() local
1630 shdr.sh_type = SHT_NOTE; in BuildIDTwoNotes()
1631 shdr.sh_name = 0x500; in BuildIDTwoNotes()
1632 shdr.sh_offset = 0xb000; in BuildIDTwoNotes()
1633 shdr.sh_size = sizeof(note_section); in BuildIDTwoNotes()
1634 fake_memory_->SetMemory(offset, &shdr, sizeof(shdr)); in BuildIDTwoNotes()
1638 memset(&shdr, 0, sizeof(shdr)); in BuildIDTwoNotes()
1639 shdr.sh_type = SHT_STRTAB; in BuildIDTwoNotes()
1640 shdr.sh_name = 0x20000; in BuildIDTwoNotes()
1641 shdr.sh_offset = 0xf000; in BuildIDTwoNotes()
1642 shdr.sh_size = 0x1000; in BuildIDTwoNotes()
1643 fake_memory_->SetMemory(offset, &shdr, sizeof(shdr)); in BuildIDTwoNotes()
1689 Shdr shdr = {}; in BuildIDSectionTooSmallForName() local
1690 shdr.sh_type = SHT_NOTE; in BuildIDSectionTooSmallForName()
1691 shdr.sh_name = 0x500; in BuildIDSectionTooSmallForName()
1692 shdr.sh_offset = 0xb000; in BuildIDSectionTooSmallForName()
1693 shdr.sh_size = sizeof(note_header) + 1; in BuildIDSectionTooSmallForName()
1694 fake_memory_->SetMemory(offset, &shdr, sizeof(shdr)); in BuildIDSectionTooSmallForName()
1698 memset(&shdr, 0, sizeof(shdr)); in BuildIDSectionTooSmallForName()
1699 shdr.sh_type = SHT_STRTAB; in BuildIDSectionTooSmallForName()
1700 shdr.sh_name = 0x20000; in BuildIDSectionTooSmallForName()
1701 shdr.sh_offset = 0xf000; in BuildIDSectionTooSmallForName()
1702 shdr.sh_size = 0x1000; in BuildIDSectionTooSmallForName()
1703 fake_memory_->SetMemory(offset, &shdr, sizeof(shdr)); in BuildIDSectionTooSmallForName()
1749 Shdr shdr = {}; in BuildIDSectionTooSmallForDesc() local
1750 shdr.sh_type = SHT_NOTE; in BuildIDSectionTooSmallForDesc()
1751 shdr.sh_name = 0x500; in BuildIDSectionTooSmallForDesc()
1752 shdr.sh_offset = 0xb000; in BuildIDSectionTooSmallForDesc()
1753 shdr.sh_size = sizeof(note_header) + sizeof("GNU") + 1; in BuildIDSectionTooSmallForDesc()
1754 fake_memory_->SetMemory(offset, &shdr, sizeof(shdr)); in BuildIDSectionTooSmallForDesc()
1758 memset(&shdr, 0, sizeof(shdr)); in BuildIDSectionTooSmallForDesc()
1759 shdr.sh_type = SHT_STRTAB; in BuildIDSectionTooSmallForDesc()
1760 shdr.sh_name = 0x20000; in BuildIDSectionTooSmallForDesc()
1761 shdr.sh_offset = 0xf000; in BuildIDSectionTooSmallForDesc()
1762 shdr.sh_size = 0x1000; in BuildIDSectionTooSmallForDesc()
1763 fake_memory_->SetMemory(offset, &shdr, sizeof(shdr)); in BuildIDSectionTooSmallForDesc()
1809 Shdr shdr = {}; in BuildIDSectionTooSmallForHeader() local
1810 shdr.sh_type = SHT_NOTE; in BuildIDSectionTooSmallForHeader()
1811 shdr.sh_name = 0x500; in BuildIDSectionTooSmallForHeader()
1812 shdr.sh_offset = 0xb000; in BuildIDSectionTooSmallForHeader()
1813 shdr.sh_size = sizeof(note_header) - 1; in BuildIDSectionTooSmallForHeader()
1814 fake_memory_->SetMemory(offset, &shdr, sizeof(shdr)); in BuildIDSectionTooSmallForHeader()
1818 memset(&shdr, 0, sizeof(shdr)); in BuildIDSectionTooSmallForHeader()
1819 shdr.sh_type = SHT_STRTAB; in BuildIDSectionTooSmallForHeader()
1820 shdr.sh_name = 0x20000; in BuildIDSectionTooSmallForHeader()
1821 shdr.sh_offset = 0xf000; in BuildIDSectionTooSmallForHeader()
1822 shdr.sh_size = 0x1000; in BuildIDSectionTooSmallForHeader()
1823 fake_memory_->SetMemory(offset, &shdr, sizeof(shdr)); in BuildIDSectionTooSmallForHeader()