Add TCC framework stub

This commit is contained in:
Ariel Abreu 2023-09-13 16:51:24 -04:00
parent c3c5c1f042
commit 7e4e81f52a
No known key found for this signature in database
GPG Key ID: 5B88AAAF4280706F
32 changed files with 1775 additions and 0 deletions

View File

@ -0,0 +1 @@
../../../../../../../../../../../../src/private-frameworks/TCC/include/TCC

View File

@ -0,0 +1 @@
../Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/PrivateFrameworks/TCC.framework/Headers

View File

@ -55,6 +55,7 @@ if (COMPONENT_dev_gui_stubs_common)
add_subdirectory(SkyLight)
add_subdirectory(SpotlightIndex)
add_subdirectory(StreamingZip)
add_subdirectory(TCC)
add_subdirectory(ViewBridge)
endif()

View File

@ -0,0 +1,43 @@
project(TCC)
remove_sdk_framework(TCC
PRIVATE
)
set(DYLIB_COMPAT_VERSION "1.0.0")
set(DYLIB_CURRENT_VERSION "1.0.0")
set(FRAMEWORK_VERSION "A")
generate_sdk_framework(TCC
PRIVATE
VERSION ${FRAMEWORK_VERSION}
HEADER "include/TCC"
)
add_framework(TCC
PRIVATE
FAT
CURRENT_VERSION
VERSION ${FRAMEWORK_VERSION}
SOURCES
src/OS_tcc_authorization_cache.m
src/OS_tcc_service.m
src/OS_tcc_identity.m
src/OS_tcc_server.m
src/OS_tcc_events_filter.m
src/OS_tcc_message_options.m
src/OS_tcc_authorization_change_monitor.m
src/OS_tcc_credential.m
src/OS_tcc_authorization_record.m
src/OS_tcc_events_subscription.m
src/OS_tcc_attributed_entity.m
src/OS_tcc_object.m
src/TCC.m
DEPENDENCIES
system
objc
Foundation
)

View File

