Lines Matching refs:Sect
349 InMemoryStruct<macho::Section64> Sect; in getSectionName() local
350 MachOObj->ReadSection64(LCI, DRI.d.b, Sect); in getSectionName()
352 strcpy(result, Sect->SegmentName); in getSectionName()
354 strcat(result, Sect->Name); in getSectionName()
359 InMemoryStruct<macho::Section> Sect; in getSectionName() local
360 MachOObj->ReadSection(LCI, DRI.d.b, Sect); in getSectionName()
362 strcpy(result, Sect->SegmentName); in getSectionName()
364 strcat(result, Sect->Name); in getSectionName()
373 InMemoryStruct<macho::Section64> Sect; in getSectionAddress() local
374 getSection64(DRI, Sect); in getSectionAddress()
375 Result = Sect->Address; in getSectionAddress()
377 InMemoryStruct<macho::Section> Sect; in getSectionAddress() local
378 getSection(DRI, Sect); in getSectionAddress()
379 Result = Sect->Address; in getSectionAddress()
387 InMemoryStruct<macho::Section64> Sect; in getSectionSize() local
388 getSection64(DRI, Sect); in getSectionSize()
389 Result = Sect->Size; in getSectionSize()
391 InMemoryStruct<macho::Section> Sect; in getSectionSize() local
392 getSection(DRI, Sect); in getSectionSize()
393 Result = Sect->Size; in getSectionSize()
401 InMemoryStruct<macho::Section64> Sect; in getSectionContents() local
402 getSection64(DRI, Sect); in getSectionContents()
403 Result = MachOObj->getData(Sect->Offset, Sect->Size); in getSectionContents()
405 InMemoryStruct<macho::Section> Sect; in getSectionContents() local
406 getSection(DRI, Sect); in getSectionContents()
407 Result = MachOObj->getData(Sect->Offset, Sect->Size); in getSectionContents()
415 InMemoryStruct<macho::Section64> Sect; in getSectionAlignment() local
416 getSection64(DRI, Sect); in getSectionAlignment()
417 Result = uint64_t(1) << Sect->Align; in getSectionAlignment()
419 InMemoryStruct<macho::Section> Sect; in getSectionAlignment() local
420 getSection(DRI, Sect); in getSectionAlignment()
421 Result = uint64_t(1) << Sect->Align; in getSectionAlignment()
429 InMemoryStruct<macho::Section64> Sect; in isSectionText() local
430 getSection64(DRI, Sect); in isSectionText()
431 Result = !strcmp(Sect->Name, "__text"); in isSectionText()
433 InMemoryStruct<macho::Section> Sect; in isSectionText() local
434 getSection(DRI, Sect); in isSectionText()
435 Result = !strcmp(Sect->Name, "__text"); in isSectionText()
493 InMemoryStruct<macho::Section64> Sect; in getSectionRelEnd() local
494 getSection64(Sec, Sect); in getSectionRelEnd()
495 last_reloc = Sect->NumRelocationTableEntries; in getSectionRelEnd()
497 InMemoryStruct<macho::Section> Sect; in getSectionRelEnd() local
498 getSection(Sec, Sect); in getSectionRelEnd()
499 last_reloc = Sect->NumRelocationTableEntries; in getSectionRelEnd()
528 InMemoryStruct<macho::Section64> Sect; in getRelocation() local
529 getSection64(Sections[Rel.d.b], Sect); in getRelocation()
530 relOffset = Sect->RelocationTableOffset; in getRelocation()
532 InMemoryStruct<macho::Section> Sect; in getRelocation() local
533 getSection(Sections[Rel.d.b], Sect); in getRelocation()
534 relOffset = Sect->RelocationTableOffset; in getRelocation()
548 InMemoryStruct<macho::Section64> Sect; in getRelocationAddress() local
549 getSection64(Sections[Rel.d.b], Sect); in getRelocationAddress()
550 sectAddress += Sect->Offset; in getRelocationAddress()
552 InMemoryStruct<macho::Section> Sect; in getRelocationAddress() local
553 getSection(Sections[Rel.d.b], Sect); in getRelocationAddress()
554 sectAddress += Sect->Offset; in getRelocationAddress()
602 InMemoryStruct<macho::Section64> Sect; in getRelocationAdditionalInfo() local
603 getSection64(Sections[Rel.d.b], Sect); in getRelocationAdditionalInfo()
604 sectAddress += Sect->Offset; in getRelocationAdditionalInfo()
606 InMemoryStruct<macho::Section> Sect; in getRelocationAdditionalInfo() local
607 getSection(Sections[Rel.d.b], Sect); in getRelocationAdditionalInfo()
608 sectAddress += Sect->Offset; in getRelocationAdditionalInfo()