X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/b0d623f7f2ae71ed96e60569f61f9a9a27016e80..813fb2f63a553c957e917ede5f119b021d6ce391:/tools/tests/testkext/testkext.xcodeproj/project.pbxproj diff --git a/tools/tests/testkext/testkext.xcodeproj/project.pbxproj b/tools/tests/testkext/testkext.xcodeproj/project.pbxproj index be0c891c3..a89640683 100644 --- a/tools/tests/testkext/testkext.xcodeproj/project.pbxproj +++ b/tools/tests/testkext/testkext.xcodeproj/project.pbxproj @@ -7,18 +7,34 @@ objects = { /* Begin PBXBuildFile section */ + 086FC22B1E0347E700A7EBEF /* pgokext.c in Sources */ = {isa = PBXBuildFile; fileRef = 086FC22A1E0347E700A7EBEF /* pgokext.c */; }; C68D22B30EB2441400C3A06C /* testvmx.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C68D22B20EB2441400C3A06C /* testvmx.cpp */; }; + C6CBD9CE1225B9FF00F317B5 /* testthreadcall.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C6CBD9CD1225B9FF00F317B5 /* testthreadcall.cpp */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ + 086FC2281E0347E700A7EBEF /* pgokext.kext */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = pgokext.kext; sourceTree = BUILT_PRODUCTS_DIR; }; + 086FC22A1E0347E700A7EBEF /* pgokext.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = pgokext.c; sourceTree = ""; }; + 086FC22C1E0347E700A7EBEF /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 8DA8362C06AD9B9200E5AC22 /* Kernel.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Kernel.framework; path = /System/Library/Frameworks/Kernel.framework; sourceTree = ""; }; C68D22A80EB243BC00C3A06C /* testvmx.kext */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = testvmx.kext; sourceTree = BUILT_PRODUCTS_DIR; }; C68D22A90EB243BC00C3A06C /* testvmx-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "testvmx-Info.plist"; sourceTree = ""; }; C68D22B10EB2441400C3A06C /* testvmx.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = testvmx.h; sourceTree = ""; }; C68D22B20EB2441400C3A06C /* testvmx.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = testvmx.cpp; sourceTree = ""; }; + C6CBD9C31225B98F00F317B5 /* testthreadcall.kext */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = testthreadcall.kext; sourceTree = BUILT_PRODUCTS_DIR; }; + C6CBD9C41225B98F00F317B5 /* testthreadcall-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "testthreadcall-Info.plist"; sourceTree = ""; }; + C6CBD9CC1225B9FF00F317B5 /* testthreadcall.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = testthreadcall.h; sourceTree = ""; }; + C6CBD9CD1225B9FF00F317B5 /* testthreadcall.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = testthreadcall.cpp; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ + 086FC2241E0347E700A7EBEF /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; C68D22A60EB243BC00C3A06C /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -26,14 +42,31 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + C6CBD9C11225B98F00F317B5 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 086FC2291E0347E700A7EBEF /* pgokext */ = { + isa = PBXGroup; + children = ( + 086FC22A1E0347E700A7EBEF /* pgokext.c */, + 086FC22C1E0347E700A7EBEF /* Info.plist */, + ); + path = pgokext; + sourceTree = ""; + }; 089C166AFE841209C02AAC07 /* testkext */ = { isa = PBXGroup; children = ( 247142CAFF3F8F9811CA285C /* Source */, 8DA8362C06AD9B9200E5AC22 /* Kernel.framework */, + 086FC2291E0347E700A7EBEF /* pgokext */, 19C28FB6FE9D52B211CA2CBB /* Products */, ); name = testkext; @@ -43,6 +76,8 @@ isa = PBXGroup; children = ( C68D22A80EB243BC00C3A06C /* testvmx.kext */, + C6CBD9C31225B98F00F317B5 /* testthreadcall.kext */, + 086FC2281E0347E700A7EBEF /* pgokext.kext */, ); name = Products; sourceTree = ""; @@ -50,16 +85,47 @@ 247142CAFF3F8F9811CA285C /* Source */ = { isa = PBXGroup; children = ( + C6CBD9CC1225B9FF00F317B5 /* testthreadcall.h */, + C6CBD9CD1225B9FF00F317B5 /* testthreadcall.cpp */, C68D22B10EB2441400C3A06C /* testvmx.h */, C68D22B20EB2441400C3A06C /* testvmx.cpp */, C68D22A90EB243BC00C3A06C /* testvmx-Info.plist */, + C6CBD9C41225B98F00F317B5 /* testthreadcall-Info.plist */, ); name = Source; sourceTree = ""; }; /* End PBXGroup section */ +/* Begin PBXHeadersBuildPhase section */ + 086FC2251E0347E700A7EBEF /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + /* Begin PBXNativeTarget section */ + 086FC2271E0347E700A7EBEF /* pgokext */ = { + isa = PBXNativeTarget; + buildConfigurationList = 086FC22F1E0347E700A7EBEF /* Build configuration list for PBXNativeTarget "pgokext" */; + buildPhases = ( + 086FC2231E0347E700A7EBEF /* Sources */, + 086FC2241E0347E700A7EBEF /* Frameworks */, + 086FC2251E0347E700A7EBEF /* Headers */, + 086FC2261E0347E700A7EBEF /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = pgokext; + productName = pgokext; + productReference = 086FC2281E0347E700A7EBEF /* pgokext.kext */; + productType = "com.apple.product-type.kernel-extension"; + }; C68D22A70EB243BC00C3A06C /* testvmx */ = { isa = PBXNativeTarget; buildConfigurationList = C68D22AC0EB243BD00C3A06C /* Build configuration list for PBXNativeTarget "testvmx" */; @@ -77,24 +143,65 @@ productReference = C68D22A80EB243BC00C3A06C /* testvmx.kext */; productType = "com.apple.product-type.kernel-extension.iokit"; }; + C6CBD9C21225B98F00F317B5 /* testthreadcall */ = { + isa = PBXNativeTarget; + buildConfigurationList = C6CBD9C71225B98F00F317B5 /* Build configuration list for PBXNativeTarget "testthreadcall" */; + buildPhases = ( + C6CBD9BF1225B98F00F317B5 /* Sources */, + C6CBD9C01225B98F00F317B5 /* Resources */, + C6CBD9C11225B98F00F317B5 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = testthreadcall; + productName = testthreadcall; + productReference = C6CBD9C31225B98F00F317B5 /* testthreadcall.kext */; + productType = "com.apple.product-type.kernel-extension.iokit"; + }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ 089C1669FE841209C02AAC07 /* Project object */ = { isa = PBXProject; + attributes = { + TargetAttributes = { + 086FC2271E0347E700A7EBEF = { + CreatedOnToolsVersion = 8.3; + ProvisioningStyle = Automatic; + }; + }; + }; buildConfigurationList = 1DEB91DD08733DB10010E9CD /* Build configuration list for PBXProject "testkext" */; compatibilityVersion = "Xcode 3.1"; + developmentRegion = English; hasScannedForEncodings = 1; + knownRegions = ( + English, + Japanese, + French, + German, + ); mainGroup = 089C166AFE841209C02AAC07 /* testkext */; projectDirPath = ""; projectRoot = ""; targets = ( C68D22A70EB243BC00C3A06C /* testvmx */, + C6CBD9C21225B98F00F317B5 /* testthreadcall */, + 086FC2271E0347E700A7EBEF /* pgokext */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ + 086FC2261E0347E700A7EBEF /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; C68D22A50EB243BC00C3A06C /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; @@ -102,9 +209,24 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + C6CBD9C01225B98F00F317B5 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ + 086FC2231E0347E700A7EBEF /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 086FC22B1E0347E700A7EBEF /* pgokext.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; C68D22A40EB243BC00C3A06C /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -113,9 +235,118 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + C6CBD9BF1225B98F00F317B5 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C6CBD9CE1225B9FF00F317B5 /* testthreadcall.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXSourcesBuildPhase section */ /* Begin XCBuildConfiguration section */ + 086FC22D1E0347E700A7EBEF /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = ""; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + INFOPLIST_FILE = pgokext/Info.plist; + INSTALL_PATH = /; + MACOSX_DEPLOYMENT_TARGET = 10.13; + MODULE_NAME = com.apple.pgokext; + MODULE_START = pgokext_start; + MODULE_STOP = pgokext_stop; + MODULE_VERSION = 1.0.0d1; + MTL_ENABLE_DEBUG_INFO = YES; + OTHER_CFLAGS = "-fprofile-instr-generate"; + PRODUCT_BUNDLE_IDENTIFIER = com.apple.pgokext; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = macosx; + WRAPPER_EXTENSION = kext; + }; + name = Debug; + }; + 086FC22E1E0347E700A7EBEF /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = ""; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + INFOPLIST_FILE = pgokext/Info.plist; + INSTALL_PATH = /; + MACOSX_DEPLOYMENT_TARGET = 10.13; + MODULE_NAME = com.apple.pgokext; + MODULE_START = pgokext_start; + MODULE_STOP = pgokext_stop; + MODULE_VERSION = 1.0.0d1; + MTL_ENABLE_DEBUG_INFO = NO; + OTHER_CFLAGS = "-fprofile-instr-generate"; + PRODUCT_BUNDLE_IDENTIFIER = com.apple.pgokext; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = macosx; + WRAPPER_EXTENSION = kext; + }; + name = Release; + }; 1DEB91DE08733DB10010E9CD /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -124,6 +355,7 @@ GCC_OPTIMIZATION_LEVEL = 0; GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_UNUSED_VARIABLE = YES; + ONLY_ACTIVE_ARCH = YES; PREBINDING = NO; }; name = Debug; @@ -180,9 +412,57 @@ }; name = Release; }; + C6CBD9C51225B98F00F317B5 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = NO; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + INFOPLIST_FILE = "testthreadcall-Info.plist"; + INSTALL_PATH = "$(SYSTEM_LIBRARY_DIR)/Extensions"; + MODULE_NAME = com.yourcompany.driver.testthreadcall; + MODULE_VERSION = 1.0.0d1; + PREBINDING = NO; + PRODUCT_NAME = testthreadcall; + WRAPPER_EXTENSION = kext; + }; + name = Debug; + }; + C6CBD9C61225B98F00F317B5 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_ENABLE_FIX_AND_CONTINUE = NO; + GCC_MODEL_TUNING = G5; + INFOPLIST_FILE = "testthreadcall-Info.plist"; + INSTALL_PATH = "$(SYSTEM_LIBRARY_DIR)/Extensions"; + MODULE_NAME = com.yourcompany.driver.testthreadcall; + MODULE_VERSION = 1.0.0d1; + PREBINDING = NO; + PRODUCT_NAME = testthreadcall; + WRAPPER_EXTENSION = kext; + ZERO_LINK = NO; + }; + name = Release; + }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ + 086FC22F1E0347E700A7EBEF /* Build configuration list for PBXNativeTarget "pgokext" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 086FC22D1E0347E700A7EBEF /* Debug */, + 086FC22E1E0347E700A7EBEF /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; 1DEB91DD08733DB10010E9CD /* Build configuration list for PBXProject "testkext" */ = { isa = XCConfigurationList; buildConfigurations = ( @@ -201,6 +481,15 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + C6CBD9C71225B98F00F317B5 /* Build configuration list for PBXNativeTarget "testthreadcall" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C6CBD9C51225B98F00F317B5 /* Debug */, + C6CBD9C61225B98F00F317B5 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; /* End XCConfigurationList section */ }; rootObject = 089C1669FE841209C02AAC07 /* Project object */;