@ -0,0 +1,24 @@
/*
This file is part of Darling.
Copyright (C) 2023 Darling Team
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#include <Foundation/Foundation.h>
@protocol OS_tcc_attributed_entity
@end

View File

@ -0,0 +1,24 @@
/*
This file is part of Darling.
Copyright (C) 2023 Darling Team
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#include <Foundation/Foundation.h>
@protocol OS_tcc_authorization_cache
@end

View File

@ -0,0 +1,24 @@
/*
This file is part of Darling.
Copyright (C) 2023 Darling Team
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#include <Foundation/Foundation.h>
@protocol OS_tcc_authorization_change_monitor
@end

View File

@ -0,0 +1,24 @@
/*
This file is part of Darling.
Copyright (C) 2023 Darling Team
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#include <Foundation/Foundation.h>
@protocol OS_tcc_authorization_record
@end

View File

@ -0,0 +1,24 @@
/*
This file is part of Darling.
Copyright (C) 2023 Darling Team
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#include <Foundation/Foundation.h>
@protocol OS_tcc_credential
@end

View File

@ -0,0 +1,24 @@
/*
This file is part of Darling.
Copyright (C) 2023 Darling Team
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#include <Foundation/Foundation.h>
@protocol OS_tcc_events_filter
@end

View File

@ -0,0 +1,24 @@
/*
This file is part of Darling.
Copyright (C) 2023 Darling Team
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#include <Foundation/Foundation.h>
@protocol OS_tcc_events_subscription
@end

View File

@ -0,0 +1,24 @@
/*
This file is part of Darling.
Copyright (C) 2023 Darling Team
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#include <Foundation/Foundation.h>
@protocol OS_tcc_identity
@end

View File

@ -0,0 +1,24 @@
/*
This file is part of Darling.
Copyright (C) 2023 Darling Team
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#include <Foundation/Foundation.h>
@protocol OS_tcc_message_options
@end

View File

@ -0,0 +1,24 @@
/*
This file is part of Darling.
Copyright (C) 2023 Darling Team
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#include <Foundation/Foundation.h>
@protocol OS_tcc_object
@end

View File

@ -0,0 +1,24 @@
/*
This file is part of Darling.
Copyright (C) 2023 Darling Team
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#include <Foundation/Foundation.h>
@protocol OS_tcc_server
@end

View File

@ -0,0 +1,24 @@
/*
This file is part of Darling.
Copyright (C) 2023 Darling Team
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#include <Foundation/Foundation.h>
@protocol OS_tcc_service
@end

View File

@ -0,0 +1,303 @@
/*
This file is part of Darling.
Copyright (C) 2023 Darling Team
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _TCC_H_
#define _TCC_H_
#import <Foundation/Foundation.h>
#import <TCC/OS_tcc_attributed_entity.h>
#import <TCC/OS_tcc_attributed_entity.h>
#import <TCC/OS_tcc_authorization_cache.h>
#import <TCC/OS_tcc_authorization_cache.h>
#import <TCC/OS_tcc_authorization_change_monitor.h>
#import <TCC/OS_tcc_authorization_change_monitor.h>
#import <TCC/OS_tcc_authorization_record.h>
#import <TCC/OS_tcc_authorization_record.h>
#import <TCC/OS_tcc_credential.h>
#import <TCC/OS_tcc_credential.h>
#import <TCC/OS_tcc_events_filter.h>
#import <TCC/OS_tcc_events_filter.h>
#import <TCC/OS_tcc_events_subscription.h>
#import <TCC/OS_tcc_events_subscription.h>
#import <TCC/OS_tcc_identity.h>
#import <TCC/OS_tcc_identity.h>
#import <TCC/OS_tcc_message_options.h>
#import <TCC/OS_tcc_message_options.h>
#import <TCC/OS_tcc_object.h>
#import <TCC/OS_tcc_object.h>
#import <TCC/OS_tcc_server.h>
#import <TCC/OS_tcc_server.h>
#import <TCC/OS_tcc_service.h>
#import <TCC/OS_tcc_service.h>
void *TCCAccessCheckAuditToken(void);
void *TCCAccessCopyBundleIdentifiersDisabledForService(void);
void *TCCAccessCopyBundleIdentifiersForService(void);
void *TCCAccessCopyInformation(void);
void *TCCAccessCopyInformationForBundle(void);
void *TCCAccessCopyInformationForBundleId(void);
void *TCCAccessCopyOverrides(void);
void *TCCAccessDeclarePolicy(void);
void *TCCAccessGetOverride(void);
void *TCCAccessGetOverrides(void);
void *TCCAccessOverride(void);
void *TCCAccessPreflight(void);
void *TCCAccessPreflightWithAuditToken(void);
void *TCCAccessRequest(void);
void *TCCAccessRequestIndirect(void);
void *TCCAccessRequestIndirectWithOptions(void);
void *TCCAccessReset(void);
void *TCCAccessResetForBundle(void);
void *TCCAccessResetForBundleId(void);
void *TCCAccessResetForBundleIdWithAuditToken(void);
void *TCCAccessResetForPath(void);
void *TCCAccessResetPoliciesExcept(void);
void *TCCAccessRestricted(void);
void *TCCAccessSelectPolicyForExtensionWithIdentifier(void);
void *TCCAccessSet(void);
void *TCCAccessSetForAuditToken(void);
void *TCCAccessSetForAuditTokenWithOptions(void);
void *TCCAccessSetForBundle(void);
void *TCCAccessSetForBundleId(void);
void *TCCAccessSetForBundleIdAndCodeRequirement(void);
void *TCCAccessSetForBundleIdWithOptions(void);
void *TCCAccessSetForCodeIdentity(void);
void *TCCAccessSetForIndirectObject(void);
void *TCCAccessSetForPath(void);
void *TCCAccessSetForPathWithOptions(void);
void *TCCAccessSetOverride(void);
void *TCCAccessSetPidResponsibleForPid(void);
void *TCCAuthCopyDescription(void);
void *TCCAuthGetReasonDescription(void);
void *TCCCreateDesignatedRequirementIdentityFromAuditToken(void);
void *TCCCreateDesignatedRequirementIdentityFromAuditTokenForService(void);
void *TCCCreateDesignatedRequirementIdentityFromPath(void);
void *TCCCreateIndirectObjectIdentityForFileProviderDomainFromPath(void);
void *TCCCreateIndirectObjectIdentityFromAuditToken(void);
void *TCCCreateIndirectObjectIdentityFromFileProviderDomainID(void);
void *TCCExpirationCopyInformationForService(void);
void *TCCExpirationResetService(void);
void *TCCExpirationResetServiceForBundleIdentifier(void);
void *TCCExpirationResetServiceForPath(void);
void *TCCServiceCopyDescriptions(void);
void *TCCServiceCopyNames(void);
void *TCCTestInternal(void);
void *TCCTestInternalWithReplyHander(void);
void *TCCTestInternalWithReplyHander4(void);
void *_tcc_util_create_CFError_with_user_info(void);
void *tcc_attributed_entity_create(void);
void *tcc_attributed_entity_get_path(void);
void *tcc_attributed_entity_get_type(void);
void *tcc_authorization_cache_copy_authorization(void);
void *tcc_authorization_cache_create(void);
void *tcc_authorization_cache_handle_authorization_changed_for_service(void);
void *tcc_authorization_cache_set_authorization(void);
void *tcc_authorization_cache_shared_instance(void);
void *tcc_authorization_change_monitor_create(void);
void *tcc_authorization_change_monitor_start_monitoring_service(void);
void *tcc_authorization_changed_for_service_notification_name(void);
void *tcc_authorization_check_audit_token(void);
void *tcc_authorization_preflight(void);
void *tcc_authorization_preflight_with_endpoint(void);
void *tcc_authorization_record_create(void);
void *tcc_authorization_record_get_allow_standard_user_to_set_system_service(void);
void *tcc_authorization_record_get_authorization_reason(void);
void *tcc_authorization_record_get_authorization_right(void);
void *tcc_authorization_record_get_authorization_value(void);
void *tcc_authorization_record_get_expired_at_date(void);
void *tcc_authorization_record_get_indirect_object_attributed_entity(void);
void *tcc_authorization_record_get_indirect_object_identity(void);
void *tcc_authorization_record_get_last_modified_date(void);
void *tcc_authorization_record_get_service(void);
void *tcc_authorization_record_get_subject_attributed_entity(void);
void *tcc_authorization_record_get_subject_identity(void);
void *tcc_authorization_record_get_version(void);
void *tcc_authorization_record_set_allow_standard_user_to_set_system_service(void);
void *tcc_authorization_record_set_authorization_reason(void);
void *tcc_authorization_record_set_authorization_right(void);
void *tcc_authorization_record_set_authorization_value(void);
void *tcc_authorization_record_set_expired_at_date(void);
void *tcc_authorization_record_set_indirect_object_attributed_entity(void);
void *tcc_authorization_record_set_indirect_object_identity(void);
void *tcc_authorization_record_set_last_modified_date(void);
void *tcc_authorization_record_set_service(void);
void *tcc_authorization_record_set_subject_attributed_entity(void);
void *tcc_authorization_record_set_subject_identity(void);
void *tcc_authorization_record_set_version(void);
void *tcc_authorization_request(void);
void *tcc_authorization_request_with_endpoint(void);
void *tcc_credential_create_data_from_process_with_audit_token(void);
void *tcc_credential_create_for_file_provider_domain_identifier(void);
void *tcc_credential_create_for_process_with_audit_token(void);
void *tcc_credential_create_for_process_with_audit_token_and_assumed_identity(void);
void *tcc_credential_create_for_self_with_assumed_identity(void);
void *tcc_credential_singleton_for_self(void);
void *tcc_events_filter_create_with_criteria(void);
void *tcc_events_filter_singleton_for_check_in(void);
void *tcc_events_subscribe(void);
void *tcc_events_unsubscribe(void);
void *tcc_identity_copy_external_representation(void);
void *tcc_identity_create(void);
void *tcc_identity_create_from_external_representation(void);
void *tcc_identity_get_identifier(void);
void *tcc_identity_get_type(void);
void *tcc_identity_get_verifier_code_requirement_string(void);
void *tcc_identity_get_verifier_type(void);
void *tcc_identity_set_verifier_code_requirement_data(void);
void *tcc_identity_set_verifier_code_requirement_string(void);
void *tcc_identity_type_and_identifiers_are_equal(void);
void *tcc_message_options_create(void);
void *tcc_message_options_get_cache_policy(void);
void *tcc_message_options_get_reply_handler_policy(void);
void *tcc_message_options_get_request_prompt_policy(void);
void *tcc_message_options_get_request_prompt_rights_mask(void);
void *tcc_message_options_get_request_record_upgrade_policy(void);
void *tcc_message_options_get_request_usage_string_policy(void);
void *tcc_message_options_set_cache_policy(void);
void *tcc_message_options_set_reply_handler_policy(void);
void *tcc_message_options_set_request_prompt_policy(void);
void *tcc_message_options_set_request_prompt_rights_mask(void);
void *tcc_message_options_set_request_record_upgrade_policy(void);
void *tcc_message_options_set_request_usage_string_policy(void);
void *tcc_object_copy_description(void);
void *tcc_object_equal(void);
void *tcc_object_hash(void);
void *tcc_release(void);
void *tcc_release_internal(void);
void *tcc_retain(void);
void *tcc_retain_internal(void);
void *tcc_server_cache_authorization(void);
void *tcc_server_copy_cached_authorization(void);
void *tcc_server_create(void);
void *tcc_server_create_with_endpoint(void);
void *tcc_server_get_reply_handler_queue(void);
void *tcc_server_message_get_authorization_records_by_identity(void);
void *tcc_server_message_get_authorization_records_by_service(void);
void *tcc_server_message_get_identity_for_credential(void);
void *tcc_server_message_request_authorization(void);
void *tcc_server_message_set_authorization_change_policy(void);
void *tcc_server_message_set_authorization_value(void);
void *tcc_server_set_authorization_change_handler(void);
void *tcc_server_singleton_default(void);
void *tcc_service_get_CF_name(void);
void *tcc_service_get_authorization_prompt_rights_mask(void);
void *tcc_service_get_authorization_rights_mask(void);
void *tcc_service_get_authorization_value_type(void);
void *tcc_service_get_is_system_service(void);
void *tcc_service_get_name(void);
void *tcc_service_singleton_for_CF_name(void);
void *tcc_service_singleton_for_name(void);
extern void* kTCCAccessCheckOptionPrompt;
extern void* kTCCAccessCheckOptionPurposeRequired;
extern void* kTCCAccessFlags;
extern void* kTCCAccessRequestOptionPurpose;
extern void* kTCCCodeIdentityAuditToken;
extern void* kTCCCodeIdentityAuthority;
extern void* kTCCCodeIdentityBundleID;
extern void* kTCCCodeIdentityCSFlags;
extern void* kTCCCodeIdentityCanSendToAnyTarget;
extern void* kTCCCodeIdentityDesignatedRequirementAuthority;
extern void* kTCCCodeIdentityDesignatedRequirementData;
extern void* kTCCCodeIdentityDevIDAuthority;
extern void* kTCCCodeIdentityEntitlementName;
extern void* kTCCCodeIdentityExecutableURL;
extern void* kTCCCodeIdentityIdentifier;
extern void* kTCCCodeIdentityIdentifierType;
extern void* kTCCCodeIdentityPlatformType;
extern void* kTCCCodeIdentityPromptPolicy;
extern void* kTCCCodeIdentityRequestingProcessAuditToken;
extern void* kTCCCodeIdentitySDKVersion;
extern void* kTCCCodeIdentitySigningID;
extern void* kTCCCodeIdentityTeamID;
extern void* const kTCCErrorDomain;
extern void* kTCCIndirectObjectAuditToken;
extern void* kTCCIndirectObjectFileProviderDomainID;
extern void* kTCCIndirectObjectType;
extern void* kTCCInfoAllowStandardUserToSetSystemService;
extern void* kTCCInfoBundle;
extern void* kTCCInfoCodeRequirement;
extern void* kTCCInfoExpiredAt;
extern void* kTCCInfoGranted;
extern void* kTCCInfoIndirectObjectIdentityDictionary;
extern void* kTCCInfoLastModified;
extern void* kTCCInfoLastUsed;
extern void* kTCCInfoPath;
extern void* kTCCInfoService;
extern void* kTCCInfoSubjectIdentityDictionary;
extern void* const kTCCObjectDictionaryKeyCallBacks;
extern void* const kTCCObjectDictionaryValueCallBacks;
extern void* kTCCServiceAccessibility;
extern void* kTCCServiceAddressBook;
extern void* kTCCServiceAll;
extern void* kTCCServiceAppleEvents;
extern void* kTCCServiceBluetoothAlways;
extern void* kTCCServiceCalendar;
extern void* kTCCServiceCamera;
extern void* kTCCServiceContactsFull;
extern void* kTCCServiceContactsLimited;
extern void* kTCCServiceDeveloperTool;
extern void* kTCCServiceEndpointSecurityClient;
extern void* kTCCServiceFacebook;
extern void* kTCCServiceFileProviderDomain;
extern void* kTCCServiceFileProviderPresence;
extern void* kTCCServiceFocusStatus;
extern void* kTCCServiceGameCenterFriends;
extern void* kTCCServiceLinkedIn;
extern void* kTCCServiceListenEvent;
extern void* kTCCServiceLiverpool;
extern void* kTCCServiceLocation;
extern void* kTCCServiceMediaLibrary;
extern void* kTCCServiceMicrophone;
extern void* kTCCServiceMotion;
extern void* kTCCServicePhotos;
extern void* kTCCServicePhotosAdd;
extern void* kTCCServicePostEvent;
extern void* kTCCServicePrototype3Rights;
extern void* kTCCServicePrototype4Rights;
extern void* kTCCServiceReminders;
extern void* kTCCServiceScreenCapture;
extern void* kTCCServiceShareKit;
extern void* kTCCServiceSinaWeibo;
extern void* kTCCServiceSiri;
extern void* kTCCServiceSpeechRecognition;
extern void* kTCCServiceSystemPolicyAllFiles;
extern void* kTCCServiceSystemPolicyAppBundles;
extern void* kTCCServiceSystemPolicyDesktopFolder;
extern void* kTCCServiceSystemPolicyDeveloperFiles;
extern void* kTCCServiceSystemPolicyDocumentsFolder;
extern void* kTCCServiceSystemPolicyDownloadsFolder;
extern void* kTCCServiceSystemPolicyNetworkVolumes;
extern void* kTCCServiceSystemPolicyRemovableVolumes;
extern void* kTCCServiceSystemPolicySysAdminFiles;
extern void* kTCCServiceTencentWeibo;
extern void* kTCCServiceTwitter;
extern void* kTCCServiceUbiquity;
extern void* kTCCServiceUserAvailability;
extern void* kTCCServiceUserTracking;
extern void* kTCCServiceWebBrowserPublicKeyCredential;
extern void* kTCCServiceWebKitIntelligentTrackingPrevention;
extern void* kTCCServiceWillow;
extern void* kTCCSetNoKill;
#endif

View File

@ -0,0 +1,19 @@
/*
This file is part of Darling.
Copyright (C) 2023 Darling Team
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

View File

@ -0,0 +1,19 @@
/*
This file is part of Darling.
Copyright (C) 2023 Darling Team
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

View File

@ -0,0 +1,19 @@
/*
This file is part of Darling.
Copyright (C) 2023 Darling Team
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

View File

@ -0,0 +1,19 @@
/*
This file is part of Darling.
Copyright (C) 2023 Darling Team
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

View File

@ -0,0 +1,19 @@
/*
This file is part of Darling.
Copyright (C) 2023 Darling Team
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

View File

@ -0,0 +1,19 @@
/*
This file is part of Darling.
Copyright (C) 2023 Darling Team
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

View File

@ -0,0 +1,19 @@
/*
This file is part of Darling.
Copyright (C) 2023 Darling Team
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

View File

@ -0,0 +1,19 @@
/*
This file is part of Darling.
Copyright (C) 2023 Darling Team
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

View File

@ -0,0 +1,19 @@
/*
This file is part of Darling.
Copyright (C) 2023 Darling Team
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

View File

@ -0,0 +1,19 @@
/*
This file is part of Darling.
Copyright (C) 2023 Darling Team
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

View File

@ -0,0 +1,19 @@
/*
This file is part of Darling.
Copyright (C) 2023 Darling Team
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

View File

@ -0,0 +1,19 @@
/*
This file is part of Darling.
Copyright (C) 2023 Darling Team
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/

View File

@ -0,0 +1,908 @@
/*
This file is part of Darling.
Copyright (C) 2023 Darling Team
Darling is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Darling is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Darling. If not, see <http://www.gnu.org/licenses/>.
*/
#include <TCC/TCC.h>
#include <stdlib.h>
#include <stdio.h>
static int verbose = 0;
__attribute__((constructor))
static void initme(void) {
verbose = getenv("STUB_VERBOSE") != NULL;
}
extern void* kTCCAccessCheckOptionPrompt = (void*)0;
extern void* kTCCAccessCheckOptionPurposeRequired = (void*)0;
extern void* kTCCAccessFlags = (void*)0;
extern void* kTCCAccessRequestOptionPurpose = (void*)0;
extern void* kTCCCodeIdentityAuditToken = (void*)0;
extern void* kTCCCodeIdentityAuthority = (void*)0;
extern void* kTCCCodeIdentityBundleID = (void*)0;
extern void* kTCCCodeIdentityCSFlags = (void*)0;
extern void* kTCCCodeIdentityCanSendToAnyTarget = (void*)0;
extern void* kTCCCodeIdentityDesignatedRequirementAuthority = (void*)0;
extern void* kTCCCodeIdentityDesignatedRequirementData = (void*)0;
extern void* kTCCCodeIdentityDevIDAuthority = (void*)0;
extern void* kTCCCodeIdentityEntitlementName = (void*)0;
extern void* kTCCCodeIdentityExecutableURL = (void*)0;
extern void* kTCCCodeIdentityIdentifier = (void*)0;
extern void* kTCCCodeIdentityIdentifierType = (void*)0;
extern void* kTCCCodeIdentityPlatformType = (void*)0;
extern void* kTCCCodeIdentityPromptPolicy = (void*)0;
extern void* kTCCCodeIdentityRequestingProcessAuditToken = (void*)0;
extern void* kTCCCodeIdentitySDKVersion = (void*)0;
extern void* kTCCCodeIdentitySigningID = (void*)0;
extern void* kTCCCodeIdentityTeamID = (void*)0;
extern void* const kTCCErrorDomain = (void*)0;
extern void* kTCCIndirectObjectAuditToken = (void*)0;
extern void* kTCCIndirectObjectFileProviderDomainID = (void*)0;
extern void* kTCCIndirectObjectType = (void*)0;
extern void* kTCCInfoAllowStandardUserToSetSystemService = (void*)0;
extern void* kTCCInfoBundle = (void*)0;
extern void* kTCCInfoCodeRequirement = (void*)0;
extern void* kTCCInfoExpiredAt = (void*)0;
extern void* kTCCInfoGranted = (void*)0;
extern void* kTCCInfoIndirectObjectIdentityDictionary = (void*)0;
extern void* kTCCInfoLastModified = (void*)0;
extern void* kTCCInfoLastUsed = (void*)0;
extern void* kTCCInfoPath = (void*)0;
extern void* kTCCInfoService = (void*)0;
extern void* kTCCInfoSubjectIdentityDictionary = (void*)0;
extern void* const kTCCObjectDictionaryKeyCallBacks = (void*)0;
extern void* const kTCCObjectDictionaryValueCallBacks = (void*)0;
extern void* kTCCServiceAccessibility = (void*)0;
extern void* kTCCServiceAddressBook = (void*)0;
extern void* kTCCServiceAll = (void*)0;
extern void* kTCCServiceAppleEvents = (void*)0;
extern void* kTCCServiceBluetoothAlways = (void*)0;
extern void* kTCCServiceCalendar = (void*)0;
extern void* kTCCServiceCamera = (void*)0;
extern void* kTCCServiceContactsFull = (void*)0;
extern void* kTCCServiceContactsLimited = (void*)0;
extern void* kTCCServiceDeveloperTool = (void*)0;
extern void* kTCCServiceEndpointSecurityClient = (void*)0;
extern void* kTCCServiceFacebook = (void*)0;
extern void* kTCCServiceFileProviderDomain = (void*)0;
extern void* kTCCServiceFileProviderPresence = (void*)0;
extern void* kTCCServiceFocusStatus = (void*)0;
extern void* kTCCServiceGameCenterFriends = (void*)0;
extern void* kTCCServiceLinkedIn = (void*)0;
extern void* kTCCServiceListenEvent = (void*)0;
extern void* kTCCServiceLiverpool = (void*)0;
extern void* kTCCServiceLocation = (void*)0;
extern void* kTCCServiceMediaLibrary = (void*)0;
extern void* kTCCServiceMicrophone = (void*)0;
extern void* kTCCServiceMotion = (void*)0;
extern void* kTCCServicePhotos = (void*)0;
extern void* kTCCServicePhotosAdd = (void*)0;
extern void* kTCCServicePostEvent = (void*)0;
extern void* kTCCServicePrototype3Rights = (void*)0;
extern void* kTCCServicePrototype4Rights = (void*)0;
extern void* kTCCServiceReminders = (void*)0;
extern void* kTCCServiceScreenCapture = (void*)0;
extern void* kTCCServiceShareKit = (void*)0;
extern void* kTCCServiceSinaWeibo = (void*)0;
extern void* kTCCServiceSiri = (void*)0;
extern void* kTCCServiceSpeechRecognition = (void*)0;
extern void* kTCCServiceSystemPolicyAllFiles = (void*)0;
extern void* kTCCServiceSystemPolicyAppBundles = (void*)0;
extern void* kTCCServiceSystemPolicyDesktopFolder = (void*)0;
extern void* kTCCServiceSystemPolicyDeveloperFiles = (void*)0;
extern void* kTCCServiceSystemPolicyDocumentsFolder = (void*)0;
extern void* kTCCServiceSystemPolicyDownloadsFolder = (void*)0;
extern void* kTCCServiceSystemPolicyNetworkVolumes = (void*)0;
extern void* kTCCServiceSystemPolicyRemovableVolumes = (void*)0;
extern void* kTCCServiceSystemPolicySysAdminFiles = (void*)0;
extern void* kTCCServiceTencentWeibo = (void*)0;
extern void* kTCCServiceTwitter = (void*)0;
extern void* kTCCServiceUbiquity = (void*)0;
extern void* kTCCServiceUserAvailability = (void*)0;
extern void* kTCCServiceUserTracking = (void*)0;
extern void* kTCCServiceWebBrowserPublicKeyCredential = (void*)0;
extern void* kTCCServiceWebKitIntelligentTrackingPrevention = (void*)0;
extern void* kTCCServiceWillow = (void*)0;
extern void* kTCCSetNoKill = (void*)0;
void *TCCAccessCheckAuditToken(void) {
if (verbose) puts("STUB: TCCAccessCheckAuditToken called");
return NULL;
}
void *TCCAccessCopyBundleIdentifiersDisabledForService(void) {
if (verbose) puts("STUB: TCCAccessCopyBundleIdentifiersDisabledForService called");
return NULL;
}
void *TCCAccessCopyBundleIdentifiersForService(void) {
if (verbose) puts("STUB: TCCAccessCopyBundleIdentifiersForService called");
return NULL;
}
void *TCCAccessCopyInformation(void) {
if (verbose) puts("STUB: TCCAccessCopyInformation called");
return NULL;
}
void *TCCAccessCopyInformationForBundle(void) {
if (verbose) puts("STUB: TCCAccessCopyInformationForBundle called");
return NULL;
}
void *TCCAccessCopyInformationForBundleId(void) {
if (verbose) puts("STUB: TCCAccessCopyInformationForBundleId called");
return NULL;
}
void *TCCAccessCopyOverrides(void) {
if (verbose) puts("STUB: TCCAccessCopyOverrides called");
return NULL;
}
void *TCCAccessDeclarePolicy(void) {
if (verbose) puts("STUB: TCCAccessDeclarePolicy called");
return NULL;
}
void *TCCAccessGetOverride(void) {
if (verbose) puts("STUB: TCCAccessGetOverride called");
return NULL;
}
void *TCCAccessGetOverrides(void) {
if (verbose) puts("STUB: TCCAccessGetOverrides called");
return NULL;
}
void *TCCAccessOverride(void) {
if (verbose) puts("STUB: TCCAccessOverride called");
return NULL;
}
void *TCCAccessPreflight(void) {
if (verbose) puts("STUB: TCCAccessPreflight called");
return NULL;
}
void *TCCAccessPreflightWithAuditToken(void) {
if (verbose) puts("STUB: TCCAccessPreflightWithAuditToken called");
return NULL;
}
void *TCCAccessRequest(void) {
if (verbose) puts("STUB: TCCAccessRequest called");
return NULL;
}
void *TCCAccessRequestIndirect(void) {
if (verbose) puts("STUB: TCCAccessRequestIndirect called");
return NULL;
}
void *TCCAccessRequestIndirectWithOptions(void) {
if (verbose) puts("STUB: TCCAccessRequestIndirectWithOptions called");
return NULL;
}
void *TCCAccessReset(void) {
if (verbose) puts("STUB: TCCAccessReset called");
return NULL;
}
void *TCCAccessResetForBundle(void) {
if (verbose) puts("STUB: TCCAccessResetForBundle called");
return NULL;
}
void *TCCAccessResetForBundleId(void) {
if (verbose) puts("STUB: TCCAccessResetForBundleId called");
return NULL;
}
void *TCCAccessResetForBundleIdWithAuditToken(void) {
if (verbose) puts("STUB: TCCAccessResetForBundleIdWithAuditToken called");
return NULL;
}
void *TCCAccessResetForPath(void) {
if (verbose) puts("STUB: TCCAccessResetForPath called");
return NULL;
}
void *TCCAccessResetPoliciesExcept(void) {
if (verbose) puts("STUB: TCCAccessResetPoliciesExcept called");
return NULL;
}
void *TCCAccessRestricted(void) {
if (verbose) puts("STUB: TCCAccessRestricted called");
return NULL;
}
void *TCCAccessSelectPolicyForExtensionWithIdentifier(void) {
if (verbose) puts("STUB: TCCAccessSelectPolicyForExtensionWithIdentifier called");
return NULL;
}
void *TCCAccessSet(void) {
if (verbose) puts("STUB: TCCAccessSet called");
return NULL;
}
void *TCCAccessSetForAuditToken(void) {
if (verbose) puts("STUB: TCCAccessSetForAuditToken called");
return NULL;
}
void *TCCAccessSetForAuditTokenWithOptions(void) {
if (verbose) puts("STUB: TCCAccessSetForAuditTokenWithOptions called");
return NULL;
}
void *TCCAccessSetForBundle(void) {
if (verbose) puts("STUB: TCCAccessSetForBundle called");
return NULL;
}
void *TCCAccessSetForBundleId(void) {
if (verbose) puts("STUB: TCCAccessSetForBundleId called");
return NULL;
}
void *TCCAccessSetForBundleIdAndCodeRequirement(void) {
if (verbose) puts("STUB: TCCAccessSetForBundleIdAndCodeRequirement called");
return NULL;
}
void *TCCAccessSetForBundleIdWithOptions(void) {
if (verbose) puts("STUB: TCCAccessSetForBundleIdWithOptions called");
return NULL;
}
void *TCCAccessSetForCodeIdentity(void) {
if (verbose) puts("STUB: TCCAccessSetForCodeIdentity called");
return NULL;
}
void *TCCAccessSetForIndirectObject(void) {
if (verbose) puts("STUB: TCCAccessSetForIndirectObject called");
return NULL;
}
void *TCCAccessSetForPath(void) {
if (verbose) puts("STUB: TCCAccessSetForPath called");
return NULL;
}
void *TCCAccessSetForPathWithOptions(void) {
if (verbose) puts("STUB: TCCAccessSetForPathWithOptions called");
return NULL;
}
void *TCCAccessSetOverride(void) {
if (verbose) puts("STUB: TCCAccessSetOverride called");
return NULL;
}
void *TCCAccessSetPidResponsibleForPid(void) {
if (verbose) puts("STUB: TCCAccessSetPidResponsibleForPid called");
return NULL;
}
void *TCCAuthCopyDescription(void) {
if (verbose) puts("STUB: TCCAuthCopyDescription called");
return NULL;
}
void *TCCAuthGetReasonDescription(void) {
if (verbose) puts("STUB: TCCAuthGetReasonDescription called");
return NULL;
}
void *TCCCreateDesignatedRequirementIdentityFromAuditToken(void) {
if (verbose) puts("STUB: TCCCreateDesignatedRequirementIdentityFromAuditToken called");
return NULL;
}
void *TCCCreateDesignatedRequirementIdentityFromAuditTokenForService(void) {
if (verbose) puts("STUB: TCCCreateDesignatedRequirementIdentityFromAuditTokenForService called");
return NULL;
}
void *TCCCreateDesignatedRequirementIdentityFromPath(void) {
if (verbose) puts("STUB: TCCCreateDesignatedRequirementIdentityFromPath called");
return NULL;
}
void *TCCCreateIndirectObjectIdentityForFileProviderDomainFromPath(void) {
if (verbose) puts("STUB: TCCCreateIndirectObjectIdentityForFileProviderDomainFromPath called");
return NULL;
}
void *TCCCreateIndirectObjectIdentityFromAuditToken(void) {
if (verbose) puts("STUB: TCCCreateIndirectObjectIdentityFromAuditToken called");
return NULL;
}
void *TCCCreateIndirectObjectIdentityFromFileProviderDomainID(void) {
if (verbose) puts("STUB: TCCCreateIndirectObjectIdentityFromFileProviderDomainID called");
return NULL;
}
void *TCCExpirationCopyInformationForService(void) {
if (verbose) puts("STUB: TCCExpirationCopyInformationForService called");
return NULL;
}
void *TCCExpirationResetService(void) {
if (verbose) puts("STUB: TCCExpirationResetService called");
return NULL;
}
void *TCCExpirationResetServiceForBundleIdentifier(void) {
if (verbose) puts("STUB: TCCExpirationResetServiceForBundleIdentifier called");
return NULL;
}
void *TCCExpirationResetServiceForPath(void) {
if (verbose) puts("STUB: TCCExpirationResetServiceForPath called");
return NULL;
}
void *TCCServiceCopyDescriptions(void) {
if (verbose) puts("STUB: TCCServiceCopyDescriptions called");
return NULL;
}
void *TCCServiceCopyNames(void) {
if (verbose) puts("STUB: TCCServiceCopyNames called");
return NULL;
}
void *TCCTestInternal(void) {
if (verbose) puts("STUB: TCCTestInternal called");
return NULL;
}
void *TCCTestInternalWithReplyHander(void) {
if (verbose) puts("STUB: TCCTestInternalWithReplyHander called");
return NULL;
}
void *TCCTestInternalWithReplyHander4(void) {
if (verbose) puts("STUB: TCCTestInternalWithReplyHander4 called");
return NULL;
}
void *_tcc_util_create_CFError_with_user_info(void) {
if (verbose) puts("STUB: _tcc_util_create_CFError_with_user_info called");
return NULL;
}
void *tcc_attributed_entity_create(void) {
if (verbose) puts("STUB: tcc_attributed_entity_create called");
return NULL;
}
void *tcc_attributed_entity_get_path(void) {
if (verbose) puts("STUB: tcc_attributed_entity_get_path called");
return NULL;
}
void *tcc_attributed_entity_get_type(void) {
if (verbose) puts("STUB: tcc_attributed_entity_get_type called");
return NULL;
}
void *tcc_authorization_cache_copy_authorization(void) {
if (verbose) puts("STUB: tcc_authorization_cache_copy_authorization called");
return NULL;
}
void *tcc_authorization_cache_create(void) {
if (verbose) puts("STUB: tcc_authorization_cache_create called");
return NULL;
}
void *tcc_authorization_cache_handle_authorization_changed_for_service(void) {
if (verbose) puts("STUB: tcc_authorization_cache_handle_authorization_changed_for_service called");
return NULL;
}
void *tcc_authorization_cache_set_authorization(void) {
if (verbose) puts("STUB: tcc_authorization_cache_set_authorization called");
return NULL;
}
void *tcc_authorization_cache_shared_instance(void) {
if (verbose) puts("STUB: tcc_authorization_cache_shared_instance called");
return NULL;
}
void *tcc_authorization_change_monitor_create(void) {
if (verbose) puts("STUB: tcc_authorization_change_monitor_create called");
return NULL;
}
void *tcc_authorization_change_monitor_start_monitoring_service(void) {
if (verbose) puts("STUB: tcc_authorization_change_monitor_start_monitoring_service called");
return NULL;
}
void *tcc_authorization_changed_for_service_notification_name(void) {
if (verbose) puts("STUB: tcc_authorization_changed_for_service_notification_name called");
return NULL;
}
void *tcc_authorization_check_audit_token(void) {
if (verbose) puts("STUB: tcc_authorization_check_audit_token called");
return NULL;
}
void *tcc_authorization_preflight(void) {
if (verbose) puts("STUB: tcc_authorization_preflight called");
return NULL;
}
void *tcc_authorization_preflight_with_endpoint(void) {
if (verbose) puts("STUB: tcc_authorization_preflight_with_endpoint called");
return NULL;
}
void *tcc_authorization_record_create(void) {
if (verbose) puts("STUB: tcc_authorization_record_create called");
return NULL;
}
void *tcc_authorization_record_get_allow_standard_user_to_set_system_service(void) {
if (verbose) puts("STUB: tcc_authorization_record_get_allow_standard_user_to_set_system_service called");
return NULL;
}
void *tcc_authorization_record_get_authorization_reason(void) {
if (verbose) puts("STUB: tcc_authorization_record_get_authorization_reason called");
return NULL;
}
void *tcc_authorization_record_get_authorization_right(void) {
if (verbose) puts("STUB: tcc_authorization_record_get_authorization_right called");
return NULL;
}
void *tcc_authorization_record_get_authorization_value(void) {
if (verbose) puts("STUB: tcc_authorization_record_get_authorization_value called");
return NULL;
}
void *tcc_authorization_record_get_expired_at_date(void) {
if (verbose) puts("STUB: tcc_authorization_record_get_expired_at_date called");
return NULL;
}
void *tcc_authorization_record_get_indirect_object_attributed_entity(void) {
if (verbose) puts("STUB: tcc_authorization_record_get_indirect_object_attributed_entity called");
return NULL;
}
void *tcc_authorization_record_get_indirect_object_identity(void) {
if (verbose) puts("STUB: tcc_authorization_record_get_indirect_object_identity called");
return NULL;
}
void *tcc_authorization_record_get_last_modified_date(void) {
if (verbose) puts("STUB: tcc_authorization_record_get_last_modified_date called");
return NULL;
}
void *tcc_authorization_record_get_service(void) {
if (verbose) puts("STUB: tcc_authorization_record_get_service called");
return NULL;
}
void *tcc_authorization_record_get_subject_attributed_entity(void) {
if (verbose) puts("STUB: tcc_authorization_record_get_subject_attributed_entity called");
return NULL;
}
void *tcc_authorization_record_get_subject_identity(void) {
if (verbose) puts("STUB: tcc_authorization_record_get_subject_identity called");
return NULL;
}
void *tcc_authorization_record_get_version(void) {
if (verbose) puts("STUB: tcc_authorization_record_get_version called");
return NULL;
}
void *tcc_authorization_record_set_allow_standard_user_to_set_system_service(void) {
if (verbose) puts("STUB: tcc_authorization_record_set_allow_standard_user_to_set_system_service called");
return NULL;
}
void *tcc_authorization_record_set_authorization_reason(void) {
if (verbose) puts("STUB: tcc_authorization_record_set_authorization_reason called");
return NULL;
}
void *tcc_authorization_record_set_authorization_right(void) {
if (verbose) puts("STUB: tcc_authorization_record_set_authorization_right called");
return NULL;
}
void *tcc_authorization_record_set_authorization_value(void) {
if (verbose) puts("STUB: tcc_authorization_record_set_authorization_value called");
return NULL;
}
void *tcc_authorization_record_set_expired_at_date(void) {
if (verbose) puts("STUB: tcc_authorization_record_set_expired_at_date called");
return NULL;
}
void *tcc_authorization_record_set_indirect_object_attributed_entity(void) {
if (verbose) puts("STUB: tcc_authorization_record_set_indirect_object_attributed_entity called");
return NULL;
}
void *tcc_authorization_record_set_indirect_object_identity(void) {
if (verbose) puts("STUB: tcc_authorization_record_set_indirect_object_identity called");
return NULL;
}
void *tcc_authorization_record_set_last_modified_date(void) {
if (verbose) puts("STUB: tcc_authorization_record_set_last_modified_date called");
return NULL;
}
void *tcc_authorization_record_set_service(void) {
if (verbose) puts("STUB: tcc_authorization_record_set_service called");
return NULL;
}
void *tcc_authorization_record_set_subject_attributed_entity(void) {
if (verbose) puts("STUB: tcc_authorization_record_set_subject_attributed_entity called");
return NULL;
}
void *tcc_authorization_record_set_subject_identity(void) {
if (verbose) puts("STUB: tcc_authorization_record_set_subject_identity called");
return NULL;
}
void *tcc_authorization_record_set_version(void) {
if (verbose) puts("STUB: tcc_authorization_record_set_version called");
return NULL;
}
void *tcc_authorization_request(void) {
if (verbose) puts("STUB: tcc_authorization_request called");
return NULL;
}
void *tcc_authorization_request_with_endpoint(void) {
if (verbose) puts("STUB: tcc_authorization_request_with_endpoint called");
return NULL;
}
void *tcc_credential_create_data_from_process_with_audit_token(void) {
if (verbose) puts("STUB: tcc_credential_create_data_from_process_with_audit_token called");
return NULL;
}
void *tcc_credential_create_for_file_provider_domain_identifier(void) {
if (verbose) puts("STUB: tcc_credential_create_for_file_provider_domain_identifier called");
return NULL;
}
void *tcc_credential_create_for_process_with_audit_token(void) {
if (verbose) puts("STUB: tcc_credential_create_for_process_with_audit_token called");
return NULL;
}
void *tcc_credential_create_for_process_with_audit_token_and_assumed_identity(void) {
if (verbose) puts("STUB: tcc_credential_create_for_process_with_audit_token_and_assumed_identity called");
return NULL;
}
void *tcc_credential_create_for_self_with_assumed_identity(void) {
if (verbose) puts("STUB: tcc_credential_create_for_self_with_assumed_identity called");
return NULL;
}
void *tcc_credential_singleton_for_self(void) {
if (verbose) puts("STUB: tcc_credential_singleton_for_self called");
return NULL;
}
void *tcc_events_filter_create_with_criteria(void) {
if (verbose) puts("STUB: tcc_events_filter_create_with_criteria called");
return NULL;
}
void *tcc_events_filter_singleton_for_check_in(void) {
if (verbose) puts("STUB: tcc_events_filter_singleton_for_check_in called");
return NULL;
}
void *tcc_events_subscribe(void) {
if (verbose) puts("STUB: tcc_events_subscribe called");
return NULL;
}
void *tcc_events_unsubscribe(void) {
if (verbose) puts("STUB: tcc_events_unsubscribe called");
return NULL;
}
void *tcc_identity_copy_external_representation(void) {
if (verbose) puts("STUB: tcc_identity_copy_external_representation called");
return NULL;
}
void *tcc_identity_create(void) {
if (verbose) puts("STUB: tcc_identity_create called");
return NULL;
}
void *tcc_identity_create_from_external_representation(void) {
if (verbose) puts("STUB: tcc_identity_create_from_external_representation called");
return NULL;
}
void *tcc_identity_get_identifier(void) {
if (verbose) puts("STUB: tcc_identity_get_identifier called");
return NULL;
}
void *tcc_identity_get_type(void) {
if (verbose) puts("STUB: tcc_identity_get_type called");
return NULL;
}
void *tcc_identity_get_verifier_code_requirement_string(void) {
if (verbose) puts("STUB: tcc_identity_get_verifier_code_requirement_string called");
return NULL;
}
void *tcc_identity_get_verifier_type(void) {
if (verbose) puts("STUB: tcc_identity_get_verifier_type called");
return NULL;
}
void *tcc_identity_set_verifier_code_requirement_data(void) {
if (verbose) puts("STUB: tcc_identity_set_verifier_code_requirement_data called");
return NULL;
}
void *tcc_identity_set_verifier_code_requirement_string(void) {
if (verbose) puts("STUB: tcc_identity_set_verifier_code_requirement_string called");
return NULL;
}
void *tcc_identity_type_and_identifiers_are_equal(void) {
if (verbose) puts("STUB: tcc_identity_type_and_identifiers_are_equal called");
return NULL;
}
void *tcc_message_options_create(void) {
if (verbose) puts("STUB: tcc_message_options_create called");
return NULL;
}
void *tcc_message_options_get_cache_policy(void) {
if (verbose) puts("STUB: tcc_message_options_get_cache_policy called");
return NULL;
}
void *tcc_message_options_get_reply_handler_policy(void) {
if (verbose) puts("STUB: tcc_message_options_get_reply_handler_policy called");
return NULL;
}
void *tcc_message_options_get_request_prompt_policy(void) {
if (verbose) puts("STUB: tcc_message_options_get_request_prompt_policy called");
return NULL;
}
void *tcc_message_options_get_request_prompt_rights_mask(void) {
if (verbose) puts("STUB: tcc_message_options_get_request_prompt_rights_mask called");
return NULL;
}
void *tcc_message_options_get_request_record_upgrade_policy(void) {
if (verbose) puts("STUB: tcc_message_options_get_request_record_upgrade_policy called");
return NULL;
}
void *tcc_message_options_get_request_usage_string_policy(void) {
if (verbose) puts("STUB: tcc_message_options_get_request_usage_string_policy called");
return NULL;
}
void *tcc_message_options_set_cache_policy(void) {
if (verbose) puts("STUB: tcc_message_options_set_cache_policy called");
return NULL;
}
void *tcc_message_options_set_reply_handler_policy(void) {
if (verbose) puts("STUB: tcc_message_options_set_reply_handler_policy called");
return NULL;
}
void *tcc_message_options_set_request_prompt_policy(void) {
if (verbose) puts("STUB: tcc_message_options_set_request_prompt_policy called");
return NULL;
}
void *tcc_message_options_set_request_prompt_rights_mask(void) {
if (verbose) puts("STUB: tcc_message_options_set_request_prompt_rights_mask called");
return NULL;
}
void *tcc_message_options_set_request_record_upgrade_policy(void) {
if (verbose) puts("STUB: tcc_message_options_set_request_record_upgrade_policy called");
return NULL;
}
void *tcc_message_options_set_request_usage_string_policy(void) {
if (verbose) puts("STUB: tcc_message_options_set_request_usage_string_policy called");
return NULL;
}
void *tcc_object_copy_description(void) {
if (verbose) puts("STUB: tcc_object_copy_description called");
return NULL;
}
void *tcc_object_equal(void) {
if (verbose) puts("STUB: tcc_object_equal called");
return NULL;
}
void *tcc_object_hash(void) {
if (verbose) puts("STUB: tcc_object_hash called");
return NULL;
}
void *tcc_release(void) {
if (verbose) puts("STUB: tcc_release called");
return NULL;
}
void *tcc_release_internal(void) {
if (verbose) puts("STUB: tcc_release_internal called");
return NULL;
}
void *tcc_retain(void) {
if (verbose) puts("STUB: tcc_retain called");
return NULL;
}
void *tcc_retain_internal(void) {
if (verbose) puts("STUB: tcc_retain_internal called");
return NULL;
}
void *tcc_server_cache_authorization(void) {
if (verbose) puts("STUB: tcc_server_cache_authorization called");
return NULL;
}
void *tcc_server_copy_cached_authorization(void) {
if (verbose) puts("STUB: tcc_server_copy_cached_authorization called");
return NULL;
}
void *tcc_server_create(void) {
if (verbose) puts("STUB: tcc_server_create called");
return NULL;
}
void *tcc_server_create_with_endpoint(void) {
if (verbose) puts("STUB: tcc_server_create_with_endpoint called");
return NULL;
}
void *tcc_server_get_reply_handler_queue(void) {
if (verbose) puts("STUB: tcc_server_get_reply_handler_queue called");
return NULL;
}
void *tcc_server_message_get_authorization_records_by_identity(void) {
if (verbose) puts("STUB: tcc_server_message_get_authorization_records_by_identity called");
return NULL;
}
void *tcc_server_message_get_authorization_records_by_service(void) {
if (verbose) puts("STUB: tcc_server_message_get_authorization_records_by_service called");
return NULL;
}
void *tcc_server_message_get_identity_for_credential(void) {
if (verbose) puts("STUB: tcc_server_message_get_identity_for_credential called");
return NULL;
}
void *tcc_server_message_request_authorization(void) {
if (verbose) puts("STUB: tcc_server_message_request_authorization called");
return NULL;
}
void *tcc_server_message_set_authorization_change_policy(void) {
if (verbose) puts("STUB: tcc_server_message_set_authorization_change_policy called");
return NULL;
}
void *tcc_server_message_set_authorization_value(void) {
if (verbose) puts("STUB: tcc_server_message_set_authorization_value called");
return NULL;
}
void *tcc_server_set_authorization_change_handler(void) {
if (verbose) puts("STUB: tcc_server_set_authorization_change_handler called");
return NULL;
}
void *tcc_server_singleton_default(void) {
if (verbose) puts("STUB: tcc_server_singleton_default called");
return NULL;
}
void *tcc_service_get_CF_name(void) {
if (verbose) puts("STUB: tcc_service_get_CF_name called");
return NULL;
}
void *tcc_service_get_authorization_prompt_rights_mask(void) {
if (verbose) puts("STUB: tcc_service_get_authorization_prompt_rights_mask called");
return NULL;
}
void *tcc_service_get_authorization_rights_mask(void) {
if (verbose) puts("STUB: tcc_service_get_authorization_rights_mask called");
return NULL;
}
void *tcc_service_get_authorization_value_type(void) {
if (verbose) puts("STUB: tcc_service_get_authorization_value_type called");
return NULL;
}
void *tcc_service_get_is_system_service(void) {
if (verbose) puts("STUB: tcc_service_get_is_system_service called");
return NULL;
}
void *tcc_service_get_name(void) {
if (verbose) puts("STUB: tcc_service_get_name called");
return NULL;
}
void *tcc_service_singleton_for_CF_name(void) {
if (verbose) puts("STUB: tcc_service_singleton_for_CF_name called");
return NULL;
}
void *tcc_service_singleton_for_name(void) {
if (verbose) puts("STUB: tcc_service_singleton_for_name called");
return NULL;
}