Lines Matching refs:ObjectFileMachO
141 LLDB_PLUGIN_DEFINE(ObjectFileMachO)
807 char ObjectFileMachO::ID;
809 void ObjectFileMachO::Initialize() { in Initialize()
815 void ObjectFileMachO::Terminate() { in Terminate()
819 ObjectFile *ObjectFileMachO::CreateInstance(const lldb::ModuleSP &module_sp, in CreateInstance()
832 if (!ObjectFileMachO::MagicBytesMatch(data_sp, data_offset, length)) in CreateInstance()
842 auto objfile_up = std::make_unique<ObjectFileMachO>( in CreateInstance()
850 ObjectFile *ObjectFileMachO::CreateMemoryInstance( in CreateMemoryInstance()
853 if (ObjectFileMachO::MagicBytesMatch(data_sp, 0, data_sp->GetByteSize())) { in CreateMemoryInstance()
855 new ObjectFileMachO(module_sp, data_sp, process_sp, header_addr)); in CreateMemoryInstance()
862 size_t ObjectFileMachO::GetModuleSpecifications( in GetModuleSpecifications()
868 if (ObjectFileMachO::MagicBytesMatch(data_sp, 0, data_sp->GetByteSize())) { in GetModuleSpecifications()
892 ConstString ObjectFileMachO::GetSegmentNameTEXT() { in GetSegmentNameTEXT()
897 ConstString ObjectFileMachO::GetSegmentNameDATA() { in GetSegmentNameDATA()
902 ConstString ObjectFileMachO::GetSegmentNameDATA_DIRTY() { in GetSegmentNameDATA_DIRTY()
907 ConstString ObjectFileMachO::GetSegmentNameDATA_CONST() { in GetSegmentNameDATA_CONST()
912 ConstString ObjectFileMachO::GetSegmentNameOBJC() { in GetSegmentNameOBJC()
917 ConstString ObjectFileMachO::GetSegmentNameLINKEDIT() { in GetSegmentNameLINKEDIT()
922 ConstString ObjectFileMachO::GetSegmentNameDWARF() { in GetSegmentNameDWARF()
927 ConstString ObjectFileMachO::GetSectionNameEHFrame() { in GetSectionNameEHFrame()
932 bool ObjectFileMachO::MagicBytesMatch(DataBufferSP data_sp, in MagicBytesMatch()
942 ObjectFileMachO::ObjectFileMachO(const lldb::ModuleSP &module_sp, in ObjectFileMachO() function in ObjectFileMachO
956 ObjectFileMachO::ObjectFileMachO(const lldb::ModuleSP &module_sp, in ObjectFileMachO() function in ObjectFileMachO
968 bool ObjectFileMachO::ParseHeader(DataExtractor &data, in ParseHeader()
1022 bool ObjectFileMachO::ParseHeader() { in ParseHeader()
1111 ByteOrder ObjectFileMachO::GetByteOrder() const { in GetByteOrder()
1115 bool ObjectFileMachO::IsExecutable() const { in IsExecutable()
1119 bool ObjectFileMachO::IsDynamicLoader() const { in IsDynamicLoader()
1123 bool ObjectFileMachO::IsSharedCacheBinary() const { in IsSharedCacheBinary()
1127 uint32_t ObjectFileMachO::GetAddressByteSize() const { in GetAddressByteSize()
1131 AddressClass ObjectFileMachO::GetAddressClass(lldb::addr_t file_addr) { in GetAddressClass()
1297 bool ObjectFileMachO::IsStripped() { in IsStripped()
1328 ObjectFileMachO::EncryptedFileRanges ObjectFileMachO::GetEncryptedFileRanges() { in GetEncryptedFileRanges()
1357 void ObjectFileMachO::SanitizeSegmentCommand( in SanitizeSegmentCommand()
1571 struct ObjectFileMachO::SegmentParsingContext {
1583 void ObjectFileMachO::ProcessSegmentCommand( in ProcessSegmentCommand()
1868 void ObjectFileMachO::ProcessDysymtabCommand( in ProcessDysymtabCommand()
1876 void ObjectFileMachO::CreateSections(SectionList &unified_section_list) { in CreateSections()
2159 UUID ObjectFileMachO::GetSharedCacheUUID(FileSpec dyld_shared_cache, in GetSharedCacheUUID()
2203 void ObjectFileMachO::ParseSymtab(Symtab &symtab) { in ParseSymtab()
4777 void ObjectFileMachO::Dump(Stream *s) {
4814 UUID ObjectFileMachO::GetUUID(const llvm::MachO::mach_header &header,
4925 void ObjectFileMachO::GetAllArchSpecs(const llvm::MachO::mach_header &header,
4940 spec.GetUUID() = ObjectFileMachO::GetUUID(header, data, lc_offset);
5061 ArchSpec ObjectFileMachO::GetArchitecture(
5087 UUID ObjectFileMachO::GetUUID() {
5097 uint32_t ObjectFileMachO::GetDependentModules(FileSpecList &files) {
5201 lldb_private::Address ObjectFileMachO::GetEntryPointAddress() {
5373 lldb_private::Address ObjectFileMachO::GetBaseAddress() {
5387 uint32_t ObjectFileMachO::GetNumThreadContexts() {
5413 std::string ObjectFileMachO::GetIdentifierString() {
5483 addr_t ObjectFileMachO::GetAddressMask() {
5523 bool ObjectFileMachO::GetCorefileMainBinaryInfo(addr_t &value,
5636 ObjectFileMachO::GetThreadContextAtIndex(uint32_t idx,
5680 ObjectFile::Type ObjectFileMachO::CalculateType() {
5723 ObjectFile::Strata ObjectFileMachO::CalculateStrata() {
5779 llvm::VersionTuple ObjectFileMachO::GetVersion() {
5816 ArchSpec ObjectFileMachO::GetArchitecture() {
5828 void ObjectFileMachO::GetProcessSharedCacheUUID(Process *process,
5861 void ObjectFileMachO::GetLLDBSharedCacheUUID(addr_t &base_addr, UUID &uuid) {
5942 llvm::VersionTuple ObjectFileMachO::GetMinimumOSVersion() {
6003 llvm::VersionTuple ObjectFileMachO::GetSDKVersion() {
6077 bool ObjectFileMachO::GetIsDynamicLinkEditor() {
6081 bool ObjectFileMachO::AllowAssemblyEmulationUnwindPlans() {
6085 Section *ObjectFileMachO::GetMachHeaderSection() {
6114 bool ObjectFileMachO::SectionIsLoadable(const Section *section) {
6137 lldb::addr_t ObjectFileMachO::CalculateSectionLoadAddressForMemoryImage(
6150 bool ObjectFileMachO::SetLoadAddress(Target &target, lldb::addr_t value,
6440 bool ObjectFileMachO::SaveCore(const lldb::ProcessSP &process_sp,
6859 ObjectFileMachO::MachOCorefileAllImageInfos
6860 ObjectFileMachO::GetCorefileAllImageInfos() {
6948 bool ObjectFileMachO::LoadCoreFileImages(lldb_private::Process &process) {