diff --git a/.github/workflows/flutter-ci.yml b/.github/workflows/flutter-ci.yml index 72246fd..6ceef46 100644 --- a/.github/workflows/flutter-ci.yml +++ b/.github/workflows/flutter-ci.yml @@ -17,7 +17,7 @@ on: workflow_dispatch: env: - FLUTTER_VERSION: 3.19.0 + FLUTTER_VERSION: 3.24.0 PANA_VERSION: 0.22.8 jobs: diff --git a/CHANGELOG.md b/CHANGELOG.md index 878af04..27bf515 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,36 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [7.3.0] - 2025-10-20 +- Android SDK version: 17.0.0 +- iOS SDK version: 6.13.0 + +### Flutter + +#### Added +- Added `killOnBypass` to `TalsecConfig` that configures if the app should be terminated when the threat callbacks are suppressed/hooked by an attacker (Android only) ([Issue 65](https://github.com/talsec/Free-RASP-Android/issues/65)) +- Added `onTimeSpoofing` callback to `ThreatCallback` for handling `Threat.timeSpoofing` threat (Android only) + - We are introducing a new capability, detecting whether the device time has been tampered with +- Added `onLocationSpoofing` callback to `ThreatCallback` for handling `Threat.locationSpoofing` threat (Android only) + - We are introducing a new capability, detecting whether the location is being spoofed on the device. +- Added `onUnsecureWifi` callback to `ThreatCallback` for handling `Threat.unsecureWifi` threat (Android only) + - We are introducing a new capability, detecting whether the device is connected to an unsecured Wi-Fi network. +- Added `onAllChecksDone` callback to new `RaspExecutionStateCallback` + - We are introducing a new callback that notifies when all security checks have been completed. + +### Android + +#### Removed +- Removed deprecated functionality `Pbkdf2Native` and both related native libraries (`libpbkdf2_native.so` and `libpolarssl.so`) + +#### Changed +- Updated internal dependencies + +### iOS + +#### Changed +- Updated internal dependencies + ## [7.2.2] - 2025-10-09 - iOS SDK version: 6.12.1 - Android SDK version: 16.0.1 diff --git a/analysis_options.yaml b/analysis_options.yaml index 7dedb6c..1fd1684 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -1,5 +1,7 @@ include: package:very_good_analysis/analysis_options.yaml analyzer: + errors: + document_ignores: false exclude: - '**/*.g.dart' \ No newline at end of file diff --git a/android/build.gradle b/android/build.gradle index 1aa19b0..20a0f79 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -3,7 +3,7 @@ version '1.0-SNAPSHOT' buildscript { ext.kotlin_version = '2.1.0' - ext.talsec_version = '16.0.1' + ext.talsec_version = '17.0.0' repositories { google() mavenCentral() diff --git a/android/src/main/kotlin/com/aheaditec/freerasp/Threat.kt b/android/src/main/kotlin/com/aheaditec/freerasp/Threat.kt index dbe2423..6b4b9e2 100644 --- a/android/src/main/kotlin/com/aheaditec/freerasp/Threat.kt +++ b/android/src/main/kotlin/com/aheaditec/freerasp/Threat.kt @@ -39,4 +39,10 @@ internal sealed class Threat(val value: Int) { object ScreenRecording : Threat(64690214) object MultiInstance : Threat(859307284) + + object UnsecureWiFi : Threat(363588890) + + object TimeSpoofing : Threat(189105221) + + object LocationSpoofing : Threat(653273273) } \ No newline at end of file diff --git a/android/src/main/kotlin/com/aheaditec/freerasp/Utils.kt b/android/src/main/kotlin/com/aheaditec/freerasp/Utils.kt index 274fd08..6b2c110 100644 --- a/android/src/main/kotlin/com/aheaditec/freerasp/Utils.kt +++ b/android/src/main/kotlin/com/aheaditec/freerasp/Utils.kt @@ -31,6 +31,7 @@ internal object Utils { val watcherMail = json.getString("watcherMail") val isProd = json.getBoolean("isProd") + val killOnBypass = json.optBoolean("killOnBypass") val androidConfig = json.getJSONObject("androidConfig") val packageName = androidConfig.getString("packageName") val certificateHashes = androidConfig.extractArray("signingCertHashes") @@ -41,6 +42,7 @@ internal object Utils { .watcherMail(watcherMail) .supportedAlternativeStores(alternativeStores) .prod(isProd) + .killOnBypass(killOnBypass) .blacklistedPackageNames(malwareConfig.blacklistedPackageNames) .blacklistedHashes(malwareConfig.blacklistedHashes) .suspiciousPermissions(malwareConfig.suspiciousPermissions) diff --git a/android/src/main/kotlin/com/aheaditec/freerasp/generated/RaspExecutionState.kt b/android/src/main/kotlin/com/aheaditec/freerasp/generated/RaspExecutionState.kt new file mode 100644 index 0000000..32761fb --- /dev/null +++ b/android/src/main/kotlin/com/aheaditec/freerasp/generated/RaspExecutionState.kt @@ -0,0 +1,53 @@ +// Autogenerated from Pigeon (v22.7.4), do not edit directly. +// See also: https://pub.dev/packages/pigeon +@file:Suppress("UNCHECKED_CAST", "ArrayInDataClass") + +package com.aheaditec.freerasp.generated + +import android.util.Log +import io.flutter.plugin.common.BasicMessageChannel +import io.flutter.plugin.common.BinaryMessenger +import io.flutter.plugin.common.EventChannel +import io.flutter.plugin.common.MessageCodec +import io.flutter.plugin.common.StandardMethodCodec +import io.flutter.plugin.common.StandardMessageCodec +import java.io.ByteArrayOutputStream +import java.nio.ByteBuffer + +private fun createConnectionError(channelName: String): FlutterError { + return FlutterError("channel-error", "Unable to establish connection on channel: '$channelName'.", "")} +private open class RaspExecutionStatePigeonCodec : StandardMessageCodec() { + override fun readValueOfType(type: Byte, buffer: ByteBuffer): Any? { + return super.readValueOfType(type, buffer) + } + override fun writeValue(stream: ByteArrayOutputStream, value: Any?) { + super.writeValue(stream, value) + } +} + +/** Generated class from Pigeon that represents Flutter messages that can be called from Kotlin. */ +class RaspExecutionState(private val binaryMessenger: BinaryMessenger, private val messageChannelSuffix: String = "") { + companion object { + /** The codec used by RaspExecutionState. */ + val codec: MessageCodec by lazy { + RaspExecutionStatePigeonCodec() + } + } + fun onAllChecksFinished(callback: (Result) -> Unit) +{ + val separatedMessageChannelSuffix = if (messageChannelSuffix.isNotEmpty()) ".$messageChannelSuffix" else "" + val channelName = "dev.flutter.pigeon.freerasp.RaspExecutionState.onAllChecksFinished$separatedMessageChannelSuffix" + val channel = BasicMessageChannel(binaryMessenger, channelName, codec) + channel.send(null) { + if (it is List<*>) { + if (it.size > 1) { + callback(Result.failure(FlutterError(it[0] as String, it[1] as String, it[2] as String?))) + } else { + callback(Result.success(Unit)) + } + } else { + callback(Result.failure(createConnectionError(channelName))) + } + } + } +} diff --git a/android/src/main/kotlin/com/aheaditec/freerasp/generated/TalsecPigeonApi.kt b/android/src/main/kotlin/com/aheaditec/freerasp/generated/TalsecPigeonApi.kt index 41f6862..05bae9b 100644 --- a/android/src/main/kotlin/com/aheaditec/freerasp/generated/TalsecPigeonApi.kt +++ b/android/src/main/kotlin/com/aheaditec/freerasp/generated/TalsecPigeonApi.kt @@ -1,12 +1,15 @@ -// Autogenerated from Pigeon (v22.4.0), do not edit directly. +// Autogenerated from Pigeon (v22.7.4), do not edit directly. // See also: https://pub.dev/packages/pigeon @file:Suppress("UNCHECKED_CAST", "ArrayInDataClass") package com.aheaditec.freerasp.generated +import android.util.Log import io.flutter.plugin.common.BasicMessageChannel import io.flutter.plugin.common.BinaryMessenger +import io.flutter.plugin.common.EventChannel import io.flutter.plugin.common.MessageCodec +import io.flutter.plugin.common.StandardMethodCodec import io.flutter.plugin.common.StandardMessageCodec import java.io.ByteArrayOutputStream import java.nio.ByteBuffer diff --git a/android/src/main/kotlin/com/aheaditec/freerasp/handlers/MethodCallHandler.kt b/android/src/main/kotlin/com/aheaditec/freerasp/handlers/MethodCallHandler.kt index 1f6afb0..6bc4bb7 100644 --- a/android/src/main/kotlin/com/aheaditec/freerasp/handlers/MethodCallHandler.kt +++ b/android/src/main/kotlin/com/aheaditec/freerasp/handlers/MethodCallHandler.kt @@ -8,8 +8,9 @@ import android.os.Looper import androidx.lifecycle.Lifecycle import androidx.lifecycle.LifecycleEventObserver import androidx.lifecycle.LifecycleOwner -import com.aheaditec.freerasp.runResultCatching import com.aheaditec.freerasp.Utils +import com.aheaditec.freerasp.generated.RaspExecutionState +import com.aheaditec.freerasp.runResultCatching import com.aheaditec.freerasp.generated.TalsecPigeonApi import com.aheaditec.freerasp.toPigeon import com.aheaditec.talsec_security.security.api.SuspiciousAppInfo @@ -26,7 +27,8 @@ import io.flutter.plugin.common.MethodChannel.MethodCallHandler internal class MethodCallHandler : MethodCallHandler, LifecycleEventObserver { private var context: Context? = null private var methodChannel: MethodChannel? = null - private var pigeonApi: TalsecPigeonApi? = null + private var talsecPigeon: TalsecPigeonApi? = null + private var raspExecutionPigeon : RaspExecutionState? = null private val backgroundHandlerThread = HandlerThread("BackgroundThread").apply { start() } private val backgroundHandler = Handler(backgroundHandlerThread.looper) private val mainHandler = Handler(Looper.getMainLooper()) @@ -41,7 +43,7 @@ internal class MethodCallHandler : MethodCallHandler, LifecycleEventObserver { override fun onMalwareDetected(packageInfo: List) { context?.let { context -> val pigeonPackageInfo = packageInfo.map { it.toPigeon(context) } - pigeonApi?.onMalwareDetected(pigeonPackageInfo) { result -> + talsecPigeon?.onMalwareDetected(pigeonPackageInfo) { result -> // Parse the result (which is Unit so we can ignore it) or throw an exception // Exceptions are translated to Flutter errors automatically result.getOrElse { @@ -51,10 +53,22 @@ internal class MethodCallHandler : MethodCallHandler, LifecycleEventObserver { } } } + + override fun onAllChecksFinished() { + raspExecutionPigeon?.onAllChecksFinished { result -> + // Parse the result (which is Unit so we can ignore it) or throw an exception + // Exceptions are translated to Flutter errors automatically + result.getOrElse { + Log.e("MethodCallHandlerSink", "Result ended with failure") + throw it + } + } + } } internal interface MethodSink { fun onMalwareDetected(packageInfo: List) + fun onAllChecksFinished() } /** @@ -76,7 +90,8 @@ internal class MethodCallHandler : MethodCallHandler, LifecycleEventObserver { } this.context = context - this.pigeonApi = TalsecPigeonApi(messenger) + this.talsecPigeon = TalsecPigeonApi(messenger) + this.raspExecutionPigeon = RaspExecutionState(messenger) TalsecThreatHandler.attachMethodSink(sink) } @@ -89,7 +104,8 @@ internal class MethodCallHandler : MethodCallHandler, LifecycleEventObserver { methodChannel = null this.context = null - this.pigeonApi = null + this.talsecPigeon = null + this.raspExecutionPigeon = null TalsecThreatHandler.detachMethodSink() } @@ -184,9 +200,13 @@ internal class MethodCallHandler : MethodCallHandler, LifecycleEventObserver { */ private fun blockScreenCapture(call: MethodCall, result: MethodChannel.Result) { runResultCatching(result) { - val enable = call.argument("enable") ?: false - Talsec.blockScreenCapture(activity, enable) - result.success(null) + val enable = call.argument("enable") ?: throw NullPointerException("Enable flag cannot be null.") + activity?.let { + Talsec.blockScreenCapture(it, enable) + result.success(null) + return@runResultCatching + } + throw IllegalStateException("Unable to block screen capture - context is null") } } @@ -209,9 +229,13 @@ internal class MethodCallHandler : MethodCallHandler, LifecycleEventObserver { */ private fun storeExternalId(call: MethodCall, result: MethodChannel.Result) { runResultCatching(result) { - val data = call.argument("data") - Talsec.storeExternalId(context, data) - result.success(null) + context?.let { + val data = call.argument("data") ?: throw NullPointerException("External ID data cannot be null.") + Talsec.storeExternalId(it, data) + result.success(null) + return@runResultCatching + } + throw IllegalStateException("Unable to store external ID - context is null") } } } diff --git a/android/src/main/kotlin/com/aheaditec/freerasp/handlers/PluginThreatHandler.kt b/android/src/main/kotlin/com/aheaditec/freerasp/handlers/PluginThreatHandler.kt index 544c4d9..0288a77 100644 --- a/android/src/main/kotlin/com/aheaditec/freerasp/handlers/PluginThreatHandler.kt +++ b/android/src/main/kotlin/com/aheaditec/freerasp/handlers/PluginThreatHandler.kt @@ -5,6 +5,7 @@ import com.aheaditec.freerasp.Threat import com.aheaditec.talsec_security.security.api.SuspiciousAppInfo import com.aheaditec.talsec_security.security.api.ThreatListener import com.aheaditec.talsec_security.security.api.ThreatListener.DeviceState +import com.aheaditec.talsec_security.security.api.ThreatListener.RaspExecutionState import com.aheaditec.talsec_security.security.api.ThreatListener.ThreatDetected /** @@ -13,12 +14,13 @@ import com.aheaditec.talsec_security.security.api.ThreatListener.ThreatDetected * The object provides methods to register a listener for threat notifications and notifies the * listener when a security threat is detected. */ -internal object PluginThreatHandler : ThreatDetected, DeviceState { +internal object PluginThreatHandler : ThreatDetected, DeviceState, RaspExecutionState() { internal val detectedThreats = mutableSetOf() internal val detectedMalware = mutableListOf() + internal var shouldNotifyAllChecksFinished = false internal var listener: TalsecFlutter? = null - private val internalListener = ThreatListener(this, this) + private val internalListener = ThreatListener(this, this, this) internal fun registerListener(context: Context) { internalListener.registerListener(context) @@ -28,6 +30,10 @@ internal object PluginThreatHandler : ThreatDetected, DeviceState { internalListener.unregisterListener(context) } + override fun onAllChecksFinished() { + notifyAllChecksFinished() + } + override fun onRootDetected() { notify(Threat.PrivilegedAccess) } @@ -96,6 +102,18 @@ internal object PluginThreatHandler : ThreatDetected, DeviceState { notify(Threat.MultiInstance) } + override fun onUnsecureWifiDetected() { + notify(Threat.UnsecureWiFi) + } + + override fun onTimeSpoofingDetected() { + notify(Threat.TimeSpoofing) + } + + override fun onLocationSpoofingDetected() { + notify(Threat.LocationSpoofing) + } + private fun notify(threat: Threat) { listener?.threatDetected(threat) ?: detectedThreats.add(threat) } @@ -104,9 +122,15 @@ internal object PluginThreatHandler : ThreatDetected, DeviceState { listener?.malwareDetected(suspiciousApps) ?: detectedMalware.addAll(suspiciousApps) } + private fun notifyAllChecksFinished() { + listener?.allChecksFinished() ?: run { shouldNotifyAllChecksFinished = true } + } + internal interface TalsecFlutter { fun threatDetected(threatType: Threat) fun malwareDetected(suspiciousApps: List) + + fun allChecksFinished() } } diff --git a/android/src/main/kotlin/com/aheaditec/freerasp/handlers/TalsecThreatHandler.kt b/android/src/main/kotlin/com/aheaditec/freerasp/handlers/TalsecThreatHandler.kt index f3b49a9..adb1524 100644 --- a/android/src/main/kotlin/com/aheaditec/freerasp/handlers/TalsecThreatHandler.kt +++ b/android/src/main/kotlin/com/aheaditec/freerasp/handlers/TalsecThreatHandler.kt @@ -147,8 +147,13 @@ internal object TalsecThreatHandler { } } + if (PluginThreatHandler.shouldNotifyAllChecksFinished) { + methodSink?.onAllChecksFinished() + } + PluginThreatHandler.detectedThreats.clear() PluginThreatHandler.detectedMalware.clear() + PluginThreatHandler.shouldNotifyAllChecksFinished = false } internal fun attachMethodSink(sink: MethodCallHandler.MethodSink) { @@ -172,6 +177,10 @@ internal object TalsecThreatHandler { override fun malwareDetected(suspiciousApps: List) { methodSink?.onMalwareDetected(suspiciousApps) } + + override fun allChecksFinished() { + methodSink?.onAllChecksFinished() + } } } diff --git a/example/analysis_options.yaml b/example/analysis_options.yaml index 9df80aa..7b81027 100644 --- a/example/analysis_options.yaml +++ b/example/analysis_options.yaml @@ -1 +1,5 @@ include: package:very_good_analysis/analysis_options.yaml + +analyzer: + errors: + document_ignores: false \ No newline at end of file diff --git a/example/android/app/src/main/AndroidManifest.xml b/example/android/app/src/main/AndroidManifest.xml index 34aa764..f700a23 100644 --- a/example/android/app/src/main/AndroidManifest.xml +++ b/example/android/app/src/main/AndroidManifest.xml @@ -5,7 +5,12 @@ - + + + + + CFBundleVersion 1.0 MinimumOSVersion - 12.0 + 13.0 diff --git a/example/ios/Podfile b/example/ios/Podfile index 279576f..e72e0b4 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -1,5 +1,5 @@ # Uncomment this line to define a global platform for your project -# platform :ios, '12.0' +# platform :ios, '13.0' # CocoaPods analytics sends network stats synchronously affecting flutter build latency. ENV['COCOAPODS_DISABLE_STATS'] = 'true' diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index ab2a530..455de43 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -2,21 +2,27 @@ PODS: - Flutter (1.0.0) - freerasp (1.0.0): - Flutter + - permission_handler_apple (9.3.0): + - Flutter DEPENDENCIES: - Flutter (from `Flutter`) - freerasp (from `.symlinks/plugins/freerasp/ios`) + - permission_handler_apple (from `.symlinks/plugins/permission_handler_apple/ios`) EXTERNAL SOURCES: Flutter: :path: Flutter freerasp: :path: ".symlinks/plugins/freerasp/ios" + permission_handler_apple: + :path: ".symlinks/plugins/permission_handler_apple/ios" SPEC CHECKSUMS: - Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 - freerasp: bb827d80b926abcfb8f4ca4ff4557c2fe4a5ae21 + Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467 + freerasp: d77275f774facb901f52e9608e5bd34768728363 + permission_handler_apple: 4ed2196e43d0651e8ff7ca3483a069d469701f2d -PODFILE CHECKSUM: c4c93c5f6502fe2754f48404d3594bf779584011 +PODFILE CHECKSUM: 0dbd5a87e0ace00c9610d2037ac22083a01f861d -COCOAPODS: 1.15.2 +COCOAPODS: 1.16.2 diff --git a/example/ios/Runner.xcodeproj/project.pbxproj b/example/ios/Runner.xcodeproj/project.pbxproj index 6432644..8285e4b 100644 --- a/example/ios/Runner.xcodeproj/project.pbxproj +++ b/example/ios/Runner.xcodeproj/project.pbxproj @@ -139,6 +139,7 @@ 9705A1C41CF9048500538489 /* Embed Frameworks */, 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 7B1AD104A3725AC29731C77C /* [CP] Embed Pods Frameworks */, + 9ABDDDB6B9848B4979347D5C /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -245,6 +246,23 @@ shellPath = /bin/sh; shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build\n"; }; + 9ABDDDB6B9848B4979347D5C /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Copy Pods Resources"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; FF3206E2BD16BD0071553227 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; @@ -343,7 +361,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; @@ -423,7 +441,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -473,7 +491,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; diff --git a/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index 949787e..183fe67 100644 --- a/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -26,6 +26,7 @@ buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" + customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit" shouldUseLaunchSchemeArgsEnv = "YES"> main() async { WidgetsFlutterBinding.ensureInitialized(); + await Permission.locationWhenInUse.request(); + /// Initialize Talsec config await _initializeTalsec(); @@ -121,6 +124,10 @@ class HomePage extends ConsumerWidget { }, ), ), + ListTile( + title: const Text('Check Rounds Completed'), + trailing: SafetyIcon(isDetected: !threatState.allChecksPassed), + ), Expanded( child: ThreatListView(threats: threatState.detectedThreats), ), diff --git a/example/lib/threat_notifier.dart b/example/lib/threat_notifier.dart index d27cd21..927dc6d 100644 --- a/example/lib/threat_notifier.dart +++ b/example/lib/threat_notifier.dart @@ -31,9 +31,16 @@ class ThreatNotifier extends AutoDisposeNotifier { onScreenshot: () => _updateThreat(Threat.screenshot), onScreenRecording: () => _updateThreat(Threat.screenRecording), onMultiInstance: () => _updateThreat(Threat.multiInstance), + onUnsecureWiFi: () => _updateThreat(Threat.unsecureWiFi), + onTimeSpoofing: () => _updateThreat(Threat.timeSpoofing), + onLocationSpoofing: () => _updateThreat(Threat.locationSpoofing), ); + final raspExecutionStateCallback = + RaspExecutionStateCallback(onAllChecksDone: _updateChecksStatus); + Talsec.instance.attachListener(threatCallback); + Talsec.instance.attachExecutionStateListener(raspExecutionStateCallback); } void _updateThreat(Threat threat) { @@ -43,4 +50,8 @@ class ThreatNotifier extends AutoDisposeNotifier { void _updateMalware(List malware) { state = state.copyWith(detectedMalware: malware.nonNulls.toList()); } + + void _updateChecksStatus() { + state = state.copyWith(allChecksPassed: true); + } } diff --git a/example/lib/threat_state.dart b/example/lib/threat_state.dart index 837c2a3..85efba0 100644 --- a/example/lib/threat_state.dart +++ b/example/lib/threat_state.dart @@ -3,25 +3,32 @@ import 'package:freerasp/freerasp.dart'; class ThreatState { - factory ThreatState.initial() => - const ThreatState._(detectedThreats: {}, detectedMalware: []); + factory ThreatState.initial() => const ThreatState._( + detectedThreats: {}, + detectedMalware: [], + allChecksPassed: false, + ); const ThreatState._({ required this.detectedThreats, required this.detectedMalware, + required this.allChecksPassed, }); final Set detectedThreats; final List detectedMalware; + final bool allChecksPassed; ThreatState copyWith({ Set? detectedThreats, List? detectedMalware, + bool? allChecksPassed, }) { return ThreatState._( detectedThreats: detectedThreats ?? this.detectedThreats, detectedMalware: detectedMalware?.nonNulls.toList() ?? this.detectedMalware, + allChecksPassed: allChecksPassed ?? this.allChecksPassed, ); } } diff --git a/example/pubspec.yaml b/example/pubspec.yaml index b3d5fb5..65d4295 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -17,6 +17,7 @@ dependencies: # The example app is bundled with the plugin so we use a path dependency on # the parent directory to use the current plugin's version. path: ../ + permission_handler: ^12.0.1 dev_dependencies: diff --git a/ios/Classes/EventProcessor.swift b/ios/Classes/EventProcessor.swift deleted file mode 100644 index d62fcb0..0000000 --- a/ios/Classes/EventProcessor.swift +++ /dev/null @@ -1,43 +0,0 @@ -import TalsecRuntime - -/// Class for processing security threat events -class EventProcessor { - /// A set of security threats that have been detected but not yet processed - private var detectedThreats = Set() - - /// A sink for sending processed security threat events - private var sink: FlutterEventSink? - - /// Attaches a new sink for sending processed security threat events. - /// - /// This should be called in onListen callback in FlutterStreamHandler. - /// - /// - Parameter sink: A closure that takes a `String` argument and returns void. This closure is used to send processed security threat events to the sink. - func attachSink(sink: @escaping FlutterEventSink){ - self.sink = sink - detectedThreats.forEach(processEvent) - detectedThreats.removeAll() - } - - /// Detaches the current sink. - /// - /// This should be called in onCancel callback in FlutterStreamHandler. - func detachSink(){ - self.sink = nil - } - - /// Processes a security threat event. - /// - /// If a sink is attached, the event is sent to Flutter via the sink. Otherwise, the event is cached in the `detectedThreats` set for later processing. - /// - /// - Parameter event: The `SecurityThreat` event to be processed. - - func processEvent(_ event: SecurityThreat){ - guard let eventSink = sink else { - detectedThreats.insert(event) - return - } - - eventSink(event.callbackIdentifier) - } -} diff --git a/ios/Classes/Generated/RaspExecutionState.swift b/ios/Classes/Generated/RaspExecutionState.swift new file mode 100644 index 0000000..c40d6ee --- /dev/null +++ b/ios/Classes/Generated/RaspExecutionState.swift @@ -0,0 +1,97 @@ +// Autogenerated from Pigeon (v22.7.4), do not edit directly. +// See also: https://pub.dev/packages/pigeon + +import Foundation + +#if os(iOS) + import Flutter +#elseif os(macOS) + import FlutterMacOS +#else + #error("Unsupported platform.") +#endif + +/// Error class for passing custom error details to Dart side. +final class PigeonError: Error { + let code: String + let message: String? + let details: Any? + + init(code: String, message: String?, details: Any?) { + self.code = code + self.message = message + self.details = details + } + + var localizedDescription: String { + return + "PigeonError(code: \(code), message: \(message ?? ""), details: \(details ?? "")" + } +} + +private func createConnectionError(withChannelName channelName: String) -> PigeonError { + return PigeonError(code: "channel-error", message: "Unable to establish connection on channel: '\(channelName)'.", details: "") +} + +private func isNullish(_ value: Any?) -> Bool { + return value is NSNull || value == nil +} + +private func nilOrValue(_ value: Any?) -> T? { + if value is NSNull { return nil } + return value as! T? +} + +private class RaspExecutionStatePigeonCodecReader: FlutterStandardReader { +} + +private class RaspExecutionStatePigeonCodecWriter: FlutterStandardWriter { +} + +private class RaspExecutionStatePigeonCodecReaderWriter: FlutterStandardReaderWriter { + override func reader(with data: Data) -> FlutterStandardReader { + return RaspExecutionStatePigeonCodecReader(data: data) + } + + override func writer(with data: NSMutableData) -> FlutterStandardWriter { + return RaspExecutionStatePigeonCodecWriter(data: data) + } +} + +class RaspExecutionStatePigeonCodec: FlutterStandardMessageCodec, @unchecked Sendable { + static let shared = RaspExecutionStatePigeonCodec(readerWriter: RaspExecutionStatePigeonCodecReaderWriter()) +} + +/// Generated protocol from Pigeon that represents Flutter messages that can be called from Swift. +protocol RaspExecutionStateProtocol { + func onAllChecksFinished(completion: @escaping (Result) -> Void) +} +class RaspExecutionState: RaspExecutionStateProtocol { + private let binaryMessenger: FlutterBinaryMessenger + private let messageChannelSuffix: String + init(binaryMessenger: FlutterBinaryMessenger, messageChannelSuffix: String = "") { + self.binaryMessenger = binaryMessenger + self.messageChannelSuffix = messageChannelSuffix.count > 0 ? ".\(messageChannelSuffix)" : "" + } + var codec: RaspExecutionStatePigeonCodec { + return RaspExecutionStatePigeonCodec.shared + } + func onAllChecksFinished(completion: @escaping (Result) -> Void) { + let channelName: String = "dev.flutter.pigeon.freerasp.RaspExecutionState.onAllChecksFinished\(messageChannelSuffix)" + let channel = FlutterBasicMessageChannel(name: channelName, binaryMessenger: binaryMessenger, codec: codec) + channel.sendMessage(nil) { response in + guard let listResponse = response as? [Any?] else { + completion(.failure(createConnectionError(withChannelName: channelName))) + return + } + if listResponse.count > 1 { + let code: String = listResponse[0] as! String + let message: String? = nilOrValue(listResponse[1]) + let details: String? = nilOrValue(listResponse[2]) + completion(.failure(PigeonError(code: code, message: message, details: details))) + } else { + completion(.success(Void())) + } + } + } +} diff --git a/ios/Classes/Processors/EventProcessor.swift b/ios/Classes/Processors/EventProcessor.swift new file mode 100644 index 0000000..0c89fde --- /dev/null +++ b/ios/Classes/Processors/EventProcessor.swift @@ -0,0 +1,66 @@ +import TalsecRuntime + +/// A class responsible for processing and managing security threat events. +/// +/// The `EventProcessor` handles the communication of security threat events from +/// the native security engine to Flutter. It provides a queuing mechanism for +/// events that occur before a Flutter listener is attached, ensuring no events +/// are lost during the initialization phase. +/// +/// This class implements a producer-consumer pattern where security threats are +/// produced by the native engine and consumed by Flutter through event streams. +class EventProcessor { + /// A set of security threats that have been detected but not yet processed. + /// + /// This collection serves as a queue for security threat events that occur + /// before a Flutter event sink is attached. Events are stored here until + /// a sink becomes available for processing. + private var detectedThreats = Set() + + /// A sink for sending processed security threat events to Flutter. + /// + /// This property holds the Flutter event sink that is used to send security + /// threat events to the Flutter side. When nil, events are queued in the + /// `detectedThreats` set for later processing. + private var sink: FlutterEventSink? + + /// Attaches a new sink for sending processed security threat events. + /// + /// This method should be called in the `onListen` callback of a `FlutterStreamHandler`. + /// When a sink is attached, any previously queued events are immediately + /// processed and sent to Flutter. + /// + /// - Parameter sink: A closure that takes a `String` argument and returns void. + /// This closure is used to send processed security threat events to Flutter. + func attachSink(sink: @escaping FlutterEventSink){ + self.sink = sink + detectedThreats.forEach(processEvent) + detectedThreats.removeAll() + } + + /// Detaches the current sink. + /// + /// This method should be called in the `onCancel` callback of a `FlutterStreamHandler`. + /// After detaching, new security threat events will be queued until a new + /// sink is attached. + func detachSink(){ + self.sink = nil + } + + /// Processes a security threat event. + /// + /// This method handles the processing of individual security threat events. + /// If a Flutter event sink is available, the event is immediately sent to + /// Flutter. Otherwise, the event is cached in the `detectedThreats` set + /// for later processing when a sink becomes available. + /// + /// - Parameter event: The `SecurityThreat` event to be processed. + func processEvent(_ event: SecurityThreat){ + guard let eventSink = sink else { + detectedThreats.insert(event) + return + } + + eventSink(event.callbackIdentifier) + } +} diff --git a/ios/Classes/Processors/StateProcessor.swift b/ios/Classes/Processors/StateProcessor.swift new file mode 100644 index 0000000..d106296 --- /dev/null +++ b/ios/Classes/Processors/StateProcessor.swift @@ -0,0 +1,32 @@ +class StateProcessor { + private var hasChecksFinished = false + + private var raspStatePigeon: RaspExecutionStateProtocol? + + func attachPigeon(pigeon: RaspExecutionStateProtocol) { + self.raspStatePigeon = pigeon + if (hasChecksFinished) { + processState() + } + } + + func detachPigeon() { + self.raspStatePigeon = nil + } + + func processState() { + guard let pigeon = raspStatePigeon else { + hasChecksFinished = true + return + } + + pigeon.onAllChecksFinished{ + result in + if case .failure(let error) = result { + print("Error: \(error)") + } else { + print("Success!") + } + } + } +} diff --git a/ios/Classes/SwiftFreeraspPlugin.swift b/ios/Classes/SwiftFreeraspPlugin.swift index 3075f7c..da92c55 100644 --- a/ios/Classes/SwiftFreeraspPlugin.swift +++ b/ios/Classes/SwiftFreeraspPlugin.swift @@ -7,21 +7,27 @@ public class SwiftFreeraspPlugin: NSObject, FlutterPlugin, FlutterStreamHandler /// The event processor used to handle and dispatch events. private let eventProcessor = EventProcessor() + private static let stateProcessor = StateProcessor() + /// The singleton instance of `SwiftTalsecPlugin`. static let instance = SwiftFreeraspPlugin() + private var raspExecutionStatePigeon: RaspExecutionStateProtocol? = nil + private override init() {} /// Registers this plugin with the given `FlutterPluginRegistrar`. public static func register(with registrar: FlutterPluginRegistrar) { let messenger = registrar.messenger() - let eventChannel = FlutterEventChannel(name: "talsec.app/freerasp/events", binaryMessenger: messenger) eventChannel.setStreamHandler(instance) //Channels init let methodChannel : FlutterMethodChannel = FlutterMethodChannel(name: "talsec.app/freerasp/methods", binaryMessenger: messenger) registrar.addMethodCallDelegate(instance, channel: methodChannel) + + let pigeon = RaspExecutionState(binaryMessenger: messenger) + stateProcessor.attachPigeon(pigeon: pigeon) } /// Handles a method call from Flutter. @@ -163,4 +169,16 @@ public class SwiftFreeraspPlugin: NSObject, FlutterPlugin, FlutterStreamHandler } eventProcessor.processEvent(submittedEvent) } + + /// Submits a finished event to notify Flutter that all security checks are complete. + /// + /// This method is called by the native security engine when all security + /// validation checks have been completed. It triggers the state processor + /// to send a completion notification to Flutter through the Pigeon protocol. + /// + /// This method should be called after the security engine has finished + /// executing all its validation routines. + public func submitFinishedEvent() { + SwiftFreeraspPlugin.stateProcessor.processState() + } } diff --git a/ios/Classes/TalsecHandlers.swift b/ios/Classes/TalsecHandlers.swift index 250ae3e..eb78e17 100644 --- a/ios/Classes/TalsecHandlers.swift +++ b/ios/Classes/TalsecHandlers.swift @@ -16,11 +16,15 @@ private let screenshotValue = 705651459 private let screenRecordingValue = 64690214 /// Extension with submits events to plugin -extension SecurityThreatCenter: SecurityThreatHandler { +extension SecurityThreatCenter: SecurityThreatHandler, TalsecRuntime.RaspExecutionState { public func threatDetected(_ securityThreat: TalsecRuntime.SecurityThreat) { SwiftFreeraspPlugin.instance.submitEvent(securityThreat) } + + public func onAllChecksFinished() { + SwiftFreeraspPlugin.instance.submitFinishedEvent() + } } /// An extension to unify callback names with Flutter ones. diff --git a/ios/TalsecRuntime.xcframework/Info.plist b/ios/TalsecRuntime.xcframework/Info.plist index dd161ac..46dc5fd 100644 --- a/ios/TalsecRuntime.xcframework/Info.plist +++ b/ios/TalsecRuntime.xcframework/Info.plist @@ -8,32 +8,32 @@ BinaryPath TalsecRuntime.framework/TalsecRuntime LibraryIdentifier - ios-arm64 + ios-arm64_x86_64-simulator LibraryPath TalsecRuntime.framework SupportedArchitectures arm64 + x86_64 SupportedPlatform ios + SupportedPlatformVariant + simulator BinaryPath TalsecRuntime.framework/TalsecRuntime LibraryIdentifier - ios-arm64_x86_64-simulator + ios-arm64 LibraryPath TalsecRuntime.framework SupportedArchitectures arm64 - x86_64 SupportedPlatform ios - SupportedPlatformVariant - simulator CFBundlePackageType diff --git a/ios/TalsecRuntime.xcframework/_CodeSignature/CodeDirectory b/ios/TalsecRuntime.xcframework/_CodeSignature/CodeDirectory index 108190f..063ed17 100644 Binary files a/ios/TalsecRuntime.xcframework/_CodeSignature/CodeDirectory and b/ios/TalsecRuntime.xcframework/_CodeSignature/CodeDirectory differ diff --git a/ios/TalsecRuntime.xcframework/_CodeSignature/CodeRequirements-1 b/ios/TalsecRuntime.xcframework/_CodeSignature/CodeRequirements-1 index 8aa4d12..8e267c0 100644 Binary files a/ios/TalsecRuntime.xcframework/_CodeSignature/CodeRequirements-1 and b/ios/TalsecRuntime.xcframework/_CodeSignature/CodeRequirements-1 differ diff --git a/ios/TalsecRuntime.xcframework/_CodeSignature/CodeResources b/ios/TalsecRuntime.xcframework/_CodeSignature/CodeResources index f82a488..e1cffde 100644 --- a/ios/TalsecRuntime.xcframework/_CodeSignature/CodeResources +++ b/ios/TalsecRuntime.xcframework/_CodeSignature/CodeResources @@ -10,11 +10,11 @@ ios-arm64/TalsecRuntime.framework/Headers/CurlWrapper.h - yu+bD8piivS0Uexyxj88Lo/EtFw= + bSH/Wohm4NF7l7UIPE7R5g8vT6s= ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h - cKsZbc+MuWK+W/NlWrhsLmFc8aI= + YdB5zQwtxxgvqo/pmLUknkglTwo= ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime_iOS.h @@ -22,31 +22,31 @@ ios-arm64/TalsecRuntime.framework/Headers/curl.h - pncQZX056YiXGRD5pmxOejhxORk= + jimlUPogqnspNj7JxlEQq9O+mcg= ios-arm64/TalsecRuntime.framework/Headers/curlver.h - 3Ahl0q9UO2KT0UGTpEvqAWnY2Ww= + HHHy97I1HcqyKicFHd1AcLT9vM0= ios-arm64/TalsecRuntime.framework/Headers/easy.h - zPR4hRipW/f93KTsGonTVturyFo= + uxwAQyNkdidRGYBKGD8Jg+yqKEU= ios-arm64/TalsecRuntime.framework/Headers/header.h - BoDCEv6MIZLNtBUy1D+9dKI4Th4= + iyvygbRon3G0sWEVV5hAyuEsRf8= ios-arm64/TalsecRuntime.framework/Headers/mprintf.h - iYXepEvej7y1r7pDKK/RxvWtnj8= + 6kuUNhttGSIGElxfaS4YXSI6QjA= ios-arm64/TalsecRuntime.framework/Headers/multi.h - dGPBAkD3C75DBIOY+mXGU0uxklI= + WDF7o1kIaBNQfxZuj1WP/dwj4XY= ios-arm64/TalsecRuntime.framework/Headers/options.h - IfCb6p5m63CVW7oVc5SzyjFcfis= + loeDVSH7XnQx+29+qpAJpfEynEg= ios-arm64/TalsecRuntime.framework/Headers/stdcheaders.h @@ -54,27 +54,31 @@ ios-arm64/TalsecRuntime.framework/Headers/system.h - 1FThM5RIl0+4azOG8Ona0nfwB7o= + CbSdtGUOwipRo+mywhFc1XyX4hk= + + ios-arm64/TalsecRuntime.framework/Headers/typecheck-gcc.h + + J/BOIcuabDNAyRWHX7SeqGm9B2k= ios-arm64/TalsecRuntime.framework/Headers/urlapi.h - HXUrox8pAlGkez2yIhOJsVXnC5M= + 2t3G2ZTwc/zrc3VazbZjAYfJJZw= ios-arm64/TalsecRuntime.framework/Headers/websockets.h - 0pEcK9exbhSZCsflrFx0vniiswA= + dacrFuMoBK+Ue7nlMiklKjPkmWc= ios-arm64/TalsecRuntime.framework/Info.plist - wZwCeFEzUwL3JsKi9lYIUtI6RnU= + qvXyle/a+sHDzBcXUtHWr8wpHGA= ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.abi.json - /1I+5RKThqvfW5Mk7GmnL7Y8f7Y= + anigzkw0hLZt6t9xQZnJchKWVuA= ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.private.swiftinterface - 2085Pz9hGGQL/2J3QbzP5aRcGtU= + Dv81DJyn82jeDZSvMU2hQxluioA= ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftdoc @@ -82,7 +86,7 @@ ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftinterface - 2085Pz9hGGQL/2J3QbzP5aRcGtU= + Dv81DJyn82jeDZSvMU2hQxluioA= ios-arm64/TalsecRuntime.framework/Modules/module.modulemap @@ -94,7 +98,7 @@ ios-arm64/TalsecRuntime.framework/TalsecRuntime - CSdd8dvt8OStGgxogoYva04jbIw= + 0cAvHtGktEXU5AOi4s3osvNEvas= ios-arm64/TalsecRuntime.framework/cacert.pem @@ -110,11 +114,11 @@ ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/CurlWrapper.h - yu+bD8piivS0Uexyxj88Lo/EtFw= + bSH/Wohm4NF7l7UIPE7R5g8vT6s= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h - wAY8zBg8d1sI3xVrp1oHtuFcA1A= + P7IWSqtn3HzfQX/y3VogbT0DUjY= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime_iOS.h @@ -122,31 +126,31 @@ ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curl.h - pncQZX056YiXGRD5pmxOejhxORk= + jimlUPogqnspNj7JxlEQq9O+mcg= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curlver.h - 3Ahl0q9UO2KT0UGTpEvqAWnY2Ww= + HHHy97I1HcqyKicFHd1AcLT9vM0= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/easy.h - zPR4hRipW/f93KTsGonTVturyFo= + uxwAQyNkdidRGYBKGD8Jg+yqKEU= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/header.h - BoDCEv6MIZLNtBUy1D+9dKI4Th4= + iyvygbRon3G0sWEVV5hAyuEsRf8= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/mprintf.h - iYXepEvej7y1r7pDKK/RxvWtnj8= + 6kuUNhttGSIGElxfaS4YXSI6QjA= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/multi.h - dGPBAkD3C75DBIOY+mXGU0uxklI= + WDF7o1kIaBNQfxZuj1WP/dwj4XY= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/options.h - IfCb6p5m63CVW7oVc5SzyjFcfis= + loeDVSH7XnQx+29+qpAJpfEynEg= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/stdcheaders.h @@ -154,27 +158,31 @@ ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/system.h - 1FThM5RIl0+4azOG8Ona0nfwB7o= + CbSdtGUOwipRo+mywhFc1XyX4hk= + + ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/typecheck-gcc.h + + J/BOIcuabDNAyRWHX7SeqGm9B2k= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/urlapi.h - HXUrox8pAlGkez2yIhOJsVXnC5M= + 2t3G2ZTwc/zrc3VazbZjAYfJJZw= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/websockets.h - 0pEcK9exbhSZCsflrFx0vniiswA= + dacrFuMoBK+Ue7nlMiklKjPkmWc= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Info.plist - gAtKMS55zdmfYa+L2xBDWDyBv0M= + C0xWg6dPyvKlB+gODnM7dNyWrLs= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.abi.json - /1I+5RKThqvfW5Mk7GmnL7Y8f7Y= + anigzkw0hLZt6t9xQZnJchKWVuA= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface - inrjeBTeZEjJWQYsJDL75IrriIs= + Dpcj2/XdTJqMBLgRXx80eAeaumE= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftdoc @@ -182,15 +190,15 @@ ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftinterface - inrjeBTeZEjJWQYsJDL75IrriIs= + Dpcj2/XdTJqMBLgRXx80eAeaumE= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.abi.json - /1I+5RKThqvfW5Mk7GmnL7Y8f7Y= + anigzkw0hLZt6t9xQZnJchKWVuA= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface - Zv0S28YPhyiAZz7Ci0wtfuzg9wk= + UAjzDQRUS70vjAeqZSB46xz4hhk= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftdoc @@ -198,7 +206,7 @@ ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftinterface - Zv0S28YPhyiAZz7Ci0wtfuzg9wk= + UAjzDQRUS70vjAeqZSB46xz4hhk= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/module.modulemap @@ -210,11 +218,11 @@ ios-arm64_x86_64-simulator/TalsecRuntime.framework/TalsecRuntime - 3qJvhrfZ60dIz6QJJZ+ETUe/jOY= + 2BkXG5pbZ6utRQ7JnjpFbk/CSso= ios-arm64_x86_64-simulator/TalsecRuntime.framework/_CodeSignature/CodeResources - qDVEeATE/Pis2wxO1lJxz4S1kSo= + +qr9ylticHTmmxP60ZNQKAerCgo= ios-arm64_x86_64-simulator/TalsecRuntime.framework/cacert.pem @@ -242,22 +250,22 @@ hash - yu+bD8piivS0Uexyxj88Lo/EtFw= + bSH/Wohm4NF7l7UIPE7R5g8vT6s= hash2 - ayBog/egvC6JKEOTp6xvSc1XGfv8sLepQOqjtNqO324= + D8jI7onfHOD1YBurtYDWrp5ZdVwY8VlpRbfDg0p3PXs= ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h hash - cKsZbc+MuWK+W/NlWrhsLmFc8aI= + YdB5zQwtxxgvqo/pmLUknkglTwo= hash2 - OtfCnQNX5EZ+GPFQezcs7/EBYNcXNU6cg0RMV+PN2g0= + Hey5ztsGUCDXOmps+QQrTeNI2QrqtyuA1HKSXP8lNvc= ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime_iOS.h @@ -275,77 +283,77 @@ hash - pncQZX056YiXGRD5pmxOejhxORk= + jimlUPogqnspNj7JxlEQq9O+mcg= hash2 - A4gTuBAAU/z1USRijSZTcVT7bvDaV5imwYAfVM6mcQo= + titEHDl/fPhshVbPH34pPOLcE4yDGQg5NbfIOOerldw= ios-arm64/TalsecRuntime.framework/Headers/curlver.h hash - 3Ahl0q9UO2KT0UGTpEvqAWnY2Ww= + HHHy97I1HcqyKicFHd1AcLT9vM0= hash2 - AZDHV18h/CggCUN5oQYnwjdXgnePgr6a+uffZniUUm0= + SBdVCzOTQRM9zdA83gcE5nj2Wg/Pp61W60/5cpTqa1I= ios-arm64/TalsecRuntime.framework/Headers/easy.h hash - zPR4hRipW/f93KTsGonTVturyFo= + uxwAQyNkdidRGYBKGD8Jg+yqKEU= hash2 - CJDgY9K+qLqBXXR9T2ZZlOJj4QQ/DhSoVzPJRFy4Om0= + 9trJcD4NSwkeDS48x9QwCRdL5FO6EmB/l84qdDFz1AQ= ios-arm64/TalsecRuntime.framework/Headers/header.h hash - BoDCEv6MIZLNtBUy1D+9dKI4Th4= + iyvygbRon3G0sWEVV5hAyuEsRf8= hash2 - YUvkiob05dMExapA7xyFJF4luXcykhw2MYQBRmadmS8= + ff8703r7WMAJ8HVcwbN0AffECeWBcurtSSyBkYGobj8= ios-arm64/TalsecRuntime.framework/Headers/mprintf.h hash - iYXepEvej7y1r7pDKK/RxvWtnj8= + 6kuUNhttGSIGElxfaS4YXSI6QjA= hash2 - D7qnEhav3WykSvZ+PR+uGAh/Y15SkRNvzmKU/4EyLmM= + p5ZX+hXbcecyvLWLxGRatlvbMiJ2fzS+W6tWqg1PTMk= ios-arm64/TalsecRuntime.framework/Headers/multi.h hash - dGPBAkD3C75DBIOY+mXGU0uxklI= + WDF7o1kIaBNQfxZuj1WP/dwj4XY= hash2 - Wr9p4d6X+Cfr4kUkNW8u9y3rKorv2kkgY7m7gMihwcs= + VRbQ7NDE6UaZF4tBn9qJbvv7tGrEwdGB+zsEA3FAiFk= ios-arm64/TalsecRuntime.framework/Headers/options.h hash - IfCb6p5m63CVW7oVc5SzyjFcfis= + loeDVSH7XnQx+29+qpAJpfEynEg= hash2 - xt+R3iBpI5D6KedpH1aETByFgs+snr1vLxVVoHmTULY= + E8yHfRYTNWybMICSt22RjTIsRvL6ZhCUq5j/XswmvYQ= ios-arm64/TalsecRuntime.framework/Headers/stdcheaders.h @@ -363,66 +371,77 @@ hash - 1FThM5RIl0+4azOG8Ona0nfwB7o= + CbSdtGUOwipRo+mywhFc1XyX4hk= + + hash2 + + ZD/MnzVjEDHSR5BJTpdA6400CFVfLp1Zwwy//38+McQ= + + + ios-arm64/TalsecRuntime.framework/Headers/typecheck-gcc.h + + hash + + J/BOIcuabDNAyRWHX7SeqGm9B2k= hash2 - iTPu5JUBAmeGJ0QJaRCRQhHkDUOTWoGGSjeAphKZ5E8= + 3O4L8PutuQJQhnbdj9CodR7KtBtmMbcTP5Z/QZTUop0= ios-arm64/TalsecRuntime.framework/Headers/urlapi.h hash - HXUrox8pAlGkez2yIhOJsVXnC5M= + 2t3G2ZTwc/zrc3VazbZjAYfJJZw= hash2 - gfRaQ8x57GcyDvW5n6f52/NZ6/IAACt0mAUFCUPkgEY= + lVu+6/Vtb5aRqV4Q5CrQSlESY+h9EkAfbWvld2EngFY= ios-arm64/TalsecRuntime.framework/Headers/websockets.h hash - 0pEcK9exbhSZCsflrFx0vniiswA= + dacrFuMoBK+Ue7nlMiklKjPkmWc= hash2 - tYux1+2j/SNy/rTYVsJWiX2DAG3+eTPWm+VLxKK6Wj8= + 5W0gmdKOy+tbjQl4qBjg3XaiUsXkfmFKGoZDVCRBMxQ= ios-arm64/TalsecRuntime.framework/Info.plist hash - wZwCeFEzUwL3JsKi9lYIUtI6RnU= + qvXyle/a+sHDzBcXUtHWr8wpHGA= hash2 - haAwk0PfQXfR0n+Ifj39mbQCXWGb3zAbzdVTzINBMU4= + iEreXYvg693Kil+n00lyjjhsWfzJf2yYh/ms3MClVsw= ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.abi.json hash - /1I+5RKThqvfW5Mk7GmnL7Y8f7Y= + anigzkw0hLZt6t9xQZnJchKWVuA= hash2 - iU9azOV0ocIO6K1GpO49zHnLAWFLpQ4RVs/KnYdQZ0E= + l4Z6P0aHCxmGoLU5TtvGn+moxH+H79ZGjGlOOBzULmo= ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.private.swiftinterface hash - 2085Pz9hGGQL/2J3QbzP5aRcGtU= + Dv81DJyn82jeDZSvMU2hQxluioA= hash2 - /Qa0tKWlmbYsRJoLQHGrHYRynlR1H9L6KVHk6CCJsIw= + HcIUMQmWyytOAInZdHSodBylQV/+EbW6/Co+5PYTnxo= ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftdoc @@ -440,11 +459,11 @@ hash - 2085Pz9hGGQL/2J3QbzP5aRcGtU= + Dv81DJyn82jeDZSvMU2hQxluioA= hash2 - /Qa0tKWlmbYsRJoLQHGrHYRynlR1H9L6KVHk6CCJsIw= + HcIUMQmWyytOAInZdHSodBylQV/+EbW6/Co+5PYTnxo= ios-arm64/TalsecRuntime.framework/Modules/module.modulemap @@ -473,11 +492,11 @@ hash - CSdd8dvt8OStGgxogoYva04jbIw= + 0cAvHtGktEXU5AOi4s3osvNEvas= hash2 - cC59EHQhahj676EmD+doCDKLtqaynNQcG70KXj35LYA= + 5EHbh5NyXiIEh1cwX8mYc1pvjTPVH1NLfZmILxxrKJo= ios-arm64/TalsecRuntime.framework/cacert.pem @@ -517,22 +536,22 @@ hash - yu+bD8piivS0Uexyxj88Lo/EtFw= + bSH/Wohm4NF7l7UIPE7R5g8vT6s= hash2 - ayBog/egvC6JKEOTp6xvSc1XGfv8sLepQOqjtNqO324= + D8jI7onfHOD1YBurtYDWrp5ZdVwY8VlpRbfDg0p3PXs= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h hash - wAY8zBg8d1sI3xVrp1oHtuFcA1A= + P7IWSqtn3HzfQX/y3VogbT0DUjY= hash2 - xi81x5ESCLsP43OXQdVplBMjgbi0cU16HmU3tQD91YI= + 99vix0juTdt6yHCqHwZe7WOE4KT1ys25BocrqkluPPg= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime_iOS.h @@ -550,77 +569,77 @@ hash - pncQZX056YiXGRD5pmxOejhxORk= + jimlUPogqnspNj7JxlEQq9O+mcg= hash2 - A4gTuBAAU/z1USRijSZTcVT7bvDaV5imwYAfVM6mcQo= + titEHDl/fPhshVbPH34pPOLcE4yDGQg5NbfIOOerldw= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curlver.h hash - 3Ahl0q9UO2KT0UGTpEvqAWnY2Ww= + HHHy97I1HcqyKicFHd1AcLT9vM0= hash2 - AZDHV18h/CggCUN5oQYnwjdXgnePgr6a+uffZniUUm0= + SBdVCzOTQRM9zdA83gcE5nj2Wg/Pp61W60/5cpTqa1I= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/easy.h hash - zPR4hRipW/f93KTsGonTVturyFo= + uxwAQyNkdidRGYBKGD8Jg+yqKEU= hash2 - CJDgY9K+qLqBXXR9T2ZZlOJj4QQ/DhSoVzPJRFy4Om0= + 9trJcD4NSwkeDS48x9QwCRdL5FO6EmB/l84qdDFz1AQ= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/header.h hash - BoDCEv6MIZLNtBUy1D+9dKI4Th4= + iyvygbRon3G0sWEVV5hAyuEsRf8= hash2 - YUvkiob05dMExapA7xyFJF4luXcykhw2MYQBRmadmS8= + ff8703r7WMAJ8HVcwbN0AffECeWBcurtSSyBkYGobj8= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/mprintf.h hash - iYXepEvej7y1r7pDKK/RxvWtnj8= + 6kuUNhttGSIGElxfaS4YXSI6QjA= hash2 - D7qnEhav3WykSvZ+PR+uGAh/Y15SkRNvzmKU/4EyLmM= + p5ZX+hXbcecyvLWLxGRatlvbMiJ2fzS+W6tWqg1PTMk= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/multi.h hash - dGPBAkD3C75DBIOY+mXGU0uxklI= + WDF7o1kIaBNQfxZuj1WP/dwj4XY= hash2 - Wr9p4d6X+Cfr4kUkNW8u9y3rKorv2kkgY7m7gMihwcs= + VRbQ7NDE6UaZF4tBn9qJbvv7tGrEwdGB+zsEA3FAiFk= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/options.h hash - IfCb6p5m63CVW7oVc5SzyjFcfis= + loeDVSH7XnQx+29+qpAJpfEynEg= hash2 - xt+R3iBpI5D6KedpH1aETByFgs+snr1vLxVVoHmTULY= + E8yHfRYTNWybMICSt22RjTIsRvL6ZhCUq5j/XswmvYQ= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/stdcheaders.h @@ -638,66 +657,77 @@ hash - 1FThM5RIl0+4azOG8Ona0nfwB7o= + CbSdtGUOwipRo+mywhFc1XyX4hk= + + hash2 + + ZD/MnzVjEDHSR5BJTpdA6400CFVfLp1Zwwy//38+McQ= + + + ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/typecheck-gcc.h + + hash + + J/BOIcuabDNAyRWHX7SeqGm9B2k= hash2 - iTPu5JUBAmeGJ0QJaRCRQhHkDUOTWoGGSjeAphKZ5E8= + 3O4L8PutuQJQhnbdj9CodR7KtBtmMbcTP5Z/QZTUop0= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/urlapi.h hash - HXUrox8pAlGkez2yIhOJsVXnC5M= + 2t3G2ZTwc/zrc3VazbZjAYfJJZw= hash2 - gfRaQ8x57GcyDvW5n6f52/NZ6/IAACt0mAUFCUPkgEY= + lVu+6/Vtb5aRqV4Q5CrQSlESY+h9EkAfbWvld2EngFY= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/websockets.h hash - 0pEcK9exbhSZCsflrFx0vniiswA= + dacrFuMoBK+Ue7nlMiklKjPkmWc= hash2 - tYux1+2j/SNy/rTYVsJWiX2DAG3+eTPWm+VLxKK6Wj8= + 5W0gmdKOy+tbjQl4qBjg3XaiUsXkfmFKGoZDVCRBMxQ= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Info.plist hash - gAtKMS55zdmfYa+L2xBDWDyBv0M= + C0xWg6dPyvKlB+gODnM7dNyWrLs= hash2 - 1boSkROZ/Ai5xofJYFDby2Y+EHM06+PA67kEh0pcXHg= + qsySKE+blkqhtyaN3OwkzxM5dbmDxzXCoy0ZZv7N3jc= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.abi.json hash - /1I+5RKThqvfW5Mk7GmnL7Y8f7Y= + anigzkw0hLZt6t9xQZnJchKWVuA= hash2 - iU9azOV0ocIO6K1GpO49zHnLAWFLpQ4RVs/KnYdQZ0E= + l4Z6P0aHCxmGoLU5TtvGn+moxH+H79ZGjGlOOBzULmo= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface hash - inrjeBTeZEjJWQYsJDL75IrriIs= + Dpcj2/XdTJqMBLgRXx80eAeaumE= hash2 - OpRbeMxw/45WUMSIcAyE3iCm/BhLRYkxKpIOEGyyA4o= + xMKReUcGR8ChB+5V79K6Id8INMJkjiu/FbF9gbWThW4= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftdoc @@ -715,33 +745,33 @@ hash - inrjeBTeZEjJWQYsJDL75IrriIs= + Dpcj2/XdTJqMBLgRXx80eAeaumE= hash2 - OpRbeMxw/45WUMSIcAyE3iCm/BhLRYkxKpIOEGyyA4o= + xMKReUcGR8ChB+5V79K6Id8INMJkjiu/FbF9gbWThW4= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.abi.json hash - /1I+5RKThqvfW5Mk7GmnL7Y8f7Y= + anigzkw0hLZt6t9xQZnJchKWVuA= hash2 - iU9azOV0ocIO6K1GpO49zHnLAWFLpQ4RVs/KnYdQZ0E= + l4Z6P0aHCxmGoLU5TtvGn+moxH+H79ZGjGlOOBzULmo= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface hash - Zv0S28YPhyiAZz7Ci0wtfuzg9wk= + UAjzDQRUS70vjAeqZSB46xz4hhk= hash2 - axR9mcaW6AdrBU7Kdf3nJ/+v7T9hFIFfQrMIFaJz+PY= + kj4mhFxa/GtHLIoSjPkjK8uHDvkCqBR7FVri8oF0UEs= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftdoc @@ -759,11 +789,11 @@ hash - Zv0S28YPhyiAZz7Ci0wtfuzg9wk= + UAjzDQRUS70vjAeqZSB46xz4hhk= hash2 - axR9mcaW6AdrBU7Kdf3nJ/+v7T9hFIFfQrMIFaJz+PY= + kj4mhFxa/GtHLIoSjPkjK8uHDvkCqBR7FVri8oF0UEs= ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/module.modulemap @@ -792,22 +822,22 @@ hash - 3qJvhrfZ60dIz6QJJZ+ETUe/jOY= + 2BkXG5pbZ6utRQ7JnjpFbk/CSso= hash2 - ANlhFEXrbaqY9kTTd8ZhP9TwVG9o9cEmCnGSY5NMK+g= + /2djpX45KHIcFn5SqPcbRJj+tr5RsRorGXLDYbgH2wo= ios-arm64_x86_64-simulator/TalsecRuntime.framework/_CodeSignature/CodeResources hash - qDVEeATE/Pis2wxO1lJxz4S1kSo= + +qr9ylticHTmmxP60ZNQKAerCgo= hash2 - U5yZk+zXueNXc728nNM2TtEgPgb7oUr5MJdMTJUeAbs= + KB2BaDW4Do9KrQLkkgZ09cRCCz6tzdss6OZWgu+sWyo= ios-arm64_x86_64-simulator/TalsecRuntime.framework/cacert.pem diff --git a/ios/TalsecRuntime.xcframework/_CodeSignature/CodeSignature b/ios/TalsecRuntime.xcframework/_CodeSignature/CodeSignature index 73f22b7..23f08b9 100644 Binary files a/ios/TalsecRuntime.xcframework/_CodeSignature/CodeSignature and b/ios/TalsecRuntime.xcframework/_CodeSignature/CodeSignature differ diff --git a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/CurlWrapper.h b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/CurlWrapper.h index d97e230..77614b5 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/CurlWrapper.h +++ b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/CurlWrapper.h @@ -16,7 +16,7 @@ #include #include -struct RvmEYfRFdioL { +struct cbGQxusCApLR { char *memory; size_t size; CURLcode ret; diff --git a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h index 4d7dc69..606ee8d 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +++ b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h @@ -298,7 +298,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #if defined(__OBJC__) -SWIFT_EXTERN void __ApWJrcnQiGvUdFqDXAEJxWG(void); +SWIFT_EXTERN void __owwROJztjggDwcrulfbQCLj(void); #endif #if __has_attribute(external_source_symbol) diff --git a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/curl.h b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/curl.h index 3f8265d..72ed965 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/curl.h +++ b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/curl.h @@ -30,28 +30,37 @@ */ #ifdef CURL_NO_OLDIES -#define CURL_STRICTER +#define CURL_STRICTER /* not used since 8.11.0 */ #endif /* Compile-time deprecation macros. */ -#if defined(__GNUC__) && \ - ((__GNUC__ > 12) || ((__GNUC__ == 12) && (__GNUC_MINOR__ >= 1 ))) && \ - !defined(__INTEL_COMPILER) && \ +#if (defined(__GNUC__) && \ + ((__GNUC__ > 12) || ((__GNUC__ == 12) && (__GNUC_MINOR__ >= 1))) || \ + (defined(__clang__) && __clang_major__ >= 3) || \ + defined(__IAR_SYSTEMS_ICC__)) && \ + !defined(__INTEL_COMPILER) && \ !defined(CURL_DISABLE_DEPRECATION) && !defined(BUILDING_LIBCURL) #define CURL_DEPRECATED(version, message) \ __attribute__((deprecated("since " # version ". " message))) +#ifdef __IAR_SYSTEMS_ICC__ +#define CURL_IGNORE_DEPRECATION(statements) \ + _Pragma("diag_suppress=Pe1444") \ + statements \ + _Pragma("diag_default=Pe1444") +#else #define CURL_IGNORE_DEPRECATION(statements) \ _Pragma("GCC diagnostic push") \ _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"") \ statements \ _Pragma("GCC diagnostic pop") +#endif #else #define CURL_DEPRECATED(version, message) #define CURL_IGNORE_DEPRECATION(statements) statements #endif #include "curlver.h" /* libcurl version defines */ -#include "system.h" /* determine things run-time */ +#include "system.h" /* determine things runtime */ #include #include @@ -68,8 +77,8 @@ #if defined(_WIN32) && !defined(_WIN32_WCE) && !defined(__CYGWIN__) #if !(defined(_WINSOCKAPI_) || defined(_WINSOCK_H) || \ defined(__LWIP_OPT_H__) || defined(LWIP_HDR_OPT_H)) -/* The check above prevents the winsock2 inclusion if winsock.h already was - included, since they can't co-exist without problems */ +/* The check above prevents the winsock2.h inclusion if winsock.h already was + included, since they cannot co-exist without problems */ #include #include #endif @@ -88,41 +97,34 @@ #include #endif -#if !defined(_WIN32) && !defined(_WIN32_WCE) +#ifndef _WIN32 #include -#endif - -#if !defined(_WIN32) #include #endif -/* Compatibility for non-Clang compilers */ -#ifndef __has_declspec_attribute -# define __has_declspec_attribute(x) 0 -#endif - -#ifdef __cplusplus +#ifdef __cplusplus extern "C" { #endif -#if defined(BUILDING_LIBCURL) || defined(CURL_STRICTER) -typedef struct Curl_easy CURL; -typedef struct Curl_share CURLSH; -#else typedef void CURL; typedef void CURLSH; -#endif /* * libcurl external API function linkage decorations. */ +#ifdef __has_declspec_attribute +#define CURL_HAS_DECLSPEC_ATTRIBUTE(x) __has_declspec_attribute(x) +#else +#define CURL_HAS_DECLSPEC_ATTRIBUTE(x) 0 +#endif + #ifdef CURL_STATICLIB # define CURL_EXTERN #elif defined(_WIN32) || \ - (__has_declspec_attribute(dllexport) && \ - __has_declspec_attribute(dllimport)) -# if defined(BUILDING_LIBCURL) + (CURL_HAS_DECLSPEC_ATTRIBUTE(dllexport) && \ + CURL_HAS_DECLSPEC_ATTRIBUTE(dllimport)) +# ifdef BUILDING_LIBCURL # define CURL_EXTERN __declspec(dllexport) # else # define CURL_EXTERN __declspec(dllimport) @@ -156,11 +158,11 @@ typedef enum { CURLSSLBACKEND_POLARSSL CURL_DEPRECATED(7.69.0, "") = 6, CURLSSLBACKEND_WOLFSSL = 7, CURLSSLBACKEND_SCHANNEL = 8, - CURLSSLBACKEND_SECURETRANSPORT = 9, + CURLSSLBACKEND_SECURETRANSPORT CURL_DEPRECATED(8.15.0, "") = 9, CURLSSLBACKEND_AXTLS CURL_DEPRECATED(7.61.0, "") = 10, CURLSSLBACKEND_MBEDTLS = 11, CURLSSLBACKEND_MESALINK CURL_DEPRECATED(7.82.0, "") = 12, - CURLSSLBACKEND_BEARSSL = 13, + CURLSSLBACKEND_BEARSSL CURL_DEPRECATED(8.15.0, "") = 13, CURLSSLBACKEND_RUSTLS = 14 } curl_sslbackend; @@ -173,6 +175,16 @@ typedef enum { #define CURLSSLBACKEND_CYASSL CURLSSLBACKEND_WOLFSSL #define CURLSSLBACKEND_DARWINSSL CURLSSLBACKEND_SECURETRANSPORT +/* bits for the CURLOPT_FOLLOWLOCATION option */ +#define CURLFOLLOW_ALL 1L /* generic follow redirects */ + +/* Do not use the custom method in the follow-up request if the HTTP code + instructs so (301, 302, 303). */ +#define CURLFOLLOW_OBEYCODE 2L + +/* Only use the custom method in the first request, always reset in the next */ +#define CURLFOLLOW_FIRSTONLY 3L + struct curl_httppost { struct curl_httppost *next; /* next entry in the list */ char *name; /* pointer to allocated name */ @@ -189,9 +201,9 @@ struct curl_httppost { files */ long flags; /* as defined below */ -/* specified content is a file name */ +/* specified content is a filename */ #define CURL_HTTPPOST_FILENAME (1<<0) -/* specified content is a file name */ +/* specified content is a filename */ #define CURL_HTTPPOST_READFILE (1<<1) /* name is only stored pointer do not free in formfree */ #define CURL_HTTPPOST_PTRNAME (1<<2) @@ -207,8 +219,8 @@ struct curl_httppost { /* use size in 'contentlen', added in 7.46.0 */ #define CURL_HTTPPOST_LARGE (1<<7) - char *showfilename; /* The file name to show. If not set, the - actual file name will be used (if this + char *showfilename; /* The filename to show. If not set, the + actual filename will be used (if this is a file part) */ void *userp; /* custom pointer used for HTTPPOST_CALLBACK posts */ @@ -245,12 +257,12 @@ typedef int (*curl_xferinfo_callback)(void *clientp, #endif #ifndef CURL_MAX_WRITE_SIZE - /* Tests have proven that 20K is a very bad buffer size for uploads on - Windows, while 16K for some odd reason performed a lot better. - We do the ifndef check to allow this value to easier be changed at build - time for those who feel adventurous. The practical minimum is about - 400 bytes since libcurl uses a buffer of this size as a scratch area - (unrelated to network send operations). */ + /* Tests have proven that 20K is a bad buffer size for uploads on Windows, + while 16K for some odd reason performed a lot better. We do the ifndef + check to allow this value to easier be changed at build time for those + who feel adventurous. The practical minimum is about 400 bytes since + libcurl uses a buffer of this size as a scratch area (unrelated to + network send operations). */ #define CURL_MAX_WRITE_SIZE 16384 #endif @@ -350,13 +362,13 @@ typedef long (*curl_chunk_bgn_callback)(const void *transfer_info, download of an individual chunk finished. Note! After this callback was set then it have to be called FOR ALL chunks. Even if downloading of this chunk was skipped in CHUNK_BGN_FUNC. - This is the reason why we don't need "transfer_info" parameter in this + This is the reason why we do not need "transfer_info" parameter in this callback and we are not interested in "remains" parameter too. */ typedef long (*curl_chunk_end_callback)(void *ptr); /* return codes for FNMATCHFUNCTION */ #define CURL_FNMATCHFUNC_MATCH 0 /* string corresponds to the pattern */ -#define CURL_FNMATCHFUNC_NOMATCH 1 /* pattern doesn't match the string */ +#define CURL_FNMATCHFUNC_NOMATCH 1 /* pattern does not match the string */ #define CURL_FNMATCHFUNC_FAIL 2 /* an error occurred */ /* callback type for wildcard downloading pattern matching. If the @@ -368,7 +380,7 @@ typedef int (*curl_fnmatch_callback)(void *ptr, /* These are the return codes for the seek callbacks */ #define CURL_SEEKFUNC_OK 0 #define CURL_SEEKFUNC_FAIL 1 /* fail the entire transfer */ -#define CURL_SEEKFUNC_CANTSEEK 2 /* tell libcurl seeking can't be done, so +#define CURL_SEEKFUNC_CANTSEEK 2 /* tell libcurl seeking cannot be done, so libcurl might try other means instead */ typedef int (*curl_seek_callback)(void *instream, curl_off_t offset, @@ -451,7 +463,7 @@ typedef curlioerr (*curl_ioctl_callback)(CURL *handle, #ifndef CURL_DID_MEMORY_FUNC_TYPEDEFS /* * The following typedef's are signatures of malloc, free, realloc, strdup and - * calloc respectively. Function pointers of these types can be passed to the + * calloc respectively. Function pointers of these types can be passed to the * curl_global_init_mem() function to set user defined memory management * callback routines. */ @@ -539,22 +551,22 @@ typedef enum { CURLE_WRITE_ERROR, /* 23 */ CURLE_OBSOLETE24, /* 24 - NOT USED */ CURLE_UPLOAD_FAILED, /* 25 - failed upload "command" */ - CURLE_READ_ERROR, /* 26 - couldn't open/read from file */ + CURLE_READ_ERROR, /* 26 - could not open/read from file */ CURLE_OUT_OF_MEMORY, /* 27 */ CURLE_OPERATION_TIMEDOUT, /* 28 - the timeout time was reached */ CURLE_OBSOLETE29, /* 29 - NOT USED */ CURLE_FTP_PORT_FAILED, /* 30 - FTP PORT operation failed */ CURLE_FTP_COULDNT_USE_REST, /* 31 - the REST command failed */ CURLE_OBSOLETE32, /* 32 - NOT USED */ - CURLE_RANGE_ERROR, /* 33 - RANGE "command" didn't work */ - CURLE_HTTP_POST_ERROR, /* 34 */ + CURLE_RANGE_ERROR, /* 33 - RANGE "command" did not work */ + CURLE_OBSOLETE34, /* 34 */ CURLE_SSL_CONNECT_ERROR, /* 35 - wrong when connecting with SSL */ - CURLE_BAD_DOWNLOAD_RESUME, /* 36 - couldn't resume download */ + CURLE_BAD_DOWNLOAD_RESUME, /* 36 - could not resume download */ CURLE_FILE_COULDNT_READ_FILE, /* 37 */ CURLE_LDAP_CANNOT_BIND, /* 38 */ CURLE_LDAP_SEARCH_FAILED, /* 39 */ CURLE_OBSOLETE40, /* 40 - NOT USED */ - CURLE_FUNCTION_NOT_FOUND, /* 41 - NOT USED starting with 7.53.0 */ + CURLE_OBSOLETE41, /* 41 - NOT USED starting with 7.53.0 */ CURLE_ABORTED_BY_CALLBACK, /* 42 */ CURLE_BAD_FUNCTION_ARGUMENT, /* 43 */ CURLE_OBSOLETE44, /* 44 - NOT USED */ @@ -573,9 +585,9 @@ typedef enum { CURLE_RECV_ERROR, /* 56 - failure in receiving network data */ CURLE_OBSOLETE57, /* 57 - NOT IN USE */ CURLE_SSL_CERTPROBLEM, /* 58 - problem with the local certificate */ - CURLE_SSL_CIPHER, /* 59 - couldn't use specified cipher */ + CURLE_SSL_CIPHER, /* 59 - could not use specified cipher */ CURLE_PEER_FAILED_VERIFICATION, /* 60 - peer's certificate or fingerprint - wasn't verified fine */ + was not verified fine */ CURLE_BAD_CONTENT_ENCODING, /* 61 - Unrecognized/bad encoding */ CURLE_OBSOLETE62, /* 62 - NOT IN USE since 7.82.0 */ CURLE_FILESIZE_EXCEEDED, /* 63 - Maximum file size exceeded */ @@ -604,7 +616,7 @@ typedef enum { CURLE_SSL_SHUTDOWN_FAILED, /* 80 - Failed to shut down the SSL connection */ CURLE_AGAIN, /* 81 - socket is not ready for send/recv, - wait till it's ready and try again (Added + wait till it is ready and try again (Added in 7.18.2) */ CURLE_SSL_CRL_BADFILE, /* 82 - could not load CRL file, missing or wrong format (Added in 7.19.0) */ @@ -639,6 +651,12 @@ typedef enum { #ifndef CURL_NO_OLDIES /* define this to test if your app builds with all the obsolete stuff removed! */ +/* removed in 7.53.0 */ +#define CURLE_FUNCTION_NOT_FOUND CURLE_OBSOLETE41 + +/* removed in 7.56.0 */ +#define CURLE_HTTP_POST_ERROR CURLE_OBSOLETE34 + /* Previously obsolete error code reused in 7.38.0 */ #define CURLE_OBSOLETE16 CURLE_HTTP2 @@ -713,6 +731,8 @@ typedef enum { with them. */ #define CURLOPT_WRITEINFO CURLOPT_OBSOLETE40 #define CURLOPT_CLOSEPOLICY CURLOPT_OBSOLETE72 +#define CURLOPT_OBSOLETE72 9999 +#define CURLOPT_OBSOLETE40 9999 #endif /* !CURL_NO_OLDIES */ @@ -763,25 +783,29 @@ typedef CURLcode (*curl_conv_callback)(char *buffer, size_t length); typedef CURLcode (*curl_ssl_ctx_callback)(CURL *curl, /* easy handle */ void *ssl_ctx, /* actually an OpenSSL - or WolfSSL SSL_CTX, + or wolfSSL SSL_CTX, or an mbedTLS mbedtls_ssl_config */ void *userptr); +#define CURLPROXY_HTTP 0L /* added in 7.10, new in 7.19.4 default is + to use CONNECT HTTP/1.1 */ +#define CURLPROXY_HTTP_1_0 1L /* force to use CONNECT HTTP/1.0 + added in 7.19.4 */ +#define CURLPROXY_HTTPS 2L /* HTTPS but stick to HTTP/1 + added in 7.52.0 */ +#define CURLPROXY_HTTPS2 3L /* HTTPS and attempt HTTP/2 + added in 8.2.0 */ +#define CURLPROXY_SOCKS4 4L /* support added in 7.15.2, enum existed + already in 7.10 */ +#define CURLPROXY_SOCKS5 5L /* added in 7.10 */ +#define CURLPROXY_SOCKS4A 6L /* added in 7.18.0 */ +#define CURLPROXY_SOCKS5_HOSTNAME 7L /* Use the SOCKS5 protocol but pass along + the hostname rather than the IP + address. added in 7.18.0 */ + typedef enum { - CURLPROXY_HTTP = 0, /* added in 7.10, new in 7.19.4 default is to use - CONNECT HTTP/1.1 */ - CURLPROXY_HTTP_1_0 = 1, /* added in 7.19.4, force to use CONNECT - HTTP/1.0 */ - CURLPROXY_HTTPS = 2, /* HTTPS but stick to HTTP/1 added in 7.52.0 */ - CURLPROXY_HTTPS2 = 3, /* HTTPS and attempt HTTP/2 added in 8.2.0 */ - CURLPROXY_SOCKS4 = 4, /* support added in 7.15.2, enum existed already - in 7.10 */ - CURLPROXY_SOCKS5 = 5, /* added in 7.10 */ - CURLPROXY_SOCKS4A = 6, /* added in 7.18.0 */ - CURLPROXY_SOCKS5_HOSTNAME = 7 /* Use the SOCKS5 protocol but pass along the - host name rather than the IP address. added - in 7.18.0 */ + CURLPROXY_LAST = 8 /* never use */ } curl_proxytype; /* this enum was added in 7.10 */ /* @@ -789,11 +813,11 @@ typedef enum { * * CURLAUTH_NONE - No HTTP authentication * CURLAUTH_BASIC - HTTP Basic authentication (default) - * CURLAUTH_DIGEST - HTTP DiHuLt authentication + * CURLAUTH_DIGEST - HTTP DiJNxt authentication * CURLAUTH_NEGOTIATE - HTTP Negotiate (SPNEGO) authentication * CURLAUTH_GSSNEGOTIATE - Alias for CURLAUTH_NEGOTIATE (deprecated) * CURLAUTH_NTLM - HTTP NTLM authentication - * CURLAUTH_DIGEST_IE - HTTP DiHuLt authentication with IE flavour + * CURLAUTH_DIGEST_IE - HTTP DiJNxt authentication with IE flavour * CURLAUTH_NTLM_WB - HTTP NTLM authentication delegated to winbind helper * CURLAUTH_BEARER - HTTP Bearer token authentication * CURLAUTH_ONLY - Use together with a single other type to force no @@ -822,19 +846,19 @@ typedef enum { #define CURLAUTH_ANY (~CURLAUTH_DIGEST_IE) #define CURLAUTH_ANYSAFE (~(CURLAUTH_BASIC|CURLAUTH_DIGEST_IE)) -#define CURLSSH_AUTH_ANY ~0 /* all types supported by the server */ -#define CURLSSH_AUTH_NONE 0 /* none allowed, silly but complete */ -#define CURLSSH_AUTH_PUBLICKEY (1<<0) /* public/private key files */ -#define CURLSSH_AUTH_PASSWORD (1<<1) /* password */ -#define CURLSSH_AUTH_HOST (1<<2) /* host key files */ -#define CURLSSH_AUTH_KEYBOARD (1<<3) /* keyboard interactive */ -#define CURLSSH_AUTH_AGENT (1<<4) /* agent (ssh-agent, pageant...) */ -#define CURLSSH_AUTH_GSSAPI (1<<5) /* gssapi (kerberos, ...) */ +#define CURLSSH_AUTH_ANY ~0L /* all types supported by the server */ +#define CURLSSH_AUTH_NONE 0L /* none allowed, silly but complete */ +#define CURLSSH_AUTH_PUBLICKEY (1L<<0) /* public/private key files */ +#define CURLSSH_AUTH_PASSWORD (1L<<1) /* password */ +#define CURLSSH_AUTH_HOST (1L<<2) /* host key files */ +#define CURLSSH_AUTH_KEYBOARD (1L<<3) /* keyboard interactive */ +#define CURLSSH_AUTH_AGENT (1L<<4) /* agent (ssh-agent, pageant...) */ +#define CURLSSH_AUTH_GSSAPI (1L<<5) /* gssapi (kerberos, ...) */ #define CURLSSH_AUTH_DEFAULT CURLSSH_AUTH_ANY -#define CURLGSSAPI_DELEGATION_NONE 0 /* no delegation (default) */ -#define CURLGSSAPI_DELEGATION_POLICY_FLAG (1<<0) /* if permitted by policy */ -#define CURLGSSAPI_DELEGATION_FLAG (1<<1) /* delegate always */ +#define CURLGSSAPI_DELEGATION_NONE 0L /* no delegation (default) */ +#define CURLGSSAPI_DELEGATION_POLICY_FLAG (1L<<0) /* if permitted by policy */ +#define CURLGSSAPI_DELEGATION_FLAG (1L<<1) /* delegate always */ #define CURL_ERROR_SIZE 256 @@ -860,7 +884,7 @@ enum curl_khstat { CURLKHSTAT_FINE_ADD_TO_FILE, CURLKHSTAT_FINE, CURLKHSTAT_REJECT, /* reject the connection, return an error */ - CURLKHSTAT_DEFER, /* do not accept it, but we can't answer right now. + CURLKHSTAT_DEFER, /* do not accept it, but we cannot answer right now. Causes a CURLE_PEER_FAILED_VERIFICATION error but the connection will be left intact etc */ CURLKHSTAT_FINE_REPLACE, /* accept and replace the wrong key */ @@ -894,12 +918,13 @@ typedef int /* parameter for the CURLOPT_USE_SSL option */ +#define CURLUSESSL_NONE 0L /* do not attempt to use SSL */ +#define CURLUSESSL_TRY 1L /* try using SSL, proceed anyway otherwise */ +#define CURLUSESSL_CONTROL 2L /* SSL for the control connection or fail */ +#define CURLUSESSL_ALL 3L /* SSL for all communication or fail */ + typedef enum { - CURLUSESSL_NONE, /* do not attempt to use SSL */ - CURLUSESSL_TRY, /* try using SSL, proceed anyway otherwise */ - CURLUSESSL_CONTROL, /* SSL for the control connection or fail */ - CURLUSESSL_ALL, /* SSL for all communication or fail */ - CURLUSESSL_LAST /* not an option, never use */ + CURLUSESSL_LAST = 4 /* not an option, never use */ } curl_usessl; /* Definition of bits for the CURLOPT_SSL_OPTIONS argument: */ @@ -909,28 +934,31 @@ typedef enum { have introduced work-arounds for this flaw but those work-arounds sometimes make the SSL communication fail. To regain functionality with those broken servers, a user can this way allow the vulnerability back. */ -#define CURLSSLOPT_ALLOW_BEAST (1<<0) +#define CURLSSLOPT_ALLOW_BEAST (1L<<0) /* - NO_REVOKE tells libcurl to disable certificate revocation checks for those SSL backends where such behavior is present. */ -#define CURLSSLOPT_NO_REVOKE (1<<1) +#define CURLSSLOPT_NO_REVOKE (1L<<1) /* - NO_PARTIALCHAIN tells libcurl to *NOT* accept a partial certificate chain if possible. The OpenSSL backend has this ability. */ -#define CURLSSLOPT_NO_PARTIALCHAIN (1<<2) +#define CURLSSLOPT_NO_PARTIALCHAIN (1L<<2) /* - REVOKE_BEST_EFFORT tells libcurl to ignore certificate revocation offline checks and ignore missing revocation list for those SSL backends where such behavior is present. */ -#define CURLSSLOPT_REVOKE_BEST_EFFORT (1<<3) +#define CURLSSLOPT_REVOKE_BEST_EFFORT (1L<<3) /* - CURLSSLOPT_NATIVE_CA tells libcurl to use standard certificate store of operating system. Currently implemented under MS-Windows. */ -#define CURLSSLOPT_NATIVE_CA (1<<4) +#define CURLSSLOPT_NATIVE_CA (1L<<4) /* - CURLSSLOPT_AUTO_CLIENT_CERT tells libcurl to automatically locate and use a client certificate for authentication. (Schannel) */ -#define CURLSSLOPT_AUTO_CLIENT_CERT (1<<5) +#define CURLSSLOPT_AUTO_CLIENT_CERT (1L<<5) + +/* If possible, send data using TLS 1.3 early data */ +#define CURLSSLOPT_EARLYDATA (1L<<6) /* The default connection attempt delay in milliseconds for happy eyeballs. CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS.3 and happy-eyeballs-timeout-ms.d document @@ -955,51 +983,62 @@ typedef enum { #endif /* !CURL_NO_OLDIES */ /* parameter for the CURLOPT_FTP_SSL_CCC option */ +#define CURLFTPSSL_CCC_NONE 0L /* do not send CCC */ +#define CURLFTPSSL_CCC_PASSIVE 1L /* Let the server initiate the shutdown */ +#define CURLFTPSSL_CCC_ACTIVE 2L /* Initiate the shutdown */ + typedef enum { - CURLFTPSSL_CCC_NONE, /* do not send CCC */ - CURLFTPSSL_CCC_PASSIVE, /* Let the server initiate the shutdown */ - CURLFTPSSL_CCC_ACTIVE, /* Initiate the shutdown */ - CURLFTPSSL_CCC_LAST /* not an option, never use */ + CURLFTPSSL_CCC_LAST = 3 /* not an option, never use */ } curl_ftpccc; /* parameter for the CURLOPT_FTPSSLAUTH option */ +#define CURLFTPAUTH_DEFAULT 0L /* let libcurl decide */ +#define CURLFTPAUTH_SSL 1L /* use "AUTH SSL" */ +#define CURLFTPAUTH_TLS 2L /* use "AUTH TLS" */ + typedef enum { - CURLFTPAUTH_DEFAULT, /* let libcurl decide */ - CURLFTPAUTH_SSL, /* use "AUTH SSL" */ - CURLFTPAUTH_TLS, /* use "AUTH TLS" */ - CURLFTPAUTH_LAST /* not an option, never use */ + CURLFTPAUTH_LAST = 3 /* not an option, never use */ } curl_ftpauth; /* parameter for the CURLOPT_FTP_CREATE_MISSING_DIRS option */ +#define CURLFTP_CREATE_DIR_NONE 0L /* do NOT create missing dirs! */ +#define CURLFTP_CREATE_DIR 1L /* (FTP/SFTP) if CWD fails, try MKD and + then CWD again if MKD succeeded, for + SFTP this does similar magic */ +#define CURLFTP_CREATE_DIR_RETRY 2L /* (FTP only) if CWD fails, try MKD and + then CWD again even if MKD failed! */ + typedef enum { - CURLFTP_CREATE_DIR_NONE, /* do NOT create missing dirs! */ - CURLFTP_CREATE_DIR, /* (FTP/SFTP) if CWD fails, try MKD and then CWD - again if MKD succeeded, for SFTP this does - similar magic */ - CURLFTP_CREATE_DIR_RETRY, /* (FTP only) if CWD fails, try MKD and then CWD - again even if MKD failed! */ - CURLFTP_CREATE_DIR_LAST /* not an option, never use */ + CURLFTP_CREATE_DIR_LAST = 3 /* not an option, never use */ } curl_ftpcreatedir; /* parameter for the CURLOPT_FTP_FILEMETHOD option */ +#define CURLFTPMETHOD_DEFAULT 0L /* let libcurl pick */ +#define CURLFTPMETHOD_MULTICWD 1L /* single CWD operation for each path + part */ +#define CURLFTPMETHOD_NOCWD 2L /* no CWD at all */ +#define CURLFTPMETHOD_SINGLECWD 3L /* one CWD to full dir, then work on file */ + typedef enum { - CURLFTPMETHOD_DEFAULT, /* let libcurl pick */ - CURLFTPMETHOD_MULTICWD, /* single CWD operation for each path part */ - CURLFTPMETHOD_NOCWD, /* no CWD at all */ - CURLFTPMETHOD_SINGLECWD, /* one CWD to full dir, then work on file */ - CURLFTPMETHOD_LAST /* not an option, never use */ + CURLFTPMETHOD_LAST = 4 /* not an option, never use */ } curl_ftpmethod; /* bitmask defines for CURLOPT_HEADEROPT */ -#define CURLHEADER_UNIFIED 0 -#define CURLHEADER_SEPARATE (1<<0) +#define CURLHEADER_UNIFIED 0L +#define CURLHEADER_SEPARATE (1L<<0) /* CURLALTSVC_* are bits for the CURLOPT_ALTSVC_CTRL option */ -#define CURLALTSVC_READONLYFILE (1<<2) -#define CURLALTSVC_H1 (1<<3) -#define CURLALTSVC_H2 (1<<4) -#define CURLALTSVC_H3 (1<<5) - +#define CURLALTSVC_READONLYFILE (1L<<2) +#define CURLALTSVC_H1 (1L<<3) +#define CURLALTSVC_H2 (1L<<4) +#define CURLALTSVC_H3 (1L<<5) + +/* bitmask values for CURLOPT_UPLOAD_FLAGS */ +#define CURLULFLAG_ANSWERED (1L<<0) +#define CURLULFLAG_DELETED (1L<<1) +#define CURLULFLAG_DRAFT (1L<<2) +#define CURLULFLAG_FLAGGED (1L<<3) +#define CURLULFLAG_SEEN (1L<<4) struct curl_hstsentry { char *name; @@ -1028,42 +1067,42 @@ typedef CURLSTScode (*curl_hstswrite_callback)(CURL *easy, void *userp); /* CURLHSTS_* are bits for the CURLOPT_HSTS option */ -#define CURLHSTS_ENABLE (long)(1<<0) -#define CURLHSTS_READONLYFILE (long)(1<<1) +#define CURLHSTS_ENABLE (1L<<0) +#define CURLHSTS_READONLYFILE (1L<<1) /* The CURLPROTO_ defines below are for the **deprecated** CURLOPT_*PROTOCOLS options. Do not use. */ -#define CURLPROTO_HTTP (1<<0) -#define CURLPROTO_HTTPS (1<<1) -#define CURLPROTO_FTP (1<<2) -#define CURLPROTO_FTPS (1<<3) -#define CURLPROTO_SCP (1<<4) -#define CURLPROTO_SFTP (1<<5) -#define CURLPROTO_TELNET (1<<6) -#define CURLPROTO_LDAP (1<<7) -#define CURLPROTO_LDAPS (1<<8) -#define CURLPROTO_DICT (1<<9) -#define CURLPROTO_FILE (1<<10) -#define CURLPROTO_TFTP (1<<11) -#define CURLPROTO_IMAP (1<<12) -#define CURLPROTO_IMAPS (1<<13) -#define CURLPROTO_POP3 (1<<14) -#define CURLPROTO_POP3S (1<<15) -#define CURLPROTO_SMTP (1<<16) -#define CURLPROTO_SMTPS (1<<17) -#define CURLPROTO_RTSP (1<<18) -#define CURLPROTO_RTMP (1<<19) -#define CURLPROTO_RTMPT (1<<20) -#define CURLPROTO_RTMPE (1<<21) -#define CURLPROTO_RTMPTE (1<<22) -#define CURLPROTO_RTMPS (1<<23) -#define CURLPROTO_RTMPTS (1<<24) -#define CURLPROTO_GOPHER (1<<25) -#define CURLPROTO_SMB (1<<26) -#define CURLPROTO_SMBS (1<<27) -#define CURLPROTO_MQTT (1<<28) -#define CURLPROTO_GOPHERS (1<<29) -#define CURLPROTO_ALL (~0) /* enable everything */ +#define CURLPROTO_HTTP (1L<<0) +#define CURLPROTO_HTTPS (1L<<1) +#define CURLPROTO_FTP (1L<<2) +#define CURLPROTO_FTPS (1L<<3) +#define CURLPROTO_SCP (1L<<4) +#define CURLPROTO_SFTP (1L<<5) +#define CURLPROTO_TELNET (1L<<6) +#define CURLPROTO_LDAP (1L<<7) +#define CURLPROTO_LDAPS (1L<<8) +#define CURLPROTO_DICT (1L<<9) +#define CURLPROTO_FILE (1L<<10) +#define CURLPROTO_TFTP (1L<<11) +#define CURLPROTO_IMAP (1L<<12) +#define CURLPROTO_IMAPS (1L<<13) +#define CURLPROTO_POP3 (1L<<14) +#define CURLPROTO_POP3S (1L<<15) +#define CURLPROTO_SMTP (1L<<16) +#define CURLPROTO_SMTPS (1L<<17) +#define CURLPROTO_RTSP (1L<<18) +#define CURLPROTO_RTMP (1L<<19) +#define CURLPROTO_RTMPT (1L<<20) +#define CURLPROTO_RTMPE (1L<<21) +#define CURLPROTO_RTMPTE (1L<<22) +#define CURLPROTO_RTMPS (1L<<23) +#define CURLPROTO_RTMPTS (1L<<24) +#define CURLPROTO_GOPHER (1L<<25) +#define CURLPROTO_SMB (1L<<26) +#define CURLPROTO_SMBS (1L<<27) +#define CURLPROTO_MQTT (1L<<28) +#define CURLPROTO_GOPHERS (1L<<29) +#define CURLPROTO_ALL (~0L) /* enable everything */ /* long may be 32 or 64 bits, but we should never depend on anything else but 32 */ @@ -1080,7 +1119,7 @@ typedef CURLSTScode (*curl_hstswrite_callback)(CURL *easy, #define CURLOPT(na,t,nu) na = t + nu #define CURLOPTDEPRECATED(na,t,nu,v,m) na CURL_DEPRECATED(v,m) = t + nu -/* CURLOPT aliases that make no run-time difference */ +/* CURLOPT aliases that make no runtime difference */ /* 'char *' argument to a string with a trailing zero */ #define CURLOPTTYPE_STRINGPOINT CURLOPTTYPE_OBJECTPOINT @@ -1125,7 +1164,7 @@ typedef enum { /* Specified file stream to upload from (use as input): */ CURLOPT(CURLOPT_READDATA, CURLOPTTYPE_CBPOINT, 9), - /* Buffer to receive error messaHuL in, must be at least CURL_ERROR_SIZE + /* Buffer to receive error messaJNx in, must be at least CURL_ERROR_SIZE * bytes big. */ CURLOPT(CURLOPT_ERRORBUFFER, CURLOPTTYPE_OBJECTPOINT, 10), @@ -1147,7 +1186,7 @@ typedef enum { * * For large file support, there is also a _LARGE version of the key * which takes an off_t type, allowing platforms with larger off_t - * sizes to handle larger files. See below for INFILESIZE_LARGE. + * sizes to handle larger files. See below for INFILESIZE_LARGE. */ CURLOPT(CURLOPT_INFILESIZE, CURLOPTTYPE_LONG, 14), @@ -1180,7 +1219,7 @@ typedef enum { * * Note there is also a _LARGE version of this key which uses * off_t types, allowing for large file offsets on platforms which - * use larger-than-32-bit off_t's. Look below for RESUME_FROM_LARGE. + * use larger-than-32-bit off_t's. Look below for RESUME_FROM_LARGE. */ CURLOPT(CURLOPT_RESUME_FROM, CURLOPTTYPE_LONG, 21), @@ -1242,8 +1281,7 @@ typedef enum { /* send linked-list of post-transfer QUOTE commands */ CURLOPT(CURLOPT_POSTQUOTE, CURLOPTTYPE_SLISTPOINT, 39), - /* OBSOLETE, do not use! */ - CURLOPT(CURLOPT_OBSOLETE40, CURLOPTTYPE_OBJECTPOINT, 40), + /* 40 is not used */ /* talk a lot */ CURLOPT(CURLOPT_VERBOSE, CURLOPTTYPE_LONG, 41), @@ -1316,9 +1354,9 @@ typedef enum { /* Set the interface string to use as outgoing network interface */ CURLOPT(CURLOPT_INTERFACE, CURLOPTTYPE_STRINGPOINT, 62), - /* Set the krb4/5 security level, this also enables krb4/5 awareness. This - * is a string, 'clear', 'safe', 'confidential' or 'private'. If the string - * is set but doesn't match one of these, 'private' will be used. */ + /* Set the krb4/5 security level, this also enables krb4/5 awareness. This + * is a string, 'clear', 'safe', 'confidential' or 'private'. If the string + * is set but does not match one of these, 'private' will be used. */ CURLOPT(CURLOPT_KRBLEVEL, CURLOPTTYPE_STRINGPOINT, 63), /* Set if we should verify the peer in ssl handshake, set 1 to verify. */ @@ -1344,22 +1382,20 @@ typedef enum { /* Max amount of cached alive connections */ CURLOPT(CURLOPT_MAXCONNECTS, CURLOPTTYPE_LONG, 71), - /* OBSOLETE, do not use! */ - CURLOPT(CURLOPT_OBSOLETE72, CURLOPTTYPE_LONG, 72), - + /* 72 = OBSOLETE */ /* 73 = OBSOLETE */ /* Set to explicitly use a new connection for the upcoming transfer. - Do not use this unless you're absolutely sure of this, as it makes the + Do not use this unless you are absolutely sure of this, as it makes the operation slower and is less friendly for the network. */ CURLOPT(CURLOPT_FRESH_CONNECT, CURLOPTTYPE_LONG, 74), /* Set to explicitly forbid the upcoming transfer's connection to be reused - when done. Do not use this unless you're absolutely sure of this, as it + when done. Do not use this unless you are absolutely sure of this, as it makes the operation slower and is less friendly for the network. */ CURLOPT(CURLOPT_FORBID_REUSE, CURLOPTTYPE_LONG, 75), - /* Set to a file name that contains random data for libcurl to use to + /* Set to a filename that contains random data for libcurl to use to seed the random engine when doing SSL connects. */ CURLOPTDEPRECATED(CURLOPT_RANDOM_FILE, CURLOPTTYPE_STRINGPOINT, 76, 7.84.0, "Serves no purpose anymore"), @@ -1386,11 +1422,11 @@ typedef enum { * provided hostname. */ CURLOPT(CURLOPT_SSL_VERIFYHOST, CURLOPTTYPE_LONG, 81), - /* Specify which file name to write all known cookies in after completed - operation. Set file name to "-" (dash) to make it go to stdout. */ + /* Specify which filename to write all known cookies in after completed + operation. Set filename to "-" (dash) to make it go to stdout. */ CURLOPT(CURLOPT_COOKIEJAR, CURLOPTTYPE_STRINGPOINT, 82), - /* Specify which SSL ciphers to use */ + /* Specify which TLS 1.2 (1.1, 1.0) ciphers to use */ CURLOPT(CURLOPT_SSL_CIPHER_LIST, CURLOPTTYPE_STRINGPOINT, 83), /* Specify which HTTP version to use! This must be set to one of the @@ -1486,7 +1522,7 @@ typedef enum { CURLOPT(CURLOPT_HTTPAUTH, CURLOPTTYPE_VALUES, 107), /* Set the ssl context callback function, currently only for OpenSSL or - WolfSSL ssl_ctx, or mbedTLS mbedtls_ssl_config in the second argument. + wolfSSL ssl_ctx, or mbedTLS mbedtls_ssl_config in the second argument. The function must match the curl_ssl_ctx_callback prototype. */ CURLOPT(CURLOPT_SSL_CTX_FUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 108), @@ -1505,8 +1541,8 @@ typedef enum { Note that setting multiple bits may cause extra network round-trips. */ CURLOPT(CURLOPT_PROXYAUTH, CURLOPTTYPE_VALUES, 111), - /* Option that chanHuL the timeout, in seconds, associated with getting a - response. This is different from transfer timeout time and essentially + /* Option that chanJNx the timeout, in seconds, associated with getting a + response. This is different from transfer timeout time and essentially places a demand on the server to acknowledge commands in a timely manner. For FTP, SMTP, IMAP and POP3. */ CURLOPT(CURLOPT_SERVER_RESPONSE_TIMEOUT, CURLOPTTYPE_LONG, 112), @@ -1520,7 +1556,7 @@ typedef enum { an HTTP or FTP server. Note there is also _LARGE version which adds large file support for - platforms which have larger off_t sizes. See MAXFILESIZE_LARGE below. */ + platforms which have larger off_t sizes. See MAXFILESIZE_LARGE below. */ CURLOPT(CURLOPT_MAXFILESIZE, CURLOPTTYPE_LONG, 114), /* See the comment for INFILESIZE above, but in short, specifies @@ -1528,17 +1564,17 @@ typedef enum { */ CURLOPT(CURLOPT_INFILESIZE_LARGE, CURLOPTTYPE_OFF_T, 115), - /* Sets the continuation offset. There is also a CURLOPTTYPE_LONG version + /* Sets the continuation offset. There is also a CURLOPTTYPE_LONG version * of this; look above for RESUME_FROM. */ CURLOPT(CURLOPT_RESUME_FROM_LARGE, CURLOPTTYPE_OFF_T, 116), /* Sets the maximum size of data that will be downloaded from - * an HTTP or FTP server. See MAXFILESIZE above for the LONG version. + * an HTTP or FTP server. See MAXFILESIZE above for the LONG version. */ CURLOPT(CURLOPT_MAXFILESIZE_LARGE, CURLOPTTYPE_OFF_T, 117), - /* Set this option to the file name of your .netrc file you want libcurl + /* Set this option to the filename of your .netrc file you want libcurl to parse (using the CURLOPT_NETRC option). If not set, libcurl will do a poor attempt to find the user's home directory and check for a .netrc file in there. */ @@ -1685,7 +1721,7 @@ typedef enum { /* Callback function for opening socket (instead of socket(2)). Optionally, callback is able change the address or refuse to connect returning - CURL_SOCKET_BAD. The callback should have type + CURL_SOCKET_BAD. The callback should have type curl_opensocket_callback */ CURLOPT(CURLOPT_OPENSOCKETFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 163), CURLOPT(CURLOPT_OPENSOCKETDATA, CURLOPTTYPE_CBPOINT, 164), @@ -1755,7 +1791,7 @@ typedef enum { CURLOPTDEPRECATED(CURLOPT_REDIR_PROTOCOLS, CURLOPTTYPE_LONG, 182, 7.85.0, "Use CURLOPT_REDIR_PROTOCOLS_STR"), - /* set the SSH knownhost file name to use */ + /* set the SSH knownhost filename to use */ CURLOPT(CURLOPT_SSH_KNOWNHOSTS, CURLOPTTYPE_STRINGPOINT, 183), /* set the SSH host key callback, must point to a curl_sshkeycallback @@ -1836,7 +1872,7 @@ typedef enum { future libcurl release. libcurl will ask for the compressed methods it knows of, and if that - isn't any, it will not ask for transfer-encoding at all even if this + is not any, it will not ask for transfer-encoding at all even if this option is set to 1. */ @@ -1927,7 +1963,8 @@ typedef enum { CURLOPT(CURLOPT_SSL_VERIFYSTATUS, CURLOPTTYPE_LONG, 232), /* Set if we should enable TLS false start. */ - CURLOPT(CURLOPT_SSL_FALSESTART, CURLOPTTYPE_LONG, 233), + CURLOPTDEPRECATED(CURLOPT_SSL_FALSESTART, CURLOPTTYPE_LONG, 233, + 8.15.0, "Has no function"), /* Do not squash dot-dot sequences */ CURLOPT(CURLOPT_PATH_AS_IS, CURLOPTTYPE_LONG, 234), @@ -1938,7 +1975,7 @@ typedef enum { /* Service Name */ CURLOPT(CURLOPT_SERVICE_NAME, CURLOPTTYPE_STRINGPOINT, 236), - /* Wait/don't wait for pipe/mutex to clarify */ + /* Wait/do not wait for pipe/mutex to clarify */ CURLOPT(CURLOPT_PIPEWAIT, CURLOPTTYPE_LONG, 237), /* Set the protocol used when curl is given a URL without a protocol */ @@ -1947,10 +1984,10 @@ typedef enum { /* Set stream weight, 1 - 256 (default is 16) */ CURLOPT(CURLOPT_STREAM_WEIGHT, CURLOPTTYPE_LONG, 239), - /* Set stream dependency on another CURL handle */ + /* Set stream dependency on another curl handle */ CURLOPT(CURLOPT_STREAM_DEPENDS, CURLOPTTYPE_OBJECTPOINT, 240), - /* Set E-xclusive stream dependency on another CURL handle */ + /* Set E-xclusive stream dependency on another curl handle */ CURLOPT(CURLOPT_STREAM_DEPENDS_E, CURLOPTTYPE_OBJECTPOINT, 241), /* Do not send any tftp option requests to the server */ @@ -2014,7 +2051,7 @@ typedef enum { /* password for the SSL private key for proxy */ CURLOPT(CURLOPT_PROXY_KEYPASSWD, CURLOPTTYPE_STRINGPOINT, 258), - /* Specify which SSL ciphers to use for proxy */ + /* Specify which TLS 1.2 (1.1, 1.0) ciphers to use for proxy */ CURLOPT(CURLOPT_PROXY_SSL_CIPHER_LIST, CURLOPTTYPE_STRINGPOINT, 259), /* CRL file for proxy */ @@ -2099,7 +2136,7 @@ typedef enum { /* alt-svc control bitmask */ CURLOPT(CURLOPT_ALTSVC_CTRL, CURLOPTTYPE_LONG, 286), - /* alt-svc cache file name to possibly read from/write to */ + /* alt-svc cache filename to possibly read from/write to */ CURLOPT(CURLOPT_ALTSVC, CURLOPTTYPE_STRINGPOINT, 287), /* maximum age (idle time) of a connection to consider it for reuse @@ -2125,13 +2162,13 @@ typedef enum { /* the EC curves requested by the TLS client (RFC 8422, 5.1); * OpenSSL support via 'set_groups'/'set_curves': - * https://www.openssl.org/docs/manmaster/man3/SSL_CTX_set1_groups.html + * https://docs.openssl.org/master/man3/SSL_CTX_set1_curves/ */ CURLOPT(CURLOPT_SSL_EC_CURVES, CURLOPTTYPE_STRINGPOINT, 298), /* HSTS bitmask */ CURLOPT(CURLOPT_HSTS_CTRL, CURLOPTTYPE_LONG, 299), - /* HSTS file name */ + /* HSTS filename */ CURLOPT(CURLOPT_HSTS, CURLOPTTYPE_STRINGPOINT, 300), /* HSTS read callback */ @@ -2195,7 +2232,7 @@ typedef enum { /* specify which protocols that libcurl is allowed to follow directs to */ CURLOPT(CURLOPT_REDIR_PROTOCOLS_STR, CURLOPTTYPE_STRINGPOINT, 319), - /* websockets options */ + /* WebSockets options */ CURLOPT(CURLOPT_WS_OPTIONS, CURLOPTTYPE_LONG, 320), /* CA cache timeout */ @@ -2210,9 +2247,17 @@ typedef enum { /* millisecond version */ CURLOPT(CURLOPT_SERVER_RESPONSE_TIMEOUT_MS, CURLOPTTYPE_LONG, 324), - /* set ECH configuration */ + /* set ECH configuration */ CURLOPT(CURLOPT_ECH, CURLOPTTYPE_STRINGPOINT, 325), + /* maximum number of keepalive probes (Linux, *BSD, macOS, etc.) */ + CURLOPT(CURLOPT_TCP_KEEPCNT, CURLOPTTYPE_LONG, 326), + + CURLOPT(CURLOPT_UPLOAD_FLAGS, CURLOPTTYPE_LONG, 327), + + /* set TLS supported signature algorithms */ + CURLOPT(CURLOPT_SSL_SIGNATURE_ALGORITHMS, CURLOPTTYPE_STRINGPOINT, 328), + CURLOPT_LASTENTRY /* the last unused */ } CURLoption; @@ -2253,34 +2298,33 @@ typedef enum { /* Below here follows defines for the CURLOPT_IPRESOLVE option. If a host name resolves addresses using more than one IP protocol version, this option might be handy to force libcurl to use a specific IP version. */ -#define CURL_IPRESOLVE_WHATEVER 0 /* default, uses addresses to all IP +#define CURL_IPRESOLVE_WHATEVER 0L /* default, uses addresses to all IP versions that your system allows */ -#define CURL_IPRESOLVE_V4 1 /* uses only IPv4 addresses/connections */ -#define CURL_IPRESOLVE_V6 2 /* uses only IPv6 addresses/connections */ +#define CURL_IPRESOLVE_V4 1L /* uses only IPv4 addresses/connections */ +#define CURL_IPRESOLVE_V6 2L /* uses only IPv6 addresses/connections */ /* Convenient "aliases" */ #define CURLOPT_RTSPHEADER CURLOPT_HTTPHEADER - /* These enums are for use with the CURLOPT_HTTP_VERSION option. */ -enum { - CURL_HTTP_VERSION_NONE, /* setting this means we don't care, and that we'd - like the library to choose the best possible - for us! */ - CURL_HTTP_VERSION_1_0, /* please use HTTP 1.0 in the request */ - CURL_HTTP_VERSION_1_1, /* please use HTTP 1.1 in the request */ - CURL_HTTP_VERSION_2_0, /* please use HTTP 2 in the request */ - CURL_HTTP_VERSION_2TLS, /* use version 2 for HTTPS, version 1.1 for HTTP */ - CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE, /* please use HTTP 2 without HTTP/1.1 - Upgrade */ - CURL_HTTP_VERSION_3 = 30, /* Use HTTP/3, fallback to HTTP/2 or HTTP/1 if - needed. For HTTPS only. For HTTP, this option - makes libcurl return error. */ - CURL_HTTP_VERSION_3ONLY = 31, /* Use HTTP/3 without fallback. For HTTPS - only. For HTTP, this makes libcurl - return error. */ - - CURL_HTTP_VERSION_LAST /* *ILLEGAL* http version */ -}; +/* These constants are for use with the CURLOPT_HTTP_VERSION option. */ +#define CURL_HTTP_VERSION_NONE 0L /* setting this means we do not care, and + that we would like the library to choose + the best possible for us! */ +#define CURL_HTTP_VERSION_1_0 1L /* please use HTTP 1.0 in the request */ +#define CURL_HTTP_VERSION_1_1 2L /* please use HTTP 1.1 in the request */ +#define CURL_HTTP_VERSION_2_0 3L /* please use HTTP 2 in the request */ +#define CURL_HTTP_VERSION_2TLS 4L /* use version 2 for HTTPS, version 1.1 for + HTTP */ +#define CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE 5L /* please use HTTP 2 without + HTTP/1.1 Upgrade */ +#define CURL_HTTP_VERSION_3 30L /* Use HTTP/3, fallback to HTTP/2 or + HTTP/1 if needed. For HTTPS only. For + HTTP, this option makes libcurl + return error. */ +#define CURL_HTTP_VERSION_3ONLY 31L /* Use HTTP/3 without fallback. For + HTTPS only. For HTTP, this makes + libcurl return error. */ +#define CURL_HTTP_VERSION_LAST 32L /* *ILLEGAL* http version */ /* Convenience definition simple because the name of the version is HTTP/2 and not 2.0. The 2_0 version of the enum name was set while the version was @@ -2290,46 +2334,47 @@ enum { /* * Public API enums for RTSP requests */ -enum { - CURL_RTSPREQ_NONE, /* first in list */ - CURL_RTSPREQ_OPTIONS, - CURL_RTSPREQ_DESCRIBE, - CURL_RTSPREQ_ANNOUNCE, - CURL_RTSPREQ_SETUP, - CURL_RTSPREQ_PLAY, - CURL_RTSPREQ_PAUSE, - CURL_RTSPREQ_TEARDOWN, - CURL_RTSPREQ_GET_PARAMETER, - CURL_RTSPREQ_SET_PARAMETER, - CURL_RTSPREQ_RECORD, - CURL_RTSPREQ_RECEIVE, - CURL_RTSPREQ_LAST /* last in list */ -}; + +#define CURL_RTSPREQ_NONE 0L +#define CURL_RTSPREQ_OPTIONS 1L +#define CURL_RTSPREQ_DESCRIBE 2L +#define CURL_RTSPREQ_ANNOUNCE 3L +#define CURL_RTSPREQ_SETUP 4L +#define CURL_RTSPREQ_PLAY 5L +#define CURL_RTSPREQ_PAUSE 6L +#define CURL_RTSPREQ_TEARDOWN 7L +#define CURL_RTSPREQ_GET_PARAMETER 8L +#define CURL_RTSPREQ_SET_PARAMETER 9L +#define CURL_RTSPREQ_RECORD 10L +#define CURL_RTSPREQ_RECEIVE 11L +#define CURL_RTSPREQ_LAST 12L /* not used */ /* These enums are for use with the CURLOPT_NETRC option. */ +#define CURL_NETRC_IGNORED 0L /* The .netrc will never be read. + This is the default. */ +#define CURL_NETRC_OPTIONAL 1L /* A user:password in the URL will be preferred + to one in the .netrc. */ +#define CURL_NETRC_REQUIRED 2L /* A user:password in the URL will be ignored. + Unless one is set programmatically, the + .netrc will be queried. */ enum CURL_NETRC_OPTION { - CURL_NETRC_IGNORED, /* The .netrc will never be read. - * This is the default. */ - CURL_NETRC_OPTIONAL, /* A user:password in the URL will be preferred - * to one in the .netrc. */ - CURL_NETRC_REQUIRED, /* A user:password in the URL will be ignored. - * Unless one is set programmatically, the .netrc - * will be queried. */ - CURL_NETRC_LAST + /* we set a single member here, just to make sure we still provide the enum, + but the values to use are defined above with L suffixes */ + CURL_NETRC_LAST = 3 }; -#define CURL_SSLVERSION_DEFAULT 0 -#define CURL_SSLVERSION_TLSv1 1 /* TLS 1.x */ -#define CURL_SSLVERSION_SSLv2 2 -#define CURL_SSLVERSION_SSLv3 3 -#define CURL_SSLVERSION_TLSv1_0 4 -#define CURL_SSLVERSION_TLSv1_1 5 -#define CURL_SSLVERSION_TLSv1_2 6 -#define CURL_SSLVERSION_TLSv1_3 7 +#define CURL_SSLVERSION_DEFAULT 0L +#define CURL_SSLVERSION_TLSv1 1L /* TLS 1.x */ +#define CURL_SSLVERSION_SSLv2 2L +#define CURL_SSLVERSION_SSLv3 3L +#define CURL_SSLVERSION_TLSv1_0 4L +#define CURL_SSLVERSION_TLSv1_1 5L +#define CURL_SSLVERSION_TLSv1_2 6L +#define CURL_SSLVERSION_TLSv1_3 7L -#define CURL_SSLVERSION_LAST 8 /* never use, keep last */ +#define CURL_SSLVERSION_LAST 8L /* never use, keep last */ -#define CURL_SSLVERSION_MAX_NONE 0 +#define CURL_SSLVERSION_MAX_NONE 0L #define CURL_SSLVERSION_MAX_DEFAULT (CURL_SSLVERSION_TLSv1 << 16) #define CURL_SSLVERSION_MAX_TLSv1_0 (CURL_SSLVERSION_TLSv1_0 << 16) #define CURL_SSLVERSION_MAX_TLSv1_1 (CURL_SSLVERSION_TLSv1_1 << 16) @@ -2339,10 +2384,13 @@ enum CURL_NETRC_OPTION { /* never use, keep last */ #define CURL_SSLVERSION_MAX_LAST (CURL_SSLVERSION_LAST << 16) +#define CURL_TLSAUTH_NONE 0L +#define CURL_TLSAUTH_SRP 1L + enum CURL_TLSAUTH { - CURL_TLSAUTH_NONE, - CURL_TLSAUTH_SRP, - CURL_TLSAUTH_LAST /* never use, keep last */ + /* we set a single member here, just to make sure we still provide the enum, + but the values to use are defined above with L suffixes */ + CURL_TLSAUTH_LAST = 2 }; /* symbols to use with CURLOPT_POSTREDIR. @@ -2350,21 +2398,23 @@ enum CURL_TLSAUTH { can be bitwise ORed so that CURL_REDIR_POST_301 | CURL_REDIR_POST_302 | CURL_REDIR_POST_303 == CURL_REDIR_POST_ALL */ -#define CURL_REDIR_GET_ALL 0 -#define CURL_REDIR_POST_301 1 -#define CURL_REDIR_POST_302 2 -#define CURL_REDIR_POST_303 4 +#define CURL_REDIR_GET_ALL 0L +#define CURL_REDIR_POST_301 1L +#define CURL_REDIR_POST_302 2L +#define CURL_REDIR_POST_303 4L #define CURL_REDIR_POST_ALL \ (CURL_REDIR_POST_301|CURL_REDIR_POST_302|CURL_REDIR_POST_303) -typedef enum { - CURL_TIMECOND_NONE, - - CURL_TIMECOND_IFMODSINCE, - CURL_TIMECOND_IFUNMODSINCE, - CURL_TIMECOND_LASTMOD, +#define CURL_TIMECOND_NONE 0L +#define CURL_TIMECOND_IFMODSINCE 1L +#define CURL_TIMECOND_IFUNMODSINCE 2L +#define CURL_TIMECOND_LASTMOD 3L - CURL_TIMECOND_LAST +typedef enum { + /* we set a single member here, just to make sure we still provide + the enum typedef, but the values to use are defined above with L + suffixes */ + CURL_TIMECOND_LAST = 4 } curl_TimeCond; /* Special size_t value signaling a null-terminated string. */ @@ -2380,7 +2430,7 @@ typedef struct curl_mime curl_mime; /* Mime context. */ typedef struct curl_mimepart curl_mimepart; /* Mime part context. */ /* CURLMIMEOPT_ defines are for the CURLOPT_MIME_OPTIONS option. */ -#define CURLMIMEOPT_FORMESCAPE (1<<0) /* Use backslash-escaping for forms. */ +#define CURLMIMEOPT_FORMESCAPE (1L<<0) /* Use backslash-escaping for forms. */ /* * NAME curl_mime_init() @@ -2425,7 +2475,7 @@ CURL_EXTERN CURLcode curl_mime_name(curl_mimepart *part, const char *name); * * DESCRIPTION * - * Set mime part remote file name. + * Set mime part remote filename. */ CURL_EXTERN CURLcode curl_mime_filename(curl_mimepart *part, const char *filename); @@ -2634,7 +2684,7 @@ CURL_EXTERN char *curl_getenv(const char *variable); * * DESCRIPTION * - * Returns a static ascii string of the libcurl version. + * Returns a static ASCII string of the libcurl version. */ CURL_EXTERN char *curl_version(void); @@ -2706,10 +2756,10 @@ CURL_EXTERN CURLcode curl_global_init(long flags); * DESCRIPTION * * curl_global_init() or curl_global_init_mem() should be invoked exactly once - * for each application that uses libcurl. This function can be used to + * for each application that uses libcurl. This function can be used to * initialize libcurl and set user defined memory management callback - * functions. Users can implement memory management routines to check for - * memory leaks, check for mis-use of the curl library etc. User registered + * functions. Users can implement memory management routines to check for + * memory leaks, check for misuse of the curl library etc. User registered * callback routines will be invoked by this library instead of the system * memory management routines like malloc, free etc. */ @@ -2760,17 +2810,17 @@ struct curl_slist { * *before* curl_global_init(). * * The backend can be identified by the id (e.g. CURLSSLBACKEND_OPENSSL). The - * backend can also be specified via the name parameter (passing -1 as id). - * If both id and name are specified, the name will be ignored. If neither id - * nor name are specified, the function will fail with - * CURLSSLSET_UNKNOWN_BACKEND and set the "avail" pointer to the - * NULL-terminated list of available backends. + * backend can also be specified via the name parameter (passing -1 as id). If + * both id and name are specified, the name will be ignored. If neither id nor + * name are specified, the function will fail with CURLSSLSET_UNKNOWN_BACKEND + * and set the "avail" pointer to the NULL-terminated list of available + * backends. * * Upon success, the function returns CURLSSLSET_OK. * * If the specified SSL backend is not available, the function returns - * CURLSSLSET_UNKNOWN_BACKEND and sets the "avail" pointer to a NULL-terminated - * list of available SSL backends. + * CURLSSLSET_UNKNOWN_BACKEND and sets the "avail" pointer to a + * NULL-terminated list of available SSL backends. * * The SSL backend can be set only once. If it has already been set, a * subsequent attempt to change it will result in a CURLSSLSET_TOO_LATE. @@ -2827,7 +2877,7 @@ CURL_EXTERN time_t curl_getdate(const char *p, const time_t *unused); for with CURLOPT_CERTINFO / CURLINFO_CERTINFO */ struct curl_certinfo { int num_of_certs; /* number of certificates with information */ - struct curl_slist **certinfo; /* for each index in this array, there's a + struct curl_slist **certinfo; /* for each index in this array, there is a linked list with textual information for a certificate in the format "name:content". eg "Subject:foo", "Issuer:bar", etc. */ @@ -2942,7 +2992,11 @@ typedef enum { CURLINFO_CONN_ID = CURLINFO_OFF_T + 64, CURLINFO_QUEUE_TIME_T = CURLINFO_OFF_T + 65, CURLINFO_USED_PROXY = CURLINFO_LONG + 66, - CURLINFO_LASTONE = 66 + CURLINFO_POSTTRANSFER_TIME_T = CURLINFO_OFF_T + 67, + CURLINFO_EARLYDATA_SENT_T = CURLINFO_OFF_T + 68, + CURLINFO_HTTPAUTH_USED = CURLINFO_LONG + 69, + CURLINFO_PROXYAUTH_USED = CURLINFO_LONG + 70, + CURLINFO_LASTONE = 70 } CURLINFO; /* CURLINFO_RESPONSE_CODE is the new name for the option previously known as @@ -3018,7 +3072,7 @@ typedef enum { } CURLSHcode; typedef enum { - CURLSHOPT_NONE, /* don't use */ + CURLSHOPT_NONE, /* do not use */ CURLSHOPT_SHARE, /* specify a data type to share */ CURLSHOPT_UNSHARE, /* specify which data type to stop sharing */ CURLSHOPT_LOCKFUNC, /* pass in a 'curl_lock_function' pointer */ @@ -3056,7 +3110,7 @@ typedef enum { /* The 'CURLVERSION_NOW' is the symbolic name meant to be used by basically all programs ever that want to get version information. It is meant to be a built-in version number for what kind of struct the caller - expects. If the struct ever chanHuL, we redefine the NOW to another enum + expects. If the struct ever chanJNx, we redefine the NOW to another enum from above. */ #define CURLVERSION_NOW CURLVERSION_TWELFTH @@ -3177,8 +3231,8 @@ CURL_EXTERN curl_version_info_data *curl_version_info(CURLversion); * DESCRIPTION * * The curl_easy_strerror function may be used to turn a CURLcode value - * into the equivalent human readable error string. This is useful - * for printing meaningful error messaHuL. + * into the equivalent human readable error string. This is useful + * for printing meaningful error messaJNx. */ CURL_EXTERN const char *curl_easy_strerror(CURLcode); @@ -3188,8 +3242,8 @@ CURL_EXTERN const char *curl_easy_strerror(CURLcode); * DESCRIPTION * * The curl_share_strerror function may be used to turn a CURLSHcode value - * into the equivalent human readable error string. This is useful - * for printing meaningful error messaHuL. + * into the equivalent human readable error string. This is useful + * for printing meaningful error messaJNx. */ CURL_EXTERN const char *curl_share_strerror(CURLSHcode); @@ -3213,7 +3267,51 @@ CURL_EXTERN CURLcode curl_easy_pause(CURL *handle, int bitmask); #define CURLPAUSE_ALL (CURLPAUSE_RECV|CURLPAUSE_SEND) #define CURLPAUSE_CONT (CURLPAUSE_RECV_CONT|CURLPAUSE_SEND_CONT) -#ifdef __cplusplus +/* + * NAME curl_easy_ssls_import() + * + * DESCRIPTION + * + * The curl_easy_ssls_import function adds a previously exported SSL session + * to the SSL session cache of the easy handle (or the underlying share). + */ +CURL_EXTERN CURLcode curl_easy_ssls_import(CURL *handle, + const char *session_key, + const unsigned char *shmac, + size_t shmac_len, + const unsigned char *sdata, + size_t sdata_len); + +/* This is the curl_ssls_export_cb callback prototype. It + * is passed to curl_easy_ssls_export() to extract SSL sessions/tickets. */ +typedef CURLcode curl_ssls_export_cb(CURL *handle, + void *userptr, + const char *session_key, + const unsigned char *shmac, + size_t shmac_len, + const unsigned char *sdata, + size_t sdata_len, + curl_off_t valid_until, + int ietf_tls_id, + const char *alpn, + size_t earlydata_max); + +/* + * NAME curl_easy_ssls_export() + * + * DESCRIPTION + * + * The curl_easy_ssls_export function iterates over all SSL sessions stored + * in the easy handle (or underlying share) and invokes the passed + * callback. + * + */ +CURL_EXTERN CURLcode curl_easy_ssls_export(CURL *handle, + curl_ssls_export_cb *export_fn, + void *userptr); + + +#ifdef __cplusplus } /* end of extern "C" */ #endif @@ -3227,9 +3325,10 @@ CURL_EXTERN CURLcode curl_easy_pause(CURL *handle, int bitmask); #include "websockets.h" #include "mprintf.h" -/* the typechecker doesn't work in C++ (yet) */ -#if defined(__GNUC__) && defined(__GNUC_MINOR__) && \ - ((__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)) && \ +/* the typechecker does not work in C++ (yet) */ +#if ((defined(__GNUC__) && defined(__GNUC_MINOR__) && \ + ((__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3))) || \ + (defined(__clang__) && __clang_major__ >= 14)) && \ !defined(__cplusplus) && !defined(CURL_DISABLE_TYPECHECK) #include "typecheck-gcc.h" #else diff --git a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/curlver.h b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/curlver.h index b68e3ee..3c7a919 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/curlver.h +++ b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/curlver.h @@ -32,14 +32,13 @@ /* This is the version number of the libcurl package from which this header file origins: */ -#define LIBCURL_VERSION "8.8.0" +#define LIBCURL_VERSION "8.16.0" /* The numeric version number is also available "in parts" by using these defines: */ #define LIBCURL_VERSION_MAJOR 8 -#define LIBCURL_VERSION_MINOR 8 +#define LIBCURL_VERSION_MINOR 16 #define LIBCURL_VERSION_PATCH 0 - /* This is the numeric version of the libcurl version number, meant for easier parsing and comparisons by programs. The LIBCURL_VERSION_NUM define will always follow this syntax: @@ -48,7 +47,7 @@ Where XX, YY and ZZ are the main version, release and patch numbers in hexadecimal (using 8 bits each). All three numbers are always represented - using two digits. 1.2 would appear as "0x010200" while version 9.11.7 + using two digits. 1.2 would appear as "0x010200" while version 9.11.7 appears as "0x090b07". This 6-digit (24 bits) hexadecimal number does not show pre-release number, @@ -59,7 +58,7 @@ CURL_VERSION_BITS() macro since curl's own configure script greps for it and needs it to contain the full number. */ -#define LIBCURL_VERSION_NUM 0x080800 +#define LIBCURL_VERSION_NUM 0x081000 /* * This is the date and time when the full source package was created. The @@ -70,7 +69,7 @@ * * "2007-11-23" */ -#define LIBCURL_TIMESTAMP "2024-05-22" +#define LIBCURL_TIMESTAMP "2025-09-10" #define CURL_VERSION_BITS(x,y,z) ((x)<<16|(y)<<8|(z)) #define CURL_AT_LEAST_VERSION(x,y,z) \ diff --git a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/easy.h b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/easy.h index 1285101..fa13564 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/easy.h +++ b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/easy.h @@ -23,7 +23,7 @@ * SPDX-License-Identifier: curl * ***************************************************************************/ -#ifdef __cplusplus +#ifdef __cplusplus extern "C" { #endif @@ -50,7 +50,7 @@ CURL_EXTERN void curl_easy_cleanup(CURL *curl); * * Request internal information from the curl session with this function. * The third argument MUST be pointing to the specific type of the used option - * which is documented in each man page of the option. The data pointed to + * which is documented in each manpage of the option. The data pointed to * will be filled in accordingly and can be relied upon only if the function * returns CURLE_OK. This function is intended to get used *AFTER* a performed * transfer, all results from this function are undefined until the transfer @@ -78,7 +78,7 @@ CURL_EXTERN CURL *curl_easy_duphandle(CURL *curl); * * DESCRIPTION * - * Re-initializes a CURL handle to the default values. This puts back the + * Re-initializes a curl handle to the default values. This puts back the * handle to the same state as it was in when it was just created. * * It does keep: live connections, the Session ID cache, the DNS cache and the @@ -118,7 +118,7 @@ CURL_EXTERN CURLcode curl_easy_send(CURL *curl, const void *buffer, */ CURL_EXTERN CURLcode curl_easy_upkeep(CURL *curl); -#ifdef __cplusplus +#ifdef __cplusplus } /* end of extern "C" */ #endif diff --git a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/header.h b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/header.h index 8df11e1..7465274 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/header.h +++ b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/header.h @@ -24,7 +24,7 @@ * ***************************************************************************/ -#ifdef __cplusplus +#ifdef __cplusplus extern "C" { #endif diff --git a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/mprintf.h b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/mprintf.h index 4f70454..9272e74 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/mprintf.h +++ b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/mprintf.h @@ -28,16 +28,22 @@ #include /* needed for FILE */ #include "curl.h" /* for CURL_EXTERN */ -#ifdef __cplusplus +#ifdef __cplusplus extern "C" { #endif -#if (defined(__GNUC__) || defined(__clang__)) && \ +#ifndef CURL_TEMP_PRINTF +#if (defined(__GNUC__) || defined(__clang__) || \ + defined(__IAR_SYSTEMS_ICC__)) && \ defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) && \ !defined(CURL_NO_FMT_CHECKS) #if defined(__MINGW32__) && !defined(__clang__) +#ifdef __MINGW_PRINTF_FORMAT /* mingw-w64 3.0.0+. Needs stdio.h. */ #define CURL_TEMP_PRINTF(fmt, arg) \ - __attribute__((format(gnu_printf, fmt, arg))) + __attribute__((format(__MINGW_PRINTF_FORMAT, fmt, arg))) +#else +#define CURL_TEMP_PRINTF(fmt, arg) +#endif #else #define CURL_TEMP_PRINTF(fmt, arg) \ __attribute__((format(printf, fmt, arg))) @@ -45,6 +51,7 @@ extern "C" { #else #define CURL_TEMP_PRINTF(fmt, arg) #endif +#endif CURL_EXTERN int curl_mprintf(const char *format, ...) CURL_TEMP_PRINTF(1, 2); @@ -71,7 +78,7 @@ CURL_EXTERN char *curl_mvaprintf(const char *format, va_list args) #undef CURL_TEMP_PRINTF -#ifdef __cplusplus +#ifdef __cplusplus } /* end of extern "C" */ #endif diff --git a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/multi.h b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/multi.h index b4583d0..649c459 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/multi.h +++ b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/multi.h @@ -24,7 +24,7 @@ * ***************************************************************************/ /* - This is an "external" header file. Don't give away any internals here! + This is an "external" header file. Do not give away any internals here! GOALS @@ -50,15 +50,11 @@ */ #include "curl.h" -#ifdef __cplusplus +#ifdef __cplusplus extern "C" { #endif -#if defined(BUILDING_LIBCURL) || defined(CURL_STRICTER) -typedef struct Curl_multi CURLM; -#else typedef void CURLM; -#endif typedef enum { CURLM_CALL_MULTI_PERFORM = -1, /* please call curl_multi_perform() or @@ -66,7 +62,7 @@ typedef enum { CURLM_OK, CURLM_BAD_HANDLE, /* the passed-in handle is not a valid CURLM handle */ CURLM_BAD_EASY_HANDLE, /* an easy handle was not good/valid */ - CURLM_OUT_OF_MEMORY, /* if you ever get this, you're in deep sh*t */ + CURLM_OUT_OF_MEMORY, /* if you ever get this, you are in deep sh*t */ CURLM_INTERNAL_ERROR, /* this is a libcurl bug */ CURLM_BAD_SOCKET, /* the passed in socket argument did not match */ CURLM_UNKNOWN_OPTION, /* curl_multi_setopt() with unsupported option */ @@ -109,7 +105,7 @@ struct CURLMsg { typedef struct CURLMsg CURLMsg; /* Based on poll(2) structure and values. - * We don't use pollfd and POLL* constants explicitly + * We do not use pollfd and POLL* constants explicitly * to cover platforms without poll(). */ #define CURL_WAIT_POLLIN 0x0001 #define CURL_WAIT_POLLPRI 0x0002 @@ -205,7 +201,7 @@ CURL_EXTERN CURLMcode curl_multi_wakeup(CURLM *multi_handle); /* * Name: curl_multi_perform() * - * Desc: When the app thinks there's data available for curl it calls this + * Desc: When the app thinks there is data available for curl it calls this * function to read/write whatever there is right now. This returns * as soon as the reads and writes are done. This function does not * require that there actually is data available for reading or that @@ -236,8 +232,8 @@ CURL_EXTERN CURLMcode curl_multi_cleanup(CURLM *multi_handle); /* * Name: curl_multi_info_read() * - * Desc: Ask the multi handle if there's any messaHuL/informationals from - * the individual transfers. MessaHuL include informationals such as + * Desc: Ask the multi handle if there is any messaJNx/informationals from + * the individual transfers. MessaJNx include informationals such as * error code from the transfer or just the fact that a transfer is * completed. More details on these should be written down as well. * @@ -248,16 +244,16 @@ CURL_EXTERN CURLMcode curl_multi_cleanup(CURLM *multi_handle); * The data the returned pointer points to will not survive calling * curl_multi_cleanup(). * - * The 'CURLMsg' struct is meant to be very simple and only contain - * very basic information. If more involved information is wanted, - * we will provide the particular "transfer handle" in that struct - * and that should/could/would be used in subsequent - * curl_easy_getinfo() calls (or similar). The point being that we - * must never expose complex structs to applications, as then we'll - * undoubtably get backwards compatibility problems in the future. + * The 'CURLMsg' struct is meant to be simple and only contain basic + * information. If more involved information is wanted, we will + * provide the particular "transfer handle" in that struct and that + * should/could/would be used in subsequent curl_easy_getinfo() calls + * (or similar). The point being that we must never expose complex + * structs to applications, as then we will undoubtably get backwards + * compatibility problems in the future. * * Returns: A pointer to a filled-in struct, or NULL if it failed or ran out - * of structs. It also writes the number of messaHuL left in the + * of structs. It also writes the number of messaJNx left in the * queue (after this read) in the integer the second argument points * to. */ @@ -268,8 +264,8 @@ CURL_EXTERN CURLMsg *curl_multi_info_read(CURLM *multi_handle, * Name: curl_multi_strerror() * * Desc: The curl_multi_strerror function may be used to turn a CURLMcode - * value into the equivalent human readable error string. This is - * useful for printing meaningful error messaHuL. + * value into the equivalent human readable error string. This is + * useful for printing meaningful error messaJNx. * * Returns: A pointer to a null-terminated error message. */ @@ -282,7 +278,7 @@ CURL_EXTERN const char *curl_multi_strerror(CURLMcode); * Desc: An alternative version of curl_multi_perform() that allows the * application to pass in one of the file descriptors that have been * detected to have "action" on them and let libcurl perform. - * See man page for details. + * See manpage for details. */ #define CURL_POLL_NONE 0 #define CURL_POLL_IN 1 @@ -399,9 +395,23 @@ typedef enum { /* maximum number of concurrent streams to support on a connection */ CURLOPT(CURLMOPT_MAX_CONCURRENT_STREAMS, CURLOPTTYPE_LONG, 16), + /* network has changed, adjust caches/connection reuse */ + CURLOPT(CURLMOPT_NETWORK_CHANGED, CURLOPTTYPE_LONG, 17), + CURLMOPT_LASTENTRY /* the last unused */ } CURLMoption; +/* Definition of bits for the CURLMOPT_NETWORK_CHANGED argument: */ + +/* - CURLMNWC_CLEAR_CONNS tells libcurl to prevent further reuse of existing + connections. Connections that are idle will be closed. Ongoing transfers + will continue with the connection they have. */ +#define CURLMNWC_CLEAR_CONNS (1L<<0) + +/* - CURLMNWC_CLEAR_DNS tells libcurl to prevent further reuse of existing + connections. Connections that are idle will be closed. Ongoing transfers + will continue with the connection they have. */ +#define CURLMNWC_CLEAR_DNS (1L<<0) /* * Name: curl_multi_setopt() @@ -438,6 +448,36 @@ CURL_EXTERN CURLMcode curl_multi_assign(CURLM *multi_handle, */ CURL_EXTERN CURL **curl_multi_get_handles(CURLM *multi_handle); + +typedef enum { + CURLMINFO_NONE, /* first, never use this */ + /* The number of easy handles currently managed by the multi handle, + * e.g. have been added but not yet removed. */ + CURLMINFO_XFERS_CURRENT = 1, + /* The number of easy handles running, e.g. not done and not queueing. */ + CURLMINFO_XFERS_RUNNING = 2, + /* The number of easy handles waiting to start, e.g. for a connection + * to become available due to limits on parallelism, max connections + * or other factors. */ + CURLMINFO_XFERS_PENDING = 3, + /* The number of easy handles finished, waiting for their results to + * be read via `curl_multi_info_read()`. */ + CURLMINFO_XFERS_DONE = 4, + /* The total number of easy handles added to the multi handle, ever. */ + CURLMINFO_XFERS_ADDED = 5 +} CURLMinfo_offt; + +/* + * Name: curl_multi_get_offt() + * + * Desc: Retrieves a numeric value for the `CURLMINFO_*` enums. + * + * Returns: CULRM_OK or error when value could not be obtained. + */ +CURL_EXTERN CURLMcode curl_multi_get_offt(CURLM *multi_handle, + CURLMinfo_offt info, + curl_off_t *pvalue); + /* * Name: curl_push_callback * diff --git a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/options.h b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/options.h index 4722041..fafc930 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/options.h +++ b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/options.h @@ -24,7 +24,7 @@ * ***************************************************************************/ -#ifdef __cplusplus +#ifdef __cplusplus extern "C" { #endif @@ -46,7 +46,7 @@ typedef enum { we prefer another name */ #define CURLOT_FLAG_ALIAS (1<<0) -/* The CURLOPTTYPE_* id ranHuL can still be used to figure out what type/size +/* The CURLOPTTYPE_* id ranJNx can still be used to figure out what type/size to use for curl_easy_setopt() for the given id */ struct curl_easyoption { const char *name; diff --git a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/system.h b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/system.h index 81a1b81..62ed2b0 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/system.h +++ b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/system.h @@ -31,83 +31,42 @@ * changed. * * In order to differentiate between platforms/compilers/architectures use - * only compiler built in predefined preprocessor symbols. + * only compiler built-in predefined preprocessor symbols. * * curl_off_t * ---------- * - * For any given platform/compiler curl_off_t must be typedef'ed to a 64-bit + * For any given platform/compiler curl_off_t MUST be typedef'ed to a 64-bit * wide signed integral data type. The width of this data type must remain * constant and independent of any possible large file support settings. * - * As an exception to the above, curl_off_t shall be typedef'ed to a 32-bit - * wide signed integral data type if there is no 64-bit type. - * * As a general rule, curl_off_t shall not be mapped to off_t. This rule shall * only be violated if off_t is the only 64-bit data type available and the * size of off_t is independent of large file support settings. Keep your - * build on the safe side avoiding an off_t gating. If you have a 64-bit + * build on the safe side avoiding an off_t gating. If you have a 64-bit * off_t then take for sure that another 64-bit data type exists, dig deeper * and you will find it. * */ -#if defined(__DJGPP__) || defined(__GO32__) -# if defined(__DJGPP__) && (__DJGPP__ > 1) -# define CURL_TYPEOF_CURL_OFF_T long long -# define CURL_FORMAT_CURL_OFF_T "lld" -# define CURL_FORMAT_CURL_OFF_TU "llu" -# define CURL_SUFFIX_CURL_OFF_T LL -# define CURL_SUFFIX_CURL_OFF_TU ULL -# else -# define CURL_TYPEOF_CURL_OFF_T long -# define CURL_FORMAT_CURL_OFF_T "ld" -# define CURL_FORMAT_CURL_OFF_TU "lu" -# define CURL_SUFFIX_CURL_OFF_T L -# define CURL_SUFFIX_CURL_OFF_TU UL -# endif -# define CURL_TYPEOF_CURL_SOCKLEN_T int - -#elif defined(__SALFORDC__) -# define CURL_TYPEOF_CURL_OFF_T long -# define CURL_FORMAT_CURL_OFF_T "ld" -# define CURL_FORMAT_CURL_OFF_TU "lu" -# define CURL_SUFFIX_CURL_OFF_T L -# define CURL_SUFFIX_CURL_OFF_TU UL +#ifdef __DJGPP__ +# define CURL_TYPEOF_CURL_OFF_T long long +# define CURL_FORMAT_CURL_OFF_T "lld" +# define CURL_FORMAT_CURL_OFF_TU "llu" +# define CURL_SUFFIX_CURL_OFF_T LL +# define CURL_SUFFIX_CURL_OFF_TU ULL # define CURL_TYPEOF_CURL_SOCKLEN_T int #elif defined(__BORLANDC__) -# if (__BORLANDC__ < 0x520) -# define CURL_TYPEOF_CURL_OFF_T long -# define CURL_FORMAT_CURL_OFF_T "ld" -# define CURL_FORMAT_CURL_OFF_TU "lu" -# define CURL_SUFFIX_CURL_OFF_T L -# define CURL_SUFFIX_CURL_OFF_TU UL -# else -# define CURL_TYPEOF_CURL_OFF_T __int64 -# define CURL_FORMAT_CURL_OFF_T "I64d" -# define CURL_FORMAT_CURL_OFF_TU "I64u" -# define CURL_SUFFIX_CURL_OFF_T i64 -# define CURL_SUFFIX_CURL_OFF_TU ui64 -# endif -# define CURL_TYPEOF_CURL_SOCKLEN_T int - -#elif defined(__TURBOC__) -# define CURL_TYPEOF_CURL_OFF_T long -# define CURL_FORMAT_CURL_OFF_T "ld" -# define CURL_FORMAT_CURL_OFF_TU "lu" -# define CURL_SUFFIX_CURL_OFF_T L -# define CURL_SUFFIX_CURL_OFF_TU UL +# define CURL_TYPEOF_CURL_OFF_T __int64 +# define CURL_FORMAT_CURL_OFF_T "I64d" +# define CURL_FORMAT_CURL_OFF_TU "I64u" +# define CURL_SUFFIX_CURL_OFF_T i64 +# define CURL_SUFFIX_CURL_OFF_TU ui64 # define CURL_TYPEOF_CURL_SOCKLEN_T int #elif defined(__POCC__) -# if (__POCC__ < 280) -# define CURL_TYPEOF_CURL_OFF_T long -# define CURL_FORMAT_CURL_OFF_T "ld" -# define CURL_FORMAT_CURL_OFF_TU "lu" -# define CURL_SUFFIX_CURL_OFF_T L -# define CURL_SUFFIX_CURL_OFF_TU UL -# elif defined(_MSC_VER) +# ifdef _MSC_VER # define CURL_TYPEOF_CURL_OFF_T __int64 # define CURL_FORMAT_CURL_OFF_T "I64d" # define CURL_FORMAT_CURL_OFF_TU "I64u" @@ -123,7 +82,7 @@ # define CURL_TYPEOF_CURL_SOCKLEN_T int #elif defined(__LCC__) -# if defined(__MCST__) /* MCST eLbrus Compiler Collection */ +# ifdef __MCST__ /* MCST eLbrus Compiler Collection */ # define CURL_TYPEOF_CURL_OFF_T long # define CURL_FORMAT_CURL_OFF_T "ld" # define CURL_FORMAT_CURL_OFF_TU "lu" @@ -159,23 +118,38 @@ # define CURL_TYPEOF_CURL_SOCKLEN_T unsigned int #elif defined(__TANDEM) -# if ! defined(__LP64) - /* Required for 32-bit NonStop builds only. */ -# define CURL_TYPEOF_CURL_OFF_T long long -# define CURL_FORMAT_CURL_OFF_T "lld" -# define CURL_FORMAT_CURL_OFF_TU "llu" -# define CURL_SUFFIX_CURL_OFF_T LL -# define CURL_SUFFIX_CURL_OFF_TU ULL -# define CURL_TYPEOF_CURL_SOCKLEN_T int -# endif +# ifndef __LP64 +# define CURL_TYPEOF_CURL_OFF_T long long +# define CURL_FORMAT_CURL_OFF_T "lld" +# define CURL_FORMAT_CURL_OFF_TU "llu" +# define CURL_SUFFIX_CURL_OFF_T LL +# define CURL_SUFFIX_CURL_OFF_TU ULL +# define CURL_TYPEOF_CURL_SOCKLEN_T int +# else +# define CURL_TYPEOF_CURL_OFF_T long +# define CURL_FORMAT_CURL_OFF_T "ld" +# define CURL_FORMAT_CURL_OFF_TU "lu" +# define CURL_SUFFIX_CURL_OFF_T L +# define CURL_SUFFIX_CURL_OFF_TU UL +# define CURL_TYPEOF_CURL_SOCKLEN_T unsigned int +# endif -#elif defined(_WIN32_WCE) -# define CURL_TYPEOF_CURL_OFF_T __int64 -# define CURL_FORMAT_CURL_OFF_T "I64d" -# define CURL_FORMAT_CURL_OFF_TU "I64u" -# define CURL_SUFFIX_CURL_OFF_T i64 -# define CURL_SUFFIX_CURL_OFF_TU ui64 -# define CURL_TYPEOF_CURL_SOCKLEN_T int +#elif defined(UNDER_CE) +# ifdef __MINGW32CE__ +# define CURL_TYPEOF_CURL_OFF_T long long +# define CURL_FORMAT_CURL_OFF_T "lld" +# define CURL_FORMAT_CURL_OFF_TU "llu" +# define CURL_SUFFIX_CURL_OFF_T LL +# define CURL_SUFFIX_CURL_OFF_TU ULL +# define CURL_TYPEOF_CURL_SOCKLEN_T int +# else +# define CURL_TYPEOF_CURL_OFF_T __int64 +# define CURL_FORMAT_CURL_OFF_T "I64d" +# define CURL_FORMAT_CURL_OFF_TU "I64u" +# define CURL_SUFFIX_CURL_OFF_T i64 +# define CURL_SUFFIX_CURL_OFF_TU ui64 +# define CURL_TYPEOF_CURL_SOCKLEN_T int +# endif #elif defined(__MINGW32__) # include @@ -188,7 +162,7 @@ # define CURL_PULL_SYS_TYPES_H 1 #elif defined(__VMS) -# if defined(__VAX) +# ifdef __VAX # define CURL_TYPEOF_CURL_OFF_T long # define CURL_FORMAT_CURL_OFF_T "ld" # define CURL_FORMAT_CURL_OFF_TU "lu" @@ -214,19 +188,13 @@ # define CURL_PULL_SYS_SOCKET_H 1 #elif defined(__MVS__) -# if defined(_LONG_LONG) +# ifdef _LONG_LONG # define CURL_TYPEOF_CURL_OFF_T long long # define CURL_FORMAT_CURL_OFF_T "lld" # define CURL_FORMAT_CURL_OFF_TU "llu" # define CURL_SUFFIX_CURL_OFF_T LL # define CURL_SUFFIX_CURL_OFF_TU ULL -# elif defined(_LP64) -# define CURL_TYPEOF_CURL_OFF_T long -# define CURL_FORMAT_CURL_OFF_T "ld" -# define CURL_FORMAT_CURL_OFF_TU "lu" -# define CURL_SUFFIX_CURL_OFF_T L -# define CURL_SUFFIX_CURL_OFF_TU UL -# else +# else /* _LP64 and default */ # define CURL_TYPEOF_CURL_OFF_T long # define CURL_FORMAT_CURL_OFF_T "ld" # define CURL_FORMAT_CURL_OFF_TU "lu" @@ -239,22 +207,13 @@ #elif defined(__370__) # if defined(__IBMC__) || defined(__IBMCPP__) -# if defined(_ILP32) -# elif defined(_LP64) -# endif -# if defined(_LONG_LONG) +# ifdef _LONG_LONG # define CURL_TYPEOF_CURL_OFF_T long long # define CURL_FORMAT_CURL_OFF_T "lld" # define CURL_FORMAT_CURL_OFF_TU "llu" # define CURL_SUFFIX_CURL_OFF_T LL # define CURL_SUFFIX_CURL_OFF_TU ULL -# elif defined(_LP64) -# define CURL_TYPEOF_CURL_OFF_T long -# define CURL_FORMAT_CURL_OFF_T "ld" -# define CURL_FORMAT_CURL_OFF_TU "lu" -# define CURL_SUFFIX_CURL_OFF_T L -# define CURL_SUFFIX_CURL_OFF_TU UL -# else +# else /* _LP64 and default */ # define CURL_TYPEOF_CURL_OFF_T long # define CURL_FORMAT_CURL_OFF_T "ld" # define CURL_FORMAT_CURL_OFF_TU "lu" @@ -307,7 +266,7 @@ # define CURL_PULL_SYS_SOCKET_H 1 #elif defined(__xlc__) /* IBM xlc compiler */ -# if !defined(_LP64) +# ifndef _LP64 # define CURL_TYPEOF_CURL_OFF_T long long # define CURL_FORMAT_CURL_OFF_T "lld" # define CURL_FORMAT_CURL_OFF_TU "llu" @@ -325,7 +284,7 @@ # define CURL_PULL_SYS_SOCKET_H 1 #elif defined(__hpux) /* HP aCC compiler */ -# if !defined(_LP64) +# ifndef _LP64 # define CURL_TYPEOF_CURL_OFF_T long long # define CURL_FORMAT_CURL_OFF_T "lld" # define CURL_FORMAT_CURL_OFF_TU "llu" @@ -349,24 +308,15 @@ #elif defined(_MSC_VER) # if (_MSC_VER >= 1800) # include -# define CURL_TYPEOF_CURL_OFF_T __int64 # define CURL_FORMAT_CURL_OFF_T PRId64 # define CURL_FORMAT_CURL_OFF_TU PRIu64 -# define CURL_SUFFIX_CURL_OFF_T i64 -# define CURL_SUFFIX_CURL_OFF_TU ui64 -# elif (_MSC_VER >= 900) && (_INTEGRAL_MAX_BITS >= 64) -# define CURL_TYPEOF_CURL_OFF_T __int64 +# else # define CURL_FORMAT_CURL_OFF_T "I64d" # define CURL_FORMAT_CURL_OFF_TU "I64u" -# define CURL_SUFFIX_CURL_OFF_T i64 -# define CURL_SUFFIX_CURL_OFF_TU ui64 -# else -# define CURL_TYPEOF_CURL_OFF_T long -# define CURL_FORMAT_CURL_OFF_T "ld" -# define CURL_FORMAT_CURL_OFF_TU "lu" -# define CURL_SUFFIX_CURL_OFF_T L -# define CURL_SUFFIX_CURL_OFF_TU UL # endif +# define CURL_TYPEOF_CURL_OFF_T __int64 +# define CURL_SUFFIX_CURL_OFF_T i64 +# define CURL_SUFFIX_CURL_OFF_TU ui64 # define CURL_TYPEOF_CURL_SOCKLEN_T int /* ===================================== */ @@ -379,13 +329,18 @@ defined(__ppc__) || defined(__powerpc__) || defined(__arm__) || \ defined(__sparc__) || defined(__mips__) || defined(__sh__) || \ defined(__XTENSA__) || \ - (defined(__SIZEOF_LONG__) && __SIZEOF_LONG__ == 4) || \ + (defined(__SIZEOF_LONG__) && __SIZEOF_LONG__ == 4) || \ (defined(__LONG_MAX__) && __LONG_MAX__ == 2147483647L)) # define CURL_TYPEOF_CURL_OFF_T long long # define CURL_FORMAT_CURL_OFF_T "lld" # define CURL_FORMAT_CURL_OFF_TU "llu" # define CURL_SUFFIX_CURL_OFF_T LL # define CURL_SUFFIX_CURL_OFF_TU ULL +# if (__GNUC__ >= 4) || \ + ((__GNUC__ == 3) && defined(__GNUC_MINOR__) && (__GNUC_MINOR__ >= 4)) +# define CURL_POPCOUNT64(x) __builtin_popcountll(x) +# define CURL_CTZ64(x) __builtin_ctzll(x) +# endif # elif defined(__LP64__) || \ defined(__x86_64__) || defined(__ppc64__) || defined(__sparc64__) || \ defined(__e2k__) || \ @@ -396,19 +351,24 @@ # define CURL_FORMAT_CURL_OFF_TU "lu" # define CURL_SUFFIX_CURL_OFF_T L # define CURL_SUFFIX_CURL_OFF_TU UL +# if (__GNUC__ >= 4) || \ + ((__GNUC__ == 3) && defined(__GNUC_MINOR__) && (__GNUC_MINOR__ >= 4)) +# define CURL_POPCOUNT64(x) __builtin_popcountl(x) +# define CURL_CTZ64(x) __builtin_ctzl(x) +# endif # endif # define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t # define CURL_PULL_SYS_TYPES_H 1 # define CURL_PULL_SYS_SOCKET_H 1 #else -/* generic "safe guess" on old 32 bit style */ -# define CURL_TYPEOF_CURL_OFF_T long -# define CURL_FORMAT_CURL_OFF_T "ld" -# define CURL_FORMAT_CURL_OFF_TU "lu" -# define CURL_SUFFIX_CURL_OFF_T L -# define CURL_SUFFIX_CURL_OFF_TU UL -# define CURL_TYPEOF_CURL_SOCKLEN_T int +/* generic "safe guess" on old 32-bit style */ +# define CURL_TYPEOF_CURL_OFF_T long long +# define CURL_FORMAT_CURL_OFF_T "lld" +# define CURL_FORMAT_CURL_OFF_TU "llu" +# define CURL_SUFFIX_CURL_OFF_T LL +# define CURL_SUFFIX_CURL_OFF_TU ULL +# define CURL_TYPEOF_CURL_SOCKLEN_T int #endif #ifdef _AIX @@ -445,52 +405,4 @@ typedef CURL_TYPEOF_CURL_OFF_T curl_off_t; #endif -/* - * CURL_ISOCPP and CURL_OFF_T_C definitions are done here in order to allow - * these to be visible and exported by the external libcurl interface API, - * while also making them visible to the library internals, simply including - * curl_setup.h, without actually needing to include curl.h internally. - * If some day this section would grow big enough, all this should be moved - * to its own header file. - */ - -/* - * Figure out if we can use the ## preprocessor operator, which is supported - * by ISO/ANSI C and C++. Some compilers support it without setting __STDC__ - * or __cplusplus so we need to carefully check for them too. - */ - -#if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus) || \ - defined(__HP_aCC) || defined(__BORLANDC__) || defined(__LCC__) || \ - defined(__POCC__) || defined(__SALFORDC__) || defined(__HIGHC__) || \ - defined(__ILEC400__) - /* This compiler is believed to have an ISO compatible preprocessor */ -#define CURL_ISOCPP -#else - /* This compiler is believed NOT to have an ISO compatible preprocessor */ -#undef CURL_ISOCPP -#endif - -/* - * Macros for minimum-width signed and unsigned curl_off_t integer constants. - */ - -#if defined(__BORLANDC__) && (__BORLANDC__ == 0x0551) -# define CURLINC_OFF_T_C_HLPR2(x) x -# define CURLINC_OFF_T_C_HLPR1(x) CURLINC_OFF_T_C_HLPR2(x) -# define CURL_OFF_T_C(Val) CURLINC_OFF_T_C_HLPR1(Val) ## \ - CURLINC_OFF_T_C_HLPR1(CURL_SUFFIX_CURL_OFF_T) -# define CURL_OFF_TU_C(Val) CURLINC_OFF_T_C_HLPR1(Val) ## \ - CURLINC_OFF_T_C_HLPR1(CURL_SUFFIX_CURL_OFF_TU) -#else -# ifdef CURL_ISOCPP -# define CURLINC_OFF_T_C_HLPR2(Val,Suffix) Val ## Suffix -# else -# define CURLINC_OFF_T_C_HLPR2(Val,Suffix) Val/**/Suffix -# endif -# define CURLINC_OFF_T_C_HLPR1(Val,Suffix) CURLINC_OFF_T_C_HLPR2(Val,Suffix) -# define CURL_OFF_T_C(Val) CURLINC_OFF_T_C_HLPR1(Val,CURL_SUFFIX_CURL_OFF_T) -# define CURL_OFF_TU_C(Val) CURLINC_OFF_T_C_HLPR1(Val,CURL_SUFFIX_CURL_OFF_TU) -#endif - #endif /* CURLINC_SYSTEM_H */ diff --git a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/typecheck-gcc.h b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/typecheck-gcc.h new file mode 100644 index 0000000..a0b41ae --- /dev/null +++ b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/typecheck-gcc.h @@ -0,0 +1,947 @@ +#ifndef CURLINC_TYPECHECK_GCC_H +#define CURLINC_TYPECHECK_GCC_H +/*************************************************************************** + * _ _ ____ _ + * Project ___| | | | _ \| | + * / __| | | | |_) | | + * | (__| |_| | _ <| |___ + * \___|\___/|_| \_\_____| + * + * Copyright (C) Daniel Stenberg, , et al. + * + * This software is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at https://curl.se/docs/copyright.html. + * + * You may opt to use, copy, modify, merge, publish, distribute and/or sell + * copies of the Software, and permit persons to whom the Software is + * furnished to do so, under the terms of the COPYING file. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + * SPDX-License-Identifier: curl + * + ***************************************************************************/ + +/* wraps curl_easy_setopt() with typechecking */ + +/* To add a new kind of warning, add an + * if(curlcheck_sometype_option(_curl_opt)) + * if(!curlcheck_sometype(value)) + * _curl_easy_setopt_err_sometype(); + * block and define curlcheck_sometype_option, curlcheck_sometype and + * _curl_easy_setopt_err_sometype below + * + * NOTE: We use two nested 'if' statements here instead of the && operator, in + * order to work around gcc bug #32061. It affects only gcc 4.3.x/4.4.x + * when compiling with -Wlogical-op. + * + * To add an option that uses the same type as an existing option, you will + * just need to extend the appropriate _curl_*_option macro + */ + +#define curl_easy_setopt(handle, option, value) \ + __extension__({ \ + if(__builtin_constant_p(option)) { \ + CURL_IGNORE_DEPRECATION( \ + if(curlcheck_long_option(option)) \ + if(!curlcheck_long(value)) \ + _curl_easy_setopt_err_long(); \ + if(curlcheck_off_t_option(option)) \ + if(!curlcheck_off_t(value)) \ + _curl_easy_setopt_err_curl_off_t(); \ + if(curlcheck_string_option(option)) \ + if(!curlcheck_string(value)) \ + _curl_easy_setopt_err_string(); \ + if((option) == CURLOPT_PRIVATE) { } \ + if(curlcheck_write_cb_option(option)) \ + if(!curlcheck_write_cb(value)) \ + _curl_easy_setopt_err_write_callback(); \ + if(curlcheck_curl_option(option)) \ + if(!curlcheck_curl(value)) \ + _curl_easy_setopt_err_curl(); \ + if((option) == CURLOPT_RESOLVER_START_FUNCTION) \ + if(!curlcheck_resolver_start_callback(value)) \ + _curl_easy_setopt_err_resolver_start_callback(); \ + if((option) == CURLOPT_READFUNCTION) \ + if(!curlcheck_read_cb(value)) \ + _curl_easy_setopt_err_read_cb(); \ + if((option) == CURLOPT_IOCTLFUNCTION) \ + if(!curlcheck_ioctl_cb(value)) \ + _curl_easy_setopt_err_ioctl_cb(); \ + if((option) == CURLOPT_SOCKOPTFUNCTION) \ + if(!curlcheck_sockopt_cb(value)) \ + _curl_easy_setopt_err_sockopt_cb(); \ + if((option) == CURLOPT_OPENSOCKETFUNCTION) \ + if(!curlcheck_opensocket_cb(value)) \ + _curl_easy_setopt_err_opensocket_cb(); \ + if((option) == CURLOPT_PROGRESSFUNCTION) \ + if(!curlcheck_progress_cb(value)) \ + _curl_easy_setopt_err_progress_cb(); \ + if((option) == CURLOPT_XFERINFOFUNCTION) \ + if(!curlcheck_xferinfo_cb(value)) \ + _curl_easy_setopt_err_xferinfo_cb(); \ + if((option) == CURLOPT_DEBUGFUNCTION) \ + if(!curlcheck_debug_cb(value)) \ + _curl_easy_setopt_err_debug_cb(); \ + if((option) == CURLOPT_SSL_CTX_FUNCTION) \ + if(!curlcheck_ssl_ctx_cb(value)) \ + _curl_easy_setopt_err_ssl_ctx_cb(); \ + if(curlcheck_conv_cb_option(option)) \ + if(!curlcheck_conv_cb(value)) \ + _curl_easy_setopt_err_conv_cb(); \ + if((option) == CURLOPT_SEEKFUNCTION) \ + if(!curlcheck_seek_cb(value)) \ + _curl_easy_setopt_err_seek_cb(); \ + if((option) == CURLOPT_CHUNK_BGN_FUNCTION) \ + if(!curlcheck_chunk_bgn_cb(value)) \ + _curl_easy_setopt_err_chunk_bgn_cb(); \ + if((option) == CURLOPT_CHUNK_END_FUNCTION) \ + if(!curlcheck_chunk_end_cb(value)) \ + _curl_easy_setopt_err_chunk_end_cb(); \ + if((option) == CURLOPT_CLOSESOCKETFUNCTION) \ + if(!curlcheck_close_socket_cb(value)) \ + _curl_easy_setopt_err_close_socket_cb(); \ + if((option) == CURLOPT_FNMATCH_FUNCTION) \ + if(!curlcheck_fnmatch_cb(value)) \ + _curl_easy_setopt_err_fnmatch_cb(); \ + if((option) == CURLOPT_HSTSREADFUNCTION) \ + if(!curlcheck_hstsread_cb(value)) \ + _curl_easy_setopt_err_hstsread_cb(); \ + if((option) == CURLOPT_HSTSWRITEFUNCTION) \ + if(!curlcheck_hstswrite_cb(value)) \ + _curl_easy_setopt_err_hstswrite_cb(); \ + if((option) == CURLOPT_SSH_HOSTKEYFUNCTION) \ + if(!curlcheck_ssh_hostkey_cb(value)) \ + _curl_easy_setopt_err_ssh_hostkey_cb(); \ + if((option) == CURLOPT_SSH_KEYFUNCTION) \ + if(!curlcheck_ssh_key_cb(value)) \ + _curl_easy_setopt_err_ssh_key_cb(); \ + if((option) == CURLOPT_INTERLEAVEFUNCTION) \ + if(!curlcheck_interleave_cb(value)) \ + _curl_easy_setopt_err_interleave_cb(); \ + if((option) == CURLOPT_PREREQFUNCTION) \ + if(!curlcheck_prereq_cb(value)) \ + _curl_easy_setopt_err_prereq_cb(); \ + if((option) == CURLOPT_TRAILERFUNCTION) \ + if(!curlcheck_trailer_cb(value)) \ + _curl_easy_setopt_err_trailer_cb(); \ + if(curlcheck_cb_data_option(option)) \ + if(!curlcheck_cb_data(value)) \ + _curl_easy_setopt_err_cb_data(); \ + if((option) == CURLOPT_ERRORBUFFER) \ + if(!curlcheck_error_buffer(value)) \ + _curl_easy_setopt_err_error_buffer(); \ + if((option) == CURLOPT_CURLU) \ + if(!curlcheck_ptr((value), CURLU)) \ + _curl_easy_setopt_err_curlu(); \ + if((option) == CURLOPT_STDERR) \ + if(!curlcheck_FILE(value)) \ + _curl_easy_setopt_err_FILE(); \ + if(curlcheck_postfields_option(option)) \ + if(!curlcheck_postfields(value)) \ + _curl_easy_setopt_err_postfields(); \ + if((option) == CURLOPT_HTTPPOST) \ + if(!curlcheck_arr((value), struct curl_httppost)) \ + _curl_easy_setopt_err_curl_httpost(); \ + if((option) == CURLOPT_MIMEPOST) \ + if(!curlcheck_ptr((value), curl_mime)) \ + _curl_easy_setopt_err_curl_mimepost(); \ + if(curlcheck_slist_option(option)) \ + if(!curlcheck_arr((value), struct curl_slist)) \ + _curl_easy_setopt_err_curl_slist(); \ + if((option) == CURLOPT_SHARE) \ + if(!curlcheck_ptr((value), CURLSH)) \ + _curl_easy_setopt_err_CURLSH(); \ + ) \ + } \ + curl_easy_setopt(handle, option, value); \ + }) + +/* wraps curl_easy_getinfo() with typechecking */ +#define curl_easy_getinfo(handle, info, arg) \ + __extension__({ \ + if(__builtin_constant_p(info)) { \ + CURL_IGNORE_DEPRECATION( \ + if(curlcheck_string_info(info)) \ + if(!curlcheck_arr((arg), char *)) \ + _curl_easy_getinfo_err_string(); \ + if(curlcheck_long_info(info)) \ + if(!curlcheck_arr((arg), long)) \ + _curl_easy_getinfo_err_long(); \ + if(curlcheck_double_info(info)) \ + if(!curlcheck_arr((arg), double)) \ + _curl_easy_getinfo_err_double(); \ + if(curlcheck_slist_info(info)) \ + if(!curlcheck_arr((arg), struct curl_slist *)) \ + _curl_easy_getinfo_err_curl_slist(); \ + if(curlcheck_tlssessioninfo_info(info)) \ + if(!curlcheck_arr((arg), struct curl_tlssessioninfo *)) \ + _curl_easy_getinfo_err_curl_tlssessioninfo(); \ + if(curlcheck_certinfo_info(info)) \ + if(!curlcheck_arr((arg), struct curl_certinfo *)) \ + _curl_easy_getinfo_err_curl_certinfo(); \ + if(curlcheck_socket_info(info)) \ + if(!curlcheck_arr((arg), curl_socket_t)) \ + _curl_easy_getinfo_err_curl_socket(); \ + if(curlcheck_off_t_info(info)) \ + if(!curlcheck_arr((arg), curl_off_t)) \ + _curl_easy_getinfo_err_curl_off_t(); \ + ) \ + } \ + curl_easy_getinfo(handle, info, arg); \ + }) + +#define curl_multi_setopt(handle, option, value) \ + __extension__({ \ + if(__builtin_constant_p(option)) { \ + if(curlcheck_long_option(option)) \ + if(!curlcheck_long(value)) \ + _curl_multi_setopt_err_long(); \ + if(curlcheck_off_t_option(option)) \ + if(!curlcheck_off_t(value)) \ + _curl_multi_setopt_err_curl_off_t(); \ + if(curlcheck_multicb_data_option(option)) \ + if(!curlcheck_cb_data(value)) \ + _curl_multi_setopt_err_cb_data(); \ + if(curlcheck_charpp_option(option)) \ + if(!curlcheck_ptrptr(value, char)) \ + _curl_multi_setopt_err_charpp(); \ + if((option) == CURLMOPT_PUSHFUNCTION) \ + if(!curlcheck_multipush_cb(value)) \ + _curl_multi_setopt_err_pushcb(); \ + if((option) == CURLMOPT_SOCKETFUNCTION) \ + if(!curlcheck_multisocket_cb(value)) \ + _curl_multi_setopt_err_socketcb(); \ + if((option) == CURLMOPT_TIMERFUNCTION) \ + if(!curlcheck_multitimer_cb(value)) \ + _curl_multi_setopt_err_timercb(); \ + } \ + curl_multi_setopt(handle, option, value); \ + }) + +/* evaluates to true if the option takes a data argument to pass to a + callback */ +#define curlcheck_multicb_data_option(option) \ + ((option) == CURLMOPT_PUSHDATA || \ + (option) == CURLMOPT_SOCKETDATA || \ + (option) == CURLMOPT_TIMERDATA || \ + 0) + +/* evaluates to true if the option takes a char ** argument */ +#define curlcheck_charpp_option(option) \ + ((option) == CURLMOPT_PIPELINING_SERVER_BL || \ + (option) == CURLMOPT_PIPELINING_SITE_BL || \ + 0) + +/* evaluates to true if expr is of type curl_multi_timer_callback */ +#define curlcheck_multitimer_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_multi_timer_callback)) + +/* evaluates to true if expr is of type curl_socket_callback */ +#define curlcheck_multisocket_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_socket_callback)) + +/* evaluates to true if expr is of type curl_push_callback */ +#define curlcheck_multipush_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_push_callback)) + +/* + * For now, just make sure that the functions are called with three arguments + */ +#define curl_share_setopt(share,opt,param) curl_share_setopt(share,opt,param) + + +/* the actual warnings, triggered by calling the _curl_easy_setopt_err* + * functions */ + +/* To define a new warning, use _CURL_WARNING(identifier, "message") */ +#define CURLWARNING(id, message) \ + static void __attribute__((__warning__(message))) \ + __attribute__((__unused__)) __attribute__((__noinline__)) \ + id(void) { __asm__(""); } + +CURLWARNING(_curl_multi_setopt_err_long, + "curl_multi_setopt expects a long argument") +CURLWARNING(_curl_multi_setopt_err_curl_off_t, + "curl_multi_setopt expects a curl_off_t argument") +CURLWARNING(_curl_multi_setopt_err_cb_data, + "curl_multi_setopt expects a 'void *' argument") +CURLWARNING(_curl_multi_setopt_err_charpp, + "curl_multi_setopt expects a 'char **' argument") +CURLWARNING(_curl_multi_setopt_err_pushcb, + "curl_multi_setopt expects a curl_push_callback argument") +CURLWARNING(_curl_multi_setopt_err_socketcb, + "curl_multi_setopt expects a curl_socket_callback argument") +CURLWARNING(_curl_multi_setopt_err_timercb, + "curl_multi_setopt expects a curl_multi_timer_callback argument") + +CURLWARNING(_curl_easy_setopt_err_long, + "curl_easy_setopt expects a long argument") +CURLWARNING(_curl_easy_setopt_err_curl_off_t, + "curl_easy_setopt expects a curl_off_t argument") +CURLWARNING(_curl_easy_setopt_err_string, + "curl_easy_setopt expects a " + "string ('char *' or char[]) argument") +CURLWARNING(_curl_easy_setopt_err_write_callback, + "curl_easy_setopt expects a curl_write_callback argument") +CURLWARNING(_curl_easy_setopt_err_resolver_start_callback, + "curl_easy_setopt expects a " + "curl_resolver_start_callback argument") +CURLWARNING(_curl_easy_setopt_err_read_cb, + "curl_easy_setopt expects a curl_read_callback argument") +CURLWARNING(_curl_easy_setopt_err_ioctl_cb, + "curl_easy_setopt expects a curl_ioctl_callback argument") +CURLWARNING(_curl_easy_setopt_err_sockopt_cb, + "curl_easy_setopt expects a curl_sockopt_callback argument") +CURLWARNING(_curl_easy_setopt_err_opensocket_cb, + "curl_easy_setopt expects a " + "curl_opensocket_callback argument") +CURLWARNING(_curl_easy_setopt_err_progress_cb, + "curl_easy_setopt expects a curl_progress_callback argument") +CURLWARNING(_curl_easy_setopt_err_xferinfo_cb, + "curl_easy_setopt expects a curl_xferinfo_callback argument") +CURLWARNING(_curl_easy_setopt_err_debug_cb, + "curl_easy_setopt expects a curl_debug_callback argument") +CURLWARNING(_curl_easy_setopt_err_ssl_ctx_cb, + "curl_easy_setopt expects a curl_ssl_ctx_callback argument") +CURLWARNING(_curl_easy_setopt_err_conv_cb, + "curl_easy_setopt expects a curl_conv_callback argument") +CURLWARNING(_curl_easy_setopt_err_seek_cb, + "curl_easy_setopt expects a curl_seek_callback argument") +CURLWARNING(_curl_easy_setopt_err_cb_data, + "curl_easy_setopt expects a " + "private data pointer as argument") +CURLWARNING(_curl_easy_setopt_err_chunk_bgn_cb, + "curl_easy_setopt expects a curl_chunk_bgn_callback argument") +CURLWARNING(_curl_easy_setopt_err_chunk_end_cb, + "curl_easy_setopt expects a curl_chunk_end_callback argument") +CURLWARNING(_curl_easy_setopt_err_close_socket_cb, + "curl_easy_setopt expects a curl_closesocket_callback argument") +CURLWARNING(_curl_easy_setopt_err_fnmatch_cb, + "curl_easy_setopt expects a curl_fnmatch_callback argument") +CURLWARNING(_curl_easy_setopt_err_hstsread_cb, + "curl_easy_setopt expects a curl_hstsread_callback argument") +CURLWARNING(_curl_easy_setopt_err_hstswrite_cb, + "curl_easy_setopt expects a curl_hstswrite_callback argument") +CURLWARNING(_curl_easy_setopt_err_ssh_key_cb, + "curl_easy_setopt expects a curl_sshkeycallback argument") +CURLWARNING(_curl_easy_setopt_err_ssh_hostkey_cb, + "curl_easy_setopt expects a curl_sshhostkeycallback argument") +CURLWARNING(_curl_easy_setopt_err_interleave_cb, + "curl_easy_setopt expects a curl_interleave_callback argument") +CURLWARNING(_curl_easy_setopt_err_prereq_cb, + "curl_easy_setopt expects a curl_prereq_callback argument") +CURLWARNING(_curl_easy_setopt_err_trailer_cb, + "curl_easy_setopt expects a curl_trailerfunc_ok argument") +CURLWARNING(_curl_easy_setopt_err_error_buffer, + "curl_easy_setopt expects a " + "char buffer of CURL_ERROR_SIZE as argument") +CURLWARNING(_curl_easy_setopt_err_curlu, + "curl_easy_setopt expects a 'CURLU *' argument") +CURLWARNING(_curl_easy_setopt_err_curl, + "curl_easy_setopt expects a 'CURL *' argument") +CURLWARNING(_curl_easy_setopt_err_FILE, + "curl_easy_setopt expects a 'FILE *' argument") +CURLWARNING(_curl_easy_setopt_err_postfields, + "curl_easy_setopt expects a 'void *' or 'char *' argument") +CURLWARNING(_curl_easy_setopt_err_curl_httpost, + "curl_easy_setopt expects a 'struct curl_httppost *' " + "argument") +CURLWARNING(_curl_easy_setopt_err_curl_mimepost, + "curl_easy_setopt expects a 'curl_mime *' " + "argument") +CURLWARNING(_curl_easy_setopt_err_curl_slist, + "curl_easy_setopt expects a 'struct curl_slist *' argument") +CURLWARNING(_curl_easy_setopt_err_CURLSH, + "curl_easy_setopt expects a CURLSH* argument") +CURLWARNING(_curl_easy_getinfo_err_string, + "curl_easy_getinfo expects a pointer to 'char *'") +CURLWARNING(_curl_easy_getinfo_err_long, + "curl_easy_getinfo expects a pointer to long") +CURLWARNING(_curl_easy_getinfo_err_double, + "curl_easy_getinfo expects a pointer to double") +CURLWARNING(_curl_easy_getinfo_err_curl_slist, + "curl_easy_getinfo expects a pointer to 'struct curl_slist *'") +CURLWARNING(_curl_easy_getinfo_err_curl_tlssessioninfo, + "curl_easy_getinfo expects a pointer to " + "'struct curl_tlssessioninfo *'") +CURLWARNING(_curl_easy_getinfo_err_curl_certinfo, + "curl_easy_getinfo expects a pointer to " + "'struct curl_certinfo *'") +CURLWARNING(_curl_easy_getinfo_err_curl_socket, + "curl_easy_getinfo expects a pointer to curl_socket_t") +CURLWARNING(_curl_easy_getinfo_err_curl_off_t, + "curl_easy_getinfo expects a pointer to curl_off_t") + +/* groups of curl_easy_setops options that take the same type of argument */ + +/* evaluates to true if option takes a long argument */ +#define curlcheck_long_option(option) \ + (0 < (option) && (option) < CURLOPTTYPE_OBJECTPOINT) + +#define curlcheck_off_t_option(option) \ + (((option) > CURLOPTTYPE_OFF_T) && ((option) < CURLOPTTYPE_BLOB)) + +/* option takes a CURL * argument */ +#define curlcheck_curl_option(option) \ + ((option) == CURLOPT_STREAM_DEPENDS || \ + (option) == CURLOPT_STREAM_DEPENDS_E || \ + 0) + +/* evaluates to true if option takes a char* argument */ +#define curlcheck_string_option(option) \ + ((option) == CURLOPT_ABSTRACT_UNIX_SOCKET || \ + (option) == CURLOPT_ACCEPT_ENCODING || \ + (option) == CURLOPT_ALTSVC || \ + (option) == CURLOPT_CAINFO || \ + (option) == CURLOPT_CAPATH || \ + (option) == CURLOPT_COOKIE || \ + (option) == CURLOPT_COOKIEFILE || \ + (option) == CURLOPT_COOKIEJAR || \ + (option) == CURLOPT_COOKIELIST || \ + (option) == CURLOPT_CRLFILE || \ + (option) == CURLOPT_CUSTOMREQUEST || \ + (option) == CURLOPT_DEFAULT_PROTOCOL || \ + (option) == CURLOPT_DNS_INTERFACE || \ + (option) == CURLOPT_DNS_LOCAL_IP4 || \ + (option) == CURLOPT_DNS_LOCAL_IP6 || \ + (option) == CURLOPT_DNS_SERVERS || \ + (option) == CURLOPT_DOH_URL || \ + (option) == CURLOPT_ECH || \ + (option) == CURLOPT_EGDSOCKET || \ + (option) == CURLOPT_FTP_ACCOUNT || \ + (option) == CURLOPT_FTP_ALTERNATIVE_TO_USER || \ + (option) == CURLOPT_FTPPORT || \ + (option) == CURLOPT_HAPROXY_CLIENT_IP || \ + (option) == CURLOPT_HSTS || \ + (option) == CURLOPT_INTERFACE || \ + (option) == CURLOPT_ISSUERCERT || \ + (option) == CURLOPT_KEYPASSWD || \ + (option) == CURLOPT_KRBLEVEL || \ + (option) == CURLOPT_LOGIN_OPTIONS || \ + (option) == CURLOPT_MAIL_AUTH || \ + (option) == CURLOPT_MAIL_FROM || \ + (option) == CURLOPT_NETRC_FILE || \ + (option) == CURLOPT_NOPROXY || \ + (option) == CURLOPT_PASSWORD || \ + (option) == CURLOPT_PINNEDPUBLICKEY || \ + (option) == CURLOPT_PRE_PROXY || \ + (option) == CURLOPT_PROTOCOLS_STR || \ + (option) == CURLOPT_PROXY || \ + (option) == CURLOPT_PROXY_CAINFO || \ + (option) == CURLOPT_PROXY_CAPATH || \ + (option) == CURLOPT_PROXY_CRLFILE || \ + (option) == CURLOPT_PROXY_ISSUERCERT || \ + (option) == CURLOPT_PROXY_KEYPASSWD || \ + (option) == CURLOPT_PROXY_PINNEDPUBLICKEY || \ + (option) == CURLOPT_PROXY_SERVICE_NAME || \ + (option) == CURLOPT_PROXY_SSL_CIPHER_LIST || \ + (option) == CURLOPT_PROXY_SSLCERT || \ + (option) == CURLOPT_PROXY_SSLCERTTYPE || \ + (option) == CURLOPT_PROXY_SSLKEY || \ + (option) == CURLOPT_PROXY_SSLKEYTYPE || \ + (option) == CURLOPT_PROXY_TLS13_CIPHERS || \ + (option) == CURLOPT_PROXY_TLSAUTH_PASSWORD || \ + (option) == CURLOPT_PROXY_TLSAUTH_TYPE || \ + (option) == CURLOPT_PROXY_TLSAUTH_USERNAME || \ + (option) == CURLOPT_PROXYPASSWORD || \ + (option) == CURLOPT_PROXYUSERNAME || \ + (option) == CURLOPT_PROXYUSERPWD || \ + (option) == CURLOPT_RANDOM_FILE || \ + (option) == CURLOPT_RANGE || \ + (option) == CURLOPT_REDIR_PROTOCOLS_STR || \ + (option) == CURLOPT_REFERER || \ + (option) == CURLOPT_REQUEST_TARGET || \ + (option) == CURLOPT_RTSP_SESSION_ID || \ + (option) == CURLOPT_RTSP_STREAM_URI || \ + (option) == CURLOPT_RTSP_TRANSPORT || \ + (option) == CURLOPT_SASL_AUTHZID || \ + (option) == CURLOPT_SERVICE_NAME || \ + (option) == CURLOPT_SOCKS5_GSSAPI_SERVICE || \ + (option) == CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 || \ + (option) == CURLOPT_SSH_HOST_PUBLIC_KEY_SHA256 || \ + (option) == CURLOPT_SSH_KNOWNHOSTS || \ + (option) == CURLOPT_SSH_PRIVATE_KEYFILE || \ + (option) == CURLOPT_SSH_PUBLIC_KEYFILE || \ + (option) == CURLOPT_SSLCERT || \ + (option) == CURLOPT_SSLCERTTYPE || \ + (option) == CURLOPT_SSLENGINE || \ + (option) == CURLOPT_SSLKEY || \ + (option) == CURLOPT_SSLKEYTYPE || \ + (option) == CURLOPT_SSL_CIPHER_LIST || \ + (option) == CURLOPT_SSL_EC_CURVES || \ + (option) == CURLOPT_SSL_SIGNATURE_ALGORITHMS || \ + (option) == CURLOPT_TLS13_CIPHERS || \ + (option) == CURLOPT_TLSAUTH_PASSWORD || \ + (option) == CURLOPT_TLSAUTH_TYPE || \ + (option) == CURLOPT_TLSAUTH_USERNAME || \ + (option) == CURLOPT_UNIX_SOCKET_PATH || \ + (option) == CURLOPT_URL || \ + (option) == CURLOPT_USERAGENT || \ + (option) == CURLOPT_USERNAME || \ + (option) == CURLOPT_AWS_SIGV4 || \ + (option) == CURLOPT_USERPWD || \ + (option) == CURLOPT_XOAUTH2_BEARER || \ + 0) + +/* evaluates to true if option takes a curl_write_callback argument */ +#define curlcheck_write_cb_option(option) \ + ((option) == CURLOPT_HEADERFUNCTION || \ + (option) == CURLOPT_WRITEFUNCTION) + +/* evaluates to true if option takes a curl_conv_callback argument */ +#define curlcheck_conv_cb_option(option) \ + ((option) == CURLOPT_CONV_TO_NETWORK_FUNCTION || \ + (option) == CURLOPT_CONV_FROM_NETWORK_FUNCTION || \ + (option) == CURLOPT_CONV_FROM_UTF8_FUNCTION) + +/* evaluates to true if option takes a data argument to pass to a callback */ +#define curlcheck_cb_data_option(option) \ + ((option) == CURLOPT_CHUNK_DATA || \ + (option) == CURLOPT_CLOSESOCKETDATA || \ + (option) == CURLOPT_DEBUGDATA || \ + (option) == CURLOPT_FNMATCH_DATA || \ + (option) == CURLOPT_HEADERDATA || \ + (option) == CURLOPT_HSTSREADDATA || \ + (option) == CURLOPT_HSTSWRITEDATA || \ + (option) == CURLOPT_INTERLEAVEDATA || \ + (option) == CURLOPT_IOCTLDATA || \ + (option) == CURLOPT_OPENSOCKETDATA || \ + (option) == CURLOPT_PREREQDATA || \ + (option) == CURLOPT_XFERINFODATA || \ + (option) == CURLOPT_READDATA || \ + (option) == CURLOPT_SEEKDATA || \ + (option) == CURLOPT_SOCKOPTDATA || \ + (option) == CURLOPT_SSH_KEYDATA || \ + (option) == CURLOPT_SSL_CTX_DATA || \ + (option) == CURLOPT_WRITEDATA || \ + (option) == CURLOPT_RESOLVER_START_DATA || \ + (option) == CURLOPT_TRAILERDATA || \ + (option) == CURLOPT_SSH_HOSTKEYDATA || \ + 0) + +/* evaluates to true if option takes a POST data argument (void* or char*) */ +#define curlcheck_postfields_option(option) \ + ((option) == CURLOPT_POSTFIELDS || \ + (option) == CURLOPT_COPYPOSTFIELDS || \ + 0) + +/* evaluates to true if option takes a struct curl_slist * argument */ +#define curlcheck_slist_option(option) \ + ((option) == CURLOPT_HTTP200ALIASES || \ + (option) == CURLOPT_HTTPHEADER || \ + (option) == CURLOPT_MAIL_RCPT || \ + (option) == CURLOPT_POSTQUOTE || \ + (option) == CURLOPT_PREQUOTE || \ + (option) == CURLOPT_PROXYHEADER || \ + (option) == CURLOPT_QUOTE || \ + (option) == CURLOPT_RESOLVE || \ + (option) == CURLOPT_TELNETOPTIONS || \ + (option) == CURLOPT_CONNECT_TO || \ + 0) + +/* groups of curl_easy_getinfo infos that take the same type of argument */ + +/* evaluates to true if info expects a pointer to char * argument */ +#define curlcheck_string_info(info) \ + (CURLINFO_STRING < (info) && (info) < CURLINFO_LONG && \ + (info) != CURLINFO_PRIVATE) + +/* evaluates to true if info expects a pointer to long argument */ +#define curlcheck_long_info(info) \ + (CURLINFO_LONG < (info) && (info) < CURLINFO_DOUBLE) + +/* evaluates to true if info expects a pointer to double argument */ +#define curlcheck_double_info(info) \ + (CURLINFO_DOUBLE < (info) && (info) < CURLINFO_SLIST) + +/* true if info expects a pointer to struct curl_slist * argument */ +#define curlcheck_slist_info(info) \ + (((info) == CURLINFO_SSL_ENGINES) || ((info) == CURLINFO_COOKIELIST)) + +/* true if info expects a pointer to struct curl_tlssessioninfo * argument */ +#define curlcheck_tlssessioninfo_info(info) \ + (((info) == CURLINFO_TLS_SSL_PTR) || ((info) == CURLINFO_TLS_SESSION)) + +/* true if info expects a pointer to struct curl_certinfo * argument */ +#define curlcheck_certinfo_info(info) ((info) == CURLINFO_CERTINFO) + +/* true if info expects a pointer to struct curl_socket_t argument */ +#define curlcheck_socket_info(info) \ + (CURLINFO_SOCKET < (info) && (info) < CURLINFO_OFF_T) + +/* true if info expects a pointer to curl_off_t argument */ +#define curlcheck_off_t_info(info) \ + (CURLINFO_OFF_T < (info)) + + +/* typecheck helpers -- check whether given expression has requested type */ + +/* For pointers, you can use the curlcheck_ptr/curlcheck_arr macros, + * otherwise define a new macro. Search for __builtin_types_compatible_p + * in the GCC manual. + * NOTE: these macros MUST NOT EVALUATE their arguments! The argument is + * the actual expression passed to the curl_easy_setopt macro. This + * means that you can only apply the sizeof and __typeof__ operators, no + * == or whatsoever. + */ + +/* XXX: should evaluate to true if expr is a pointer */ +#define curlcheck_any_ptr(expr) \ + (sizeof(expr) == sizeof(void *)) + +/* evaluates to true if expr is NULL */ +/* XXX: must not evaluate expr, so this check is not accurate */ +#define curlcheck_NULL(expr) \ + (__builtin_types_compatible_p(__typeof__(expr), __typeof__(NULL))) + +/* evaluates to true if expr is type*, const type* or NULL */ +#define curlcheck_ptr(expr, type) \ + (curlcheck_NULL(expr) || \ + __builtin_types_compatible_p(__typeof__(expr), type *) || \ + __builtin_types_compatible_p(__typeof__(expr), const type *)) + +/* evaluates to true if expr is type**, const type** or NULL */ +#define curlcheck_ptrptr(expr, type) \ + (curlcheck_NULL(expr) || \ + __builtin_types_compatible_p(__typeof__(expr), type **) || \ + __builtin_types_compatible_p(__typeof__(expr), type *[]) || \ + __builtin_types_compatible_p(__typeof__(expr), const type *[]) || \ + __builtin_types_compatible_p(__typeof__(expr), const type **)) + +/* evaluates to true if expr is one of type[], type*, NULL or const type* */ +#define curlcheck_arr(expr, type) \ + (curlcheck_ptr((expr), type) || \ + __builtin_types_compatible_p(__typeof__(expr), type [])) + +/* evaluates to true if expr is a string */ +#define curlcheck_string(expr) \ + (curlcheck_arr((expr), char) || \ + curlcheck_arr((expr), signed char) || \ + curlcheck_arr((expr), unsigned char)) + +/* evaluates to true if expr is a CURL * */ +#define curlcheck_curl(expr) \ + (curlcheck_NULL(expr) || \ + __builtin_types_compatible_p(__typeof__(expr), CURL *)) + + +/* evaluates to true if expr is a long (no matter the signedness) + * XXX: for now, int is also accepted (and therefore short and char, which + * are promoted to int when passed to a variadic function) */ +#define curlcheck_long(expr) \ + ( \ + ((sizeof(long) != sizeof(int)) && \ + (__builtin_types_compatible_p(__typeof__(expr), long) || \ + __builtin_types_compatible_p(__typeof__(expr), signed long) || \ + __builtin_types_compatible_p(__typeof__(expr), unsigned long))) \ + || \ + ((sizeof(long) == sizeof(int)) && \ + (__builtin_types_compatible_p(__typeof__(expr), long) || \ + __builtin_types_compatible_p(__typeof__(expr), signed long) || \ + __builtin_types_compatible_p(__typeof__(expr), unsigned long) || \ + __builtin_types_compatible_p(__typeof__(expr), int) || \ + __builtin_types_compatible_p(__typeof__(expr), signed int) || \ + __builtin_types_compatible_p(__typeof__(expr), unsigned int) || \ + __builtin_types_compatible_p(__typeof__(expr), short) || \ + __builtin_types_compatible_p(__typeof__(expr), signed short) || \ + __builtin_types_compatible_p(__typeof__(expr), unsigned short) || \ + __builtin_types_compatible_p(__typeof__(expr), char) || \ + __builtin_types_compatible_p(__typeof__(expr), signed char) || \ + __builtin_types_compatible_p(__typeof__(expr), unsigned char))) \ + ) + +/* evaluates to true if expr is of type curl_off_t */ +#define curlcheck_off_t(expr) \ + (__builtin_types_compatible_p(__typeof__(expr), curl_off_t)) + +/* evaluates to true if expr is abuffer suitable for CURLOPT_ERRORBUFFER */ +/* XXX: also check size of an char[] array? */ +#define curlcheck_error_buffer(expr) \ + (curlcheck_NULL(expr) || \ + __builtin_types_compatible_p(__typeof__(expr), char *) || \ + __builtin_types_compatible_p(__typeof__(expr), char[])) + +/* evaluates to true if expr is of type (const) void* or (const) FILE* */ +#if 0 +#define curlcheck_cb_data(expr) \ + (curlcheck_ptr((expr), void) || \ + curlcheck_ptr((expr), FILE)) +#else /* be less strict */ +#define curlcheck_cb_data(expr) \ + curlcheck_any_ptr(expr) +#endif + +/* evaluates to true if expr is of type FILE* */ +#define curlcheck_FILE(expr) \ + (curlcheck_NULL(expr) || \ + (__builtin_types_compatible_p(__typeof__(expr), FILE *))) + +/* evaluates to true if expr can be passed as POST data (void* or char*) */ +#define curlcheck_postfields(expr) \ + (curlcheck_ptr((expr), void) || \ + curlcheck_arr((expr), char) || \ + curlcheck_arr((expr), unsigned char)) + +/* helper: __builtin_types_compatible_p distinguishes between functions and + * function pointers, hide it */ +#define curlcheck_cb_compatible(func, type) \ + (__builtin_types_compatible_p(__typeof__(func), type) || \ + __builtin_types_compatible_p(__typeof__(func) *, type)) + +/* evaluates to true if expr is of type curl_resolver_start_callback */ +#define curlcheck_resolver_start_callback(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_resolver_start_callback)) + +/* evaluates to true if expr is of type curl_read_callback or "similar" */ +#define curlcheck_read_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), __typeof__(fread) *) || \ + curlcheck_cb_compatible((expr), curl_read_callback) || \ + curlcheck_cb_compatible((expr), _curl_read_callback1) || \ + curlcheck_cb_compatible((expr), _curl_read_callback2) || \ + curlcheck_cb_compatible((expr), _curl_read_callback3) || \ + curlcheck_cb_compatible((expr), _curl_read_callback4) || \ + curlcheck_cb_compatible((expr), _curl_read_callback5) || \ + curlcheck_cb_compatible((expr), _curl_read_callback6)) +typedef size_t (*_curl_read_callback1)(char *, size_t, size_t, void *); +typedef size_t (*_curl_read_callback2)(char *, size_t, size_t, const void *); +typedef size_t (*_curl_read_callback3)(char *, size_t, size_t, FILE *); +typedef size_t (*_curl_read_callback4)(void *, size_t, size_t, void *); +typedef size_t (*_curl_read_callback5)(void *, size_t, size_t, const void *); +typedef size_t (*_curl_read_callback6)(void *, size_t, size_t, FILE *); + +/* evaluates to true if expr is of type curl_write_callback or "similar" */ +#define curlcheck_write_cb(expr) \ + (curlcheck_read_cb(expr) || \ + curlcheck_cb_compatible((expr), __typeof__(fwrite) *) || \ + curlcheck_cb_compatible((expr), curl_write_callback) || \ + curlcheck_cb_compatible((expr), _curl_write_callback1) || \ + curlcheck_cb_compatible((expr), _curl_write_callback2) || \ + curlcheck_cb_compatible((expr), _curl_write_callback3) || \ + curlcheck_cb_compatible((expr), _curl_write_callback4) || \ + curlcheck_cb_compatible((expr), _curl_write_callback5) || \ + curlcheck_cb_compatible((expr), _curl_write_callback6)) +typedef size_t (*_curl_write_callback1)(const char *, size_t, size_t, void *); +typedef size_t (*_curl_write_callback2)(const char *, size_t, size_t, + const void *); +typedef size_t (*_curl_write_callback3)(const char *, size_t, size_t, FILE *); +typedef size_t (*_curl_write_callback4)(const void *, size_t, size_t, void *); +typedef size_t (*_curl_write_callback5)(const void *, size_t, size_t, + const void *); +typedef size_t (*_curl_write_callback6)(const void *, size_t, size_t, FILE *); + +/* evaluates to true if expr is of type curl_ioctl_callback or "similar" */ +#define curlcheck_ioctl_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_ioctl_callback) || \ + curlcheck_cb_compatible((expr), _curl_ioctl_callback1) || \ + curlcheck_cb_compatible((expr), _curl_ioctl_callback2) || \ + curlcheck_cb_compatible((expr), _curl_ioctl_callback3) || \ + curlcheck_cb_compatible((expr), _curl_ioctl_callback4)) +typedef curlioerr (*_curl_ioctl_callback1)(CURL *, int, void *); +typedef curlioerr (*_curl_ioctl_callback2)(CURL *, int, const void *); +typedef curlioerr (*_curl_ioctl_callback3)(CURL *, curliocmd, void *); +typedef curlioerr (*_curl_ioctl_callback4)(CURL *, curliocmd, const void *); + +/* evaluates to true if expr is of type curl_sockopt_callback or "similar" */ +#define curlcheck_sockopt_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_sockopt_callback) || \ + curlcheck_cb_compatible((expr), _curl_sockopt_callback1) || \ + curlcheck_cb_compatible((expr), _curl_sockopt_callback2)) +typedef int (*_curl_sockopt_callback1)(void *, curl_socket_t, curlsocktype); +typedef int (*_curl_sockopt_callback2)(const void *, curl_socket_t, + curlsocktype); + +/* evaluates to true if expr is of type curl_opensocket_callback or + "similar" */ +#define curlcheck_opensocket_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_opensocket_callback) || \ + curlcheck_cb_compatible((expr), _curl_opensocket_callback1) || \ + curlcheck_cb_compatible((expr), _curl_opensocket_callback2) || \ + curlcheck_cb_compatible((expr), _curl_opensocket_callback3) || \ + curlcheck_cb_compatible((expr), _curl_opensocket_callback4)) +typedef curl_socket_t (*_curl_opensocket_callback1) + (void *, curlsocktype, struct curl_sockaddr *); +typedef curl_socket_t (*_curl_opensocket_callback2) + (void *, curlsocktype, const struct curl_sockaddr *); +typedef curl_socket_t (*_curl_opensocket_callback3) + (const void *, curlsocktype, struct curl_sockaddr *); +typedef curl_socket_t (*_curl_opensocket_callback4) + (const void *, curlsocktype, const struct curl_sockaddr *); + +/* evaluates to true if expr is of type curl_progress_callback or "similar" */ +#define curlcheck_progress_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_progress_callback) || \ + curlcheck_cb_compatible((expr), _curl_progress_callback1) || \ + curlcheck_cb_compatible((expr), _curl_progress_callback2)) +typedef int (*_curl_progress_callback1)(void *, + double, double, double, double); +typedef int (*_curl_progress_callback2)(const void *, + double, double, double, double); + +/* evaluates to true if expr is of type curl_xferinfo_callback */ +#define curlcheck_xferinfo_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_xferinfo_callback)) + +/* evaluates to true if expr is of type curl_debug_callback or "similar" */ +#define curlcheck_debug_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_debug_callback) || \ + curlcheck_cb_compatible((expr), _curl_debug_callback1) || \ + curlcheck_cb_compatible((expr), _curl_debug_callback2) || \ + curlcheck_cb_compatible((expr), _curl_debug_callback3) || \ + curlcheck_cb_compatible((expr), _curl_debug_callback4) || \ + curlcheck_cb_compatible((expr), _curl_debug_callback5) || \ + curlcheck_cb_compatible((expr), _curl_debug_callback6) || \ + curlcheck_cb_compatible((expr), _curl_debug_callback7) || \ + curlcheck_cb_compatible((expr), _curl_debug_callback8)) +typedef int (*_curl_debug_callback1) (CURL *, + curl_infotype, char *, size_t, void *); +typedef int (*_curl_debug_callback2) (CURL *, + curl_infotype, char *, size_t, const void *); +typedef int (*_curl_debug_callback3) (CURL *, + curl_infotype, const char *, size_t, void *); +typedef int (*_curl_debug_callback4) (CURL *, + curl_infotype, const char *, size_t, const void *); +typedef int (*_curl_debug_callback5) (CURL *, + curl_infotype, unsigned char *, size_t, void *); +typedef int (*_curl_debug_callback6) (CURL *, + curl_infotype, unsigned char *, size_t, const void *); +typedef int (*_curl_debug_callback7) (CURL *, + curl_infotype, const unsigned char *, size_t, void *); +typedef int (*_curl_debug_callback8) (CURL *, + curl_infotype, const unsigned char *, size_t, const void *); + +/* evaluates to true if expr is of type curl_ssl_ctx_callback or "similar" */ +/* this is getting even messier... */ +#define curlcheck_ssl_ctx_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_ssl_ctx_callback) || \ + curlcheck_cb_compatible((expr), _curl_ssl_ctx_callback1) || \ + curlcheck_cb_compatible((expr), _curl_ssl_ctx_callback2) || \ + curlcheck_cb_compatible((expr), _curl_ssl_ctx_callback3) || \ + curlcheck_cb_compatible((expr), _curl_ssl_ctx_callback4) || \ + curlcheck_cb_compatible((expr), _curl_ssl_ctx_callback5) || \ + curlcheck_cb_compatible((expr), _curl_ssl_ctx_callback6) || \ + curlcheck_cb_compatible((expr), _curl_ssl_ctx_callback7) || \ + curlcheck_cb_compatible((expr), _curl_ssl_ctx_callback8)) +typedef CURLcode (*_curl_ssl_ctx_callback1)(CURL *, void *, void *); +typedef CURLcode (*_curl_ssl_ctx_callback2)(CURL *, void *, const void *); +typedef CURLcode (*_curl_ssl_ctx_callback3)(CURL *, const void *, void *); +typedef CURLcode (*_curl_ssl_ctx_callback4)(CURL *, const void *, + const void *); +#ifdef HEADER_SSL_H +/* hack: if we included OpenSSL's ssl.h, we know about SSL_CTX + * this will of course break if we are included before OpenSSL headers... + */ +typedef CURLcode (*_curl_ssl_ctx_callback5)(CURL *, SSL_CTX *, void *); +typedef CURLcode (*_curl_ssl_ctx_callback6)(CURL *, SSL_CTX *, const void *); +typedef CURLcode (*_curl_ssl_ctx_callback7)(CURL *, const SSL_CTX *, void *); +typedef CURLcode (*_curl_ssl_ctx_callback8)(CURL *, const SSL_CTX *, + const void *); +#else +typedef _curl_ssl_ctx_callback1 _curl_ssl_ctx_callback5; +typedef _curl_ssl_ctx_callback1 _curl_ssl_ctx_callback6; +typedef _curl_ssl_ctx_callback1 _curl_ssl_ctx_callback7; +typedef _curl_ssl_ctx_callback1 _curl_ssl_ctx_callback8; +#endif + +/* evaluates to true if expr is of type curl_conv_callback or "similar" */ +#define curlcheck_conv_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_conv_callback) || \ + curlcheck_cb_compatible((expr), _curl_conv_callback1) || \ + curlcheck_cb_compatible((expr), _curl_conv_callback2) || \ + curlcheck_cb_compatible((expr), _curl_conv_callback3) || \ + curlcheck_cb_compatible((expr), _curl_conv_callback4)) +typedef CURLcode (*_curl_conv_callback1)(char *, size_t length); +typedef CURLcode (*_curl_conv_callback2)(const char *, size_t length); +typedef CURLcode (*_curl_conv_callback3)(void *, size_t length); +typedef CURLcode (*_curl_conv_callback4)(const void *, size_t length); + +/* evaluates to true if expr is of type curl_seek_callback or "similar" */ +#define curlcheck_seek_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_seek_callback) || \ + curlcheck_cb_compatible((expr), _curl_seek_callback1) || \ + curlcheck_cb_compatible((expr), _curl_seek_callback2)) +typedef CURLcode (*_curl_seek_callback1)(void *, curl_off_t, int); +typedef CURLcode (*_curl_seek_callback2)(const void *, curl_off_t, int); + +/* evaluates to true if expr is of type curl_chunk_bgn_callback */ +#define curlcheck_chunk_bgn_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_chunk_bgn_callback) || \ + curlcheck_cb_compatible((expr), _curl_chunk_bgn_callback1) || \ + curlcheck_cb_compatible((expr), _curl_chunk_bgn_callback2)) +typedef long (*_curl_chunk_bgn_callback1)(struct curl_fileinfo *, + void *, int); +typedef long (*_curl_chunk_bgn_callback2)(void *, void *, int); + +/* evaluates to true if expr is of type curl_chunk_end_callback */ +#define curlcheck_chunk_end_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_chunk_end_callback)) + +/* evaluates to true if expr is of type curl_closesocket_callback */ +#define curlcheck_close_socket_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_closesocket_callback)) + +/* evaluates to true if expr is of type curl_fnmatch_callback */ +#define curlcheck_fnmatch_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_fnmatch_callback)) + +/* evaluates to true if expr is of type curl_hstsread_callback */ +#define curlcheck_hstsread_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_hstsread_callback)) + +/* evaluates to true if expr is of type curl_hstswrite_callback */ +#define curlcheck_hstswrite_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_hstswrite_callback)) + +/* evaluates to true if expr is of type curl_sshhostkeycallback */ +#define curlcheck_ssh_hostkey_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_sshhostkeycallback)) + +/* evaluates to true if expr is of type curl_sshkeycallback */ +#define curlcheck_ssh_key_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_sshkeycallback)) + +/* evaluates to true if expr is of type curl_interleave_callback */ +#define curlcheck_interleave_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), _curl_interleave_callback1) || \ + curlcheck_cb_compatible((expr), _curl_interleave_callback2)) +typedef size_t (*_curl_interleave_callback1)(void *p, size_t s, + size_t n, void *u); +typedef size_t (*_curl_interleave_callback2)(char *p, size_t s, + size_t n, void *u); + +/* evaluates to true if expr is of type curl_prereq_callback */ +#define curlcheck_prereq_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_prereq_callback)) + +/* evaluates to true if expr is of type curl_trailer_callback */ +#define curlcheck_trailer_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_trailer_callback)) + +#endif /* CURLINC_TYPECHECK_GCC_H */ diff --git a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/urlapi.h b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/urlapi.h index e5e63d1..bc691b8 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/urlapi.h +++ b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/urlapi.h @@ -26,7 +26,7 @@ #include "curl.h" -#ifdef __cplusplus +#ifdef __cplusplus extern "C" { #endif @@ -97,11 +97,12 @@ typedef enum { #define CURLU_NO_AUTHORITY (1<<10) /* Allow empty authority when the scheme is unknown. */ #define CURLU_ALLOW_SPACE (1<<11) /* Allow spaces in the URL */ -#define CURLU_PUNYCODE (1<<12) /* get the host name in punycode */ +#define CURLU_PUNYCODE (1<<12) /* get the hostname in punycode */ #define CURLU_PUNY2IDN (1<<13) /* punycode => IDN conversion */ #define CURLU_GET_EMPTY (1<<14) /* allow empty queries and fragments when extracting the URL or the components */ +#define CURLU_NO_GUESS_SCHEME (1<<15) /* for get, do not accept a guess */ typedef struct Curl_URL CURLU; @@ -142,8 +143,8 @@ CURL_EXTERN CURLUcode curl_url_set(CURLU *handle, CURLUPart what, /* * curl_url_strerror() turns a CURLUcode value into the equivalent human - * readable error string. This is useful for printing meaningful error - * messaHuL. + * readable error string. This is useful for printing meaningful error + * messaJNx. */ CURL_EXTERN const char *curl_url_strerror(CURLUcode); diff --git a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/websockets.h b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/websockets.h index 6ef6a2b..df8590f 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/websockets.h +++ b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/websockets.h @@ -24,7 +24,7 @@ * ***************************************************************************/ -#ifdef __cplusplus +#ifdef __cplusplus extern "C" { #endif @@ -72,12 +72,26 @@ CURL_EXTERN CURLcode curl_ws_send(CURL *curl, const void *buffer, curl_off_t fragsize, unsigned int flags); +/* + * NAME curl_ws_start_frame() + * + * DESCRIPTION + * + * Buffers a websocket frame header with the given flags and length. + * Errors when a previous frame is not complete, e.g. not all its + * payload has been added. + */ +CURL_EXTERN CURLcode curl_ws_start_frame(CURL *curl, + unsigned int flags, + curl_off_t frame_len); + /* bits for the CURLOPT_WS_OPTIONS bitmask: */ -#define CURLWS_RAW_MODE (1<<0) +#define CURLWS_RAW_MODE (1L<<0) +#define CURLWS_NOAUTOPONG (1L<<1) CURL_EXTERN const struct curl_ws_frame *curl_ws_meta(CURL *curl); -#ifdef __cplusplus +#ifdef __cplusplus } #endif diff --git a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Info.plist b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Info.plist index 660b0ae..44d4b86 100644 Binary files a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Info.plist and b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Info.plist differ diff --git a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.abi.json b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.abi.json index 96e17c9..4fb4a2e 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.abi.json +++ b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.abi.json @@ -252,6 +252,41 @@ "AccessControl" ] }, + { + "kind": "TypeDecl", + "name": "RaspExecutionState", + "printedName": "RaspExecutionState", + "children": [ + { + "kind": "Function", + "name": "onAllChecksFinished", + "printedName": "onAllChecksFinished()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:13TalsecRuntime18RaspExecutionStateP19onAllChecksFinishedyyF", + "mangledName": "$s13TalsecRuntime18RaspExecutionStateP19onAllChecksFinishedyyF", + "moduleName": "TalsecRuntime", + "genericSig": "<τ_0_0 where τ_0_0 : TalsecRuntime.RaspExecutionState>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:13TalsecRuntime18RaspExecutionStateP", + "mangledName": "$s13TalsecRuntime18RaspExecutionStateP", + "moduleName": "TalsecRuntime", + "declAttributes": [ + "AccessControl" + ] + }, { "kind": "TypeDecl", "name": "SecurityThreatCenter", @@ -2476,1003 +2511,1003 @@ }, "ConstValues": [ { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 243, "length": 13, "value": "\"development\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 279, "length": 12, "value": "\"production\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 312, "length": 10, "value": "\"disabled\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 243, "length": 13, "value": "\"development\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 279, "length": 12, "value": "\"production\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 312, "length": 10, "value": "\"disabled\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 575, "length": 24, "value": "\"keychain-access-groups\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 628, "length": 16, "value": "\"get-task-allow\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 675, "length": 17, "value": "\"aps-environment\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 722, "length": 24, "value": "\"application-identifier\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 575, "length": 24, "value": "\"keychain-access-groups\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 628, "length": 16, "value": "\"get-task-allow\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 675, "length": 17, "value": "\"aps-environment\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 722, "length": 24, "value": "\"application-identifier\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "BooleanLiteral", "offset": 1994, "length": 5, "value": "false" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2227, "length": 6, "value": "\"Name\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2259, "length": 11, "value": "\"AppIDName\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2296, "length": 29, "value": "\"ApplicationIdentifierPrefix\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2350, "length": 10, "value": "\"TeamName\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2392, "length": 16, "value": "\"TeamIdentifier\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2433, "length": 10, "value": "\"Platform\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2474, "length": 16, "value": "\"IsXcodeManaged\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2519, "length": 14, "value": "\"CreationDate\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2564, "length": 16, "value": "\"ExpirationDate\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2607, "length": 12, "value": "\"TimeToLive\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2640, "length": 6, "value": "\"UUID\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2670, "length": 9, "value": "\"Version\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2708, "length": 14, "value": "\"Entitlements\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2227, "length": 6, "value": "\"Name\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2259, "length": 11, "value": "\"AppIDName\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2296, "length": 29, "value": "\"ApplicationIdentifierPrefix\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2350, "length": 10, "value": "\"TeamName\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2392, "length": 16, "value": "\"TeamIdentifier\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2433, "length": 10, "value": "\"Platform\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2474, "length": 16, "value": "\"IsXcodeManaged\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2519, "length": 14, "value": "\"CreationDate\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2564, "length": 16, "value": "\"ExpirationDate\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2607, "length": 12, "value": "\"TimeToLive\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2640, "length": 6, "value": "\"UUID\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2670, "length": 9, "value": "\"Version\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2708, "length": 14, "value": "\"Entitlements\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/DynamicConfiguration\/DefaultConfig.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/DynamicConfiguration\/DefaultConfig.swift", "kind": "Array", "offset": 375, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/DynamicConfiguration\/DefaultConfig.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/DynamicConfiguration\/DefaultConfig.swift", "kind": "StringLiteral", "offset": 415, "length": 2, "value": "\"\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/DynamicConfiguration\/DefaultConfig.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/DynamicConfiguration\/DefaultConfig.swift", "kind": "BooleanLiteral", "offset": 491, "length": 4, "value": "true" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 471, "length": 11, "value": "\"osVersion\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 511, "length": 14, "value": "\"manufacturer\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 547, "length": 7, "value": "\"model\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 471, "length": 11, "value": "\"osVersion\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 511, "length": 14, "value": "\"manufacturer\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 547, "length": 7, "value": "\"model\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 753, "length": 10, "value": "\"security\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 790, "length": 12, "value": "\"biometrics\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 835, "length": 18, "value": "\"hwBackedKeychain\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 753, "length": 10, "value": "\"security\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 790, "length": 12, "value": "\"biometrics\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 835, "length": 18, "value": "\"hwBackedKeychain\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 1430, "length": 18, "value": "\"endOfGracePeriod\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 1430, "length": 18, "value": "\"endOfGracePeriod\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 1874, "length": 15, "value": "\"appIdentifier\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 1916, "length": 12, "value": "\"appVersion\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 1874, "length": 15, "value": "\"appIdentifier\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 1916, "length": 12, "value": "\"appVersion\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 5957, "length": 5, "value": "\"iOS\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 6394, "length": 7, "value": "\"en_US\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 6873, "length": 3, "value": "\".\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 6923, "length": 2, "value": "\"\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7146, "length": 12, "value": "\"instanceId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7182, "length": 9, "value": "\"eventId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7218, "length": 12, "value": "\"deviceInfo\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7258, "length": 13, "value": "\"deviceState\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7295, "length": 9, "value": "\"appInfo\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7329, "length": 10, "value": "\"platform\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7365, "length": 11, "value": "\"occurence\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7407, "length": 16, "value": "\"incidentReport\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7446, "length": 8, "value": "\"checks\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7481, "length": 12, "value": "\"externalId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7519, "length": 11, "value": "\"sessionId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7555, "length": 10, "value": "\"deviceId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7592, "length": 12, "value": "\"sdkVersion\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7632, "length": 13, "value": "\"sdkPlatform\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7675, "length": 15, "value": "\"sdkIdentifier\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7146, "length": 12, "value": "\"instanceId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7182, "length": 9, "value": "\"eventId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7218, "length": 12, "value": "\"deviceInfo\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7258, "length": 13, "value": "\"deviceState\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7295, "length": 9, "value": "\"appInfo\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7329, "length": 10, "value": "\"platform\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7365, "length": 11, "value": "\"occurence\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7407, "length": 16, "value": "\"incidentReport\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7446, "length": 8, "value": "\"checks\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7481, "length": 12, "value": "\"externalId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7519, "length": 11, "value": "\"sessionId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7555, "length": 10, "value": "\"deviceId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7592, "length": 12, "value": "\"sdkVersion\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7632, "length": 13, "value": "\"sdkPlatform\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7675, "length": 15, "value": "\"sdkIdentifier\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 413, "length": 5, "value": "\"iOS\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 927, "length": 7, "value": "\"en_US\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1182, "length": 12, "value": "\"instanceId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1218, "length": 9, "value": "\"eventId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1254, "length": 12, "value": "\"sdkVersion\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1291, "length": 10, "value": "\"platform\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1329, "length": 13, "value": "\"sdkPlatform\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1369, "length": 12, "value": "\"deviceInfo\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1409, "length": 13, "value": "\"deviceState\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1448, "length": 11, "value": "\"occurence\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1482, "length": 8, "value": "\"checks\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1515, "length": 10, "value": "\"deviceId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1552, "length": 12, "value": "\"externalId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1590, "length": 11, "value": "\"licensing\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1182, "length": 12, "value": "\"instanceId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1218, "length": 9, "value": "\"eventId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1254, "length": 12, "value": "\"sdkVersion\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1291, "length": 10, "value": "\"platform\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1329, "length": 13, "value": "\"sdkPlatform\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1369, "length": 12, "value": "\"deviceInfo\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1409, "length": 13, "value": "\"deviceState\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1448, "length": 11, "value": "\"occurence\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1482, "length": 8, "value": "\"checks\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1515, "length": 10, "value": "\"deviceId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1552, "length": 12, "value": "\"externalId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1590, "length": 11, "value": "\"licensing\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/ScreenCapture\/ScreenCaptureReportRateLimiter.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/ScreenCapture\/ScreenCaptureReportRateLimiter.swift", "kind": "IntegerLiteral", "offset": 253, "length": 2, "value": "10" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Check.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Check.swift", "kind": "StringLiteral", "offset": 539, "length": 8, "value": "\"status\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Check.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Check.swift", "kind": "StringLiteral", "offset": 570, "length": 8, "value": "\"timeMs\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Check.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Check.swift", "kind": "StringLiteral", "offset": 539, "length": 8, "value": "\"status\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Check.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Check.swift", "kind": "StringLiteral", "offset": 570, "length": 8, "value": "\"timeMs\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/FreeRASP\/TalsecRunner.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/FreeRASP\/TalsecRunner.swift", "kind": "BooleanLiteral", "offset": 477, "length": 4, "value": "true" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", "kind": "StringLiteral", "offset": 289, "length": 14, "value": "\"appIntegrity\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", "kind": "StringLiteral", "offset": 382, "length": 18, "value": "\"privilegedAccess\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", "kind": "StringLiteral", "offset": 456, "length": 7, "value": "\"debug\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", "kind": "StringLiteral", "offset": 562, "length": 7, "value": "\"hooks\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", "kind": "StringLiteral", "offset": 909, "length": 15, "value": "\"deviceBinding\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", "kind": "StringLiteral", "offset": 289, "length": 14, "value": "\"appIntegrity\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", "kind": "StringLiteral", "offset": 382, "length": 18, "value": "\"privilegedAccess\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", "kind": "StringLiteral", "offset": 456, "length": 7, "value": "\"debug\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", "kind": "StringLiteral", "offset": 562, "length": 7, "value": "\"hooks\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", "kind": "StringLiteral", "offset": 909, "length": 15, "value": "\"deviceBinding\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/TalsecRuntime.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/TalsecRuntime.swift", "kind": "Dictionary", "offset": 605, "length": 3, "value": "[]" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/TalsecRuntime.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/TalsecRuntime.swift", "kind": "Dictionary", "offset": 682, "length": 3, "value": "[]" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/TalsecRuntime.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/TalsecRuntime.swift", "kind": "BooleanLiteral", - "offset": 17148, + "offset": 17205, "length": 4, "value": "true" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/TalsecRuntime.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/TalsecRuntime.swift", "kind": "BooleanLiteral", - "offset": 18385, + "offset": 18442, "length": 4, "value": "true" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/TalsecRuntime.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/TalsecRuntime.swift", "kind": "BooleanLiteral", - "offset": 19011, + "offset": 19068, "length": 4, "value": "true" } diff --git a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.private.swiftinterface b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.private.swiftinterface index a155157..f297345 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.private.swiftinterface +++ b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.private.swiftinterface @@ -16,6 +16,9 @@ import zlib public protocol SecurityThreatHandler { func threatDetected(_ securityThreat: TalsecRuntime.SecurityThreat) } +public protocol RaspExecutionState { + func onAllChecksFinished() +} @_hasMissingDesignatedInitializers public class SecurityThreatCenter { @objc deinit } diff --git a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftinterface b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftinterface index a155157..f297345 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftinterface +++ b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftinterface @@ -16,6 +16,9 @@ import zlib public protocol SecurityThreatHandler { func threatDetected(_ securityThreat: TalsecRuntime.SecurityThreat) } +public protocol RaspExecutionState { + func onAllChecksFinished() +} @_hasMissingDesignatedInitializers public class SecurityThreatCenter { @objc deinit } diff --git a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/TalsecRuntime b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/TalsecRuntime index 1cc8a9c..97b9e30 100755 Binary files a/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/TalsecRuntime and b/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/TalsecRuntime differ diff --git a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/CurlWrapper.h b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/CurlWrapper.h index d97e230..77614b5 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/CurlWrapper.h +++ b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/CurlWrapper.h @@ -16,7 +16,7 @@ #include #include -struct RvmEYfRFdioL { +struct cbGQxusCApLR { char *memory; size_t size; CURLcode ret; diff --git a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h index d0772f6..392624c 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +++ b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h @@ -298,7 +298,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #if defined(__OBJC__) -SWIFT_EXTERN void __ApWJrcnQiGvUdFqDXAEJxWG(void); +SWIFT_EXTERN void __owwROJztjggDwcrulfbQCLj(void); #endif #if __has_attribute(external_source_symbol) @@ -608,7 +608,7 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #if defined(__OBJC__) -SWIFT_EXTERN void __ApWJrcnQiGvUdFqDXAEJxWG(void); +SWIFT_EXTERN void __owwROJztjggDwcrulfbQCLj(void); #endif #if __has_attribute(external_source_symbol) diff --git a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curl.h b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curl.h index 3f8265d..72ed965 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curl.h +++ b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curl.h @@ -30,28 +30,37 @@ */ #ifdef CURL_NO_OLDIES -#define CURL_STRICTER +#define CURL_STRICTER /* not used since 8.11.0 */ #endif /* Compile-time deprecation macros. */ -#if defined(__GNUC__) && \ - ((__GNUC__ > 12) || ((__GNUC__ == 12) && (__GNUC_MINOR__ >= 1 ))) && \ - !defined(__INTEL_COMPILER) && \ +#if (defined(__GNUC__) && \ + ((__GNUC__ > 12) || ((__GNUC__ == 12) && (__GNUC_MINOR__ >= 1))) || \ + (defined(__clang__) && __clang_major__ >= 3) || \ + defined(__IAR_SYSTEMS_ICC__)) && \ + !defined(__INTEL_COMPILER) && \ !defined(CURL_DISABLE_DEPRECATION) && !defined(BUILDING_LIBCURL) #define CURL_DEPRECATED(version, message) \ __attribute__((deprecated("since " # version ". " message))) +#ifdef __IAR_SYSTEMS_ICC__ +#define CURL_IGNORE_DEPRECATION(statements) \ + _Pragma("diag_suppress=Pe1444") \ + statements \ + _Pragma("diag_default=Pe1444") +#else #define CURL_IGNORE_DEPRECATION(statements) \ _Pragma("GCC diagnostic push") \ _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"") \ statements \ _Pragma("GCC diagnostic pop") +#endif #else #define CURL_DEPRECATED(version, message) #define CURL_IGNORE_DEPRECATION(statements) statements #endif #include "curlver.h" /* libcurl version defines */ -#include "system.h" /* determine things run-time */ +#include "system.h" /* determine things runtime */ #include #include @@ -68,8 +77,8 @@ #if defined(_WIN32) && !defined(_WIN32_WCE) && !defined(__CYGWIN__) #if !(defined(_WINSOCKAPI_) || defined(_WINSOCK_H) || \ defined(__LWIP_OPT_H__) || defined(LWIP_HDR_OPT_H)) -/* The check above prevents the winsock2 inclusion if winsock.h already was - included, since they can't co-exist without problems */ +/* The check above prevents the winsock2.h inclusion if winsock.h already was + included, since they cannot co-exist without problems */ #include #include #endif @@ -88,41 +97,34 @@ #include #endif -#if !defined(_WIN32) && !defined(_WIN32_WCE) +#ifndef _WIN32 #include -#endif - -#if !defined(_WIN32) #include #endif -/* Compatibility for non-Clang compilers */ -#ifndef __has_declspec_attribute -# define __has_declspec_attribute(x) 0 -#endif - -#ifdef __cplusplus +#ifdef __cplusplus extern "C" { #endif -#if defined(BUILDING_LIBCURL) || defined(CURL_STRICTER) -typedef struct Curl_easy CURL; -typedef struct Curl_share CURLSH; -#else typedef void CURL; typedef void CURLSH; -#endif /* * libcurl external API function linkage decorations. */ +#ifdef __has_declspec_attribute +#define CURL_HAS_DECLSPEC_ATTRIBUTE(x) __has_declspec_attribute(x) +#else +#define CURL_HAS_DECLSPEC_ATTRIBUTE(x) 0 +#endif + #ifdef CURL_STATICLIB # define CURL_EXTERN #elif defined(_WIN32) || \ - (__has_declspec_attribute(dllexport) && \ - __has_declspec_attribute(dllimport)) -# if defined(BUILDING_LIBCURL) + (CURL_HAS_DECLSPEC_ATTRIBUTE(dllexport) && \ + CURL_HAS_DECLSPEC_ATTRIBUTE(dllimport)) +# ifdef BUILDING_LIBCURL # define CURL_EXTERN __declspec(dllexport) # else # define CURL_EXTERN __declspec(dllimport) @@ -156,11 +158,11 @@ typedef enum { CURLSSLBACKEND_POLARSSL CURL_DEPRECATED(7.69.0, "") = 6, CURLSSLBACKEND_WOLFSSL = 7, CURLSSLBACKEND_SCHANNEL = 8, - CURLSSLBACKEND_SECURETRANSPORT = 9, + CURLSSLBACKEND_SECURETRANSPORT CURL_DEPRECATED(8.15.0, "") = 9, CURLSSLBACKEND_AXTLS CURL_DEPRECATED(7.61.0, "") = 10, CURLSSLBACKEND_MBEDTLS = 11, CURLSSLBACKEND_MESALINK CURL_DEPRECATED(7.82.0, "") = 12, - CURLSSLBACKEND_BEARSSL = 13, + CURLSSLBACKEND_BEARSSL CURL_DEPRECATED(8.15.0, "") = 13, CURLSSLBACKEND_RUSTLS = 14 } curl_sslbackend; @@ -173,6 +175,16 @@ typedef enum { #define CURLSSLBACKEND_CYASSL CURLSSLBACKEND_WOLFSSL #define CURLSSLBACKEND_DARWINSSL CURLSSLBACKEND_SECURETRANSPORT +/* bits for the CURLOPT_FOLLOWLOCATION option */ +#define CURLFOLLOW_ALL 1L /* generic follow redirects */ + +/* Do not use the custom method in the follow-up request if the HTTP code + instructs so (301, 302, 303). */ +#define CURLFOLLOW_OBEYCODE 2L + +/* Only use the custom method in the first request, always reset in the next */ +#define CURLFOLLOW_FIRSTONLY 3L + struct curl_httppost { struct curl_httppost *next; /* next entry in the list */ char *name; /* pointer to allocated name */ @@ -189,9 +201,9 @@ struct curl_httppost { files */ long flags; /* as defined below */ -/* specified content is a file name */ +/* specified content is a filename */ #define CURL_HTTPPOST_FILENAME (1<<0) -/* specified content is a file name */ +/* specified content is a filename */ #define CURL_HTTPPOST_READFILE (1<<1) /* name is only stored pointer do not free in formfree */ #define CURL_HTTPPOST_PTRNAME (1<<2) @@ -207,8 +219,8 @@ struct curl_httppost { /* use size in 'contentlen', added in 7.46.0 */ #define CURL_HTTPPOST_LARGE (1<<7) - char *showfilename; /* The file name to show. If not set, the - actual file name will be used (if this + char *showfilename; /* The filename to show. If not set, the + actual filename will be used (if this is a file part) */ void *userp; /* custom pointer used for HTTPPOST_CALLBACK posts */ @@ -245,12 +257,12 @@ typedef int (*curl_xferinfo_callback)(void *clientp, #endif #ifndef CURL_MAX_WRITE_SIZE - /* Tests have proven that 20K is a very bad buffer size for uploads on - Windows, while 16K for some odd reason performed a lot better. - We do the ifndef check to allow this value to easier be changed at build - time for those who feel adventurous. The practical minimum is about - 400 bytes since libcurl uses a buffer of this size as a scratch area - (unrelated to network send operations). */ + /* Tests have proven that 20K is a bad buffer size for uploads on Windows, + while 16K for some odd reason performed a lot better. We do the ifndef + check to allow this value to easier be changed at build time for those + who feel adventurous. The practical minimum is about 400 bytes since + libcurl uses a buffer of this size as a scratch area (unrelated to + network send operations). */ #define CURL_MAX_WRITE_SIZE 16384 #endif @@ -350,13 +362,13 @@ typedef long (*curl_chunk_bgn_callback)(const void *transfer_info, download of an individual chunk finished. Note! After this callback was set then it have to be called FOR ALL chunks. Even if downloading of this chunk was skipped in CHUNK_BGN_FUNC. - This is the reason why we don't need "transfer_info" parameter in this + This is the reason why we do not need "transfer_info" parameter in this callback and we are not interested in "remains" parameter too. */ typedef long (*curl_chunk_end_callback)(void *ptr); /* return codes for FNMATCHFUNCTION */ #define CURL_FNMATCHFUNC_MATCH 0 /* string corresponds to the pattern */ -#define CURL_FNMATCHFUNC_NOMATCH 1 /* pattern doesn't match the string */ +#define CURL_FNMATCHFUNC_NOMATCH 1 /* pattern does not match the string */ #define CURL_FNMATCHFUNC_FAIL 2 /* an error occurred */ /* callback type for wildcard downloading pattern matching. If the @@ -368,7 +380,7 @@ typedef int (*curl_fnmatch_callback)(void *ptr, /* These are the return codes for the seek callbacks */ #define CURL_SEEKFUNC_OK 0 #define CURL_SEEKFUNC_FAIL 1 /* fail the entire transfer */ -#define CURL_SEEKFUNC_CANTSEEK 2 /* tell libcurl seeking can't be done, so +#define CURL_SEEKFUNC_CANTSEEK 2 /* tell libcurl seeking cannot be done, so libcurl might try other means instead */ typedef int (*curl_seek_callback)(void *instream, curl_off_t offset, @@ -451,7 +463,7 @@ typedef curlioerr (*curl_ioctl_callback)(CURL *handle, #ifndef CURL_DID_MEMORY_FUNC_TYPEDEFS /* * The following typedef's are signatures of malloc, free, realloc, strdup and - * calloc respectively. Function pointers of these types can be passed to the + * calloc respectively. Function pointers of these types can be passed to the * curl_global_init_mem() function to set user defined memory management * callback routines. */ @@ -539,22 +551,22 @@ typedef enum { CURLE_WRITE_ERROR, /* 23 */ CURLE_OBSOLETE24, /* 24 - NOT USED */ CURLE_UPLOAD_FAILED, /* 25 - failed upload "command" */ - CURLE_READ_ERROR, /* 26 - couldn't open/read from file */ + CURLE_READ_ERROR, /* 26 - could not open/read from file */ CURLE_OUT_OF_MEMORY, /* 27 */ CURLE_OPERATION_TIMEDOUT, /* 28 - the timeout time was reached */ CURLE_OBSOLETE29, /* 29 - NOT USED */ CURLE_FTP_PORT_FAILED, /* 30 - FTP PORT operation failed */ CURLE_FTP_COULDNT_USE_REST, /* 31 - the REST command failed */ CURLE_OBSOLETE32, /* 32 - NOT USED */ - CURLE_RANGE_ERROR, /* 33 - RANGE "command" didn't work */ - CURLE_HTTP_POST_ERROR, /* 34 */ + CURLE_RANGE_ERROR, /* 33 - RANGE "command" did not work */ + CURLE_OBSOLETE34, /* 34 */ CURLE_SSL_CONNECT_ERROR, /* 35 - wrong when connecting with SSL */ - CURLE_BAD_DOWNLOAD_RESUME, /* 36 - couldn't resume download */ + CURLE_BAD_DOWNLOAD_RESUME, /* 36 - could not resume download */ CURLE_FILE_COULDNT_READ_FILE, /* 37 */ CURLE_LDAP_CANNOT_BIND, /* 38 */ CURLE_LDAP_SEARCH_FAILED, /* 39 */ CURLE_OBSOLETE40, /* 40 - NOT USED */ - CURLE_FUNCTION_NOT_FOUND, /* 41 - NOT USED starting with 7.53.0 */ + CURLE_OBSOLETE41, /* 41 - NOT USED starting with 7.53.0 */ CURLE_ABORTED_BY_CALLBACK, /* 42 */ CURLE_BAD_FUNCTION_ARGUMENT, /* 43 */ CURLE_OBSOLETE44, /* 44 - NOT USED */ @@ -573,9 +585,9 @@ typedef enum { CURLE_RECV_ERROR, /* 56 - failure in receiving network data */ CURLE_OBSOLETE57, /* 57 - NOT IN USE */ CURLE_SSL_CERTPROBLEM, /* 58 - problem with the local certificate */ - CURLE_SSL_CIPHER, /* 59 - couldn't use specified cipher */ + CURLE_SSL_CIPHER, /* 59 - could not use specified cipher */ CURLE_PEER_FAILED_VERIFICATION, /* 60 - peer's certificate or fingerprint - wasn't verified fine */ + was not verified fine */ CURLE_BAD_CONTENT_ENCODING, /* 61 - Unrecognized/bad encoding */ CURLE_OBSOLETE62, /* 62 - NOT IN USE since 7.82.0 */ CURLE_FILESIZE_EXCEEDED, /* 63 - Maximum file size exceeded */ @@ -604,7 +616,7 @@ typedef enum { CURLE_SSL_SHUTDOWN_FAILED, /* 80 - Failed to shut down the SSL connection */ CURLE_AGAIN, /* 81 - socket is not ready for send/recv, - wait till it's ready and try again (Added + wait till it is ready and try again (Added in 7.18.2) */ CURLE_SSL_CRL_BADFILE, /* 82 - could not load CRL file, missing or wrong format (Added in 7.19.0) */ @@ -639,6 +651,12 @@ typedef enum { #ifndef CURL_NO_OLDIES /* define this to test if your app builds with all the obsolete stuff removed! */ +/* removed in 7.53.0 */ +#define CURLE_FUNCTION_NOT_FOUND CURLE_OBSOLETE41 + +/* removed in 7.56.0 */ +#define CURLE_HTTP_POST_ERROR CURLE_OBSOLETE34 + /* Previously obsolete error code reused in 7.38.0 */ #define CURLE_OBSOLETE16 CURLE_HTTP2 @@ -713,6 +731,8 @@ typedef enum { with them. */ #define CURLOPT_WRITEINFO CURLOPT_OBSOLETE40 #define CURLOPT_CLOSEPOLICY CURLOPT_OBSOLETE72 +#define CURLOPT_OBSOLETE72 9999 +#define CURLOPT_OBSOLETE40 9999 #endif /* !CURL_NO_OLDIES */ @@ -763,25 +783,29 @@ typedef CURLcode (*curl_conv_callback)(char *buffer, size_t length); typedef CURLcode (*curl_ssl_ctx_callback)(CURL *curl, /* easy handle */ void *ssl_ctx, /* actually an OpenSSL - or WolfSSL SSL_CTX, + or wolfSSL SSL_CTX, or an mbedTLS mbedtls_ssl_config */ void *userptr); +#define CURLPROXY_HTTP 0L /* added in 7.10, new in 7.19.4 default is + to use CONNECT HTTP/1.1 */ +#define CURLPROXY_HTTP_1_0 1L /* force to use CONNECT HTTP/1.0 + added in 7.19.4 */ +#define CURLPROXY_HTTPS 2L /* HTTPS but stick to HTTP/1 + added in 7.52.0 */ +#define CURLPROXY_HTTPS2 3L /* HTTPS and attempt HTTP/2 + added in 8.2.0 */ +#define CURLPROXY_SOCKS4 4L /* support added in 7.15.2, enum existed + already in 7.10 */ +#define CURLPROXY_SOCKS5 5L /* added in 7.10 */ +#define CURLPROXY_SOCKS4A 6L /* added in 7.18.0 */ +#define CURLPROXY_SOCKS5_HOSTNAME 7L /* Use the SOCKS5 protocol but pass along + the hostname rather than the IP + address. added in 7.18.0 */ + typedef enum { - CURLPROXY_HTTP = 0, /* added in 7.10, new in 7.19.4 default is to use - CONNECT HTTP/1.1 */ - CURLPROXY_HTTP_1_0 = 1, /* added in 7.19.4, force to use CONNECT - HTTP/1.0 */ - CURLPROXY_HTTPS = 2, /* HTTPS but stick to HTTP/1 added in 7.52.0 */ - CURLPROXY_HTTPS2 = 3, /* HTTPS and attempt HTTP/2 added in 8.2.0 */ - CURLPROXY_SOCKS4 = 4, /* support added in 7.15.2, enum existed already - in 7.10 */ - CURLPROXY_SOCKS5 = 5, /* added in 7.10 */ - CURLPROXY_SOCKS4A = 6, /* added in 7.18.0 */ - CURLPROXY_SOCKS5_HOSTNAME = 7 /* Use the SOCKS5 protocol but pass along the - host name rather than the IP address. added - in 7.18.0 */ + CURLPROXY_LAST = 8 /* never use */ } curl_proxytype; /* this enum was added in 7.10 */ /* @@ -789,11 +813,11 @@ typedef enum { * * CURLAUTH_NONE - No HTTP authentication * CURLAUTH_BASIC - HTTP Basic authentication (default) - * CURLAUTH_DIGEST - HTTP DiHuLt authentication + * CURLAUTH_DIGEST - HTTP DiJNxt authentication * CURLAUTH_NEGOTIATE - HTTP Negotiate (SPNEGO) authentication * CURLAUTH_GSSNEGOTIATE - Alias for CURLAUTH_NEGOTIATE (deprecated) * CURLAUTH_NTLM - HTTP NTLM authentication - * CURLAUTH_DIGEST_IE - HTTP DiHuLt authentication with IE flavour + * CURLAUTH_DIGEST_IE - HTTP DiJNxt authentication with IE flavour * CURLAUTH_NTLM_WB - HTTP NTLM authentication delegated to winbind helper * CURLAUTH_BEARER - HTTP Bearer token authentication * CURLAUTH_ONLY - Use together with a single other type to force no @@ -822,19 +846,19 @@ typedef enum { #define CURLAUTH_ANY (~CURLAUTH_DIGEST_IE) #define CURLAUTH_ANYSAFE (~(CURLAUTH_BASIC|CURLAUTH_DIGEST_IE)) -#define CURLSSH_AUTH_ANY ~0 /* all types supported by the server */ -#define CURLSSH_AUTH_NONE 0 /* none allowed, silly but complete */ -#define CURLSSH_AUTH_PUBLICKEY (1<<0) /* public/private key files */ -#define CURLSSH_AUTH_PASSWORD (1<<1) /* password */ -#define CURLSSH_AUTH_HOST (1<<2) /* host key files */ -#define CURLSSH_AUTH_KEYBOARD (1<<3) /* keyboard interactive */ -#define CURLSSH_AUTH_AGENT (1<<4) /* agent (ssh-agent, pageant...) */ -#define CURLSSH_AUTH_GSSAPI (1<<5) /* gssapi (kerberos, ...) */ +#define CURLSSH_AUTH_ANY ~0L /* all types supported by the server */ +#define CURLSSH_AUTH_NONE 0L /* none allowed, silly but complete */ +#define CURLSSH_AUTH_PUBLICKEY (1L<<0) /* public/private key files */ +#define CURLSSH_AUTH_PASSWORD (1L<<1) /* password */ +#define CURLSSH_AUTH_HOST (1L<<2) /* host key files */ +#define CURLSSH_AUTH_KEYBOARD (1L<<3) /* keyboard interactive */ +#define CURLSSH_AUTH_AGENT (1L<<4) /* agent (ssh-agent, pageant...) */ +#define CURLSSH_AUTH_GSSAPI (1L<<5) /* gssapi (kerberos, ...) */ #define CURLSSH_AUTH_DEFAULT CURLSSH_AUTH_ANY -#define CURLGSSAPI_DELEGATION_NONE 0 /* no delegation (default) */ -#define CURLGSSAPI_DELEGATION_POLICY_FLAG (1<<0) /* if permitted by policy */ -#define CURLGSSAPI_DELEGATION_FLAG (1<<1) /* delegate always */ +#define CURLGSSAPI_DELEGATION_NONE 0L /* no delegation (default) */ +#define CURLGSSAPI_DELEGATION_POLICY_FLAG (1L<<0) /* if permitted by policy */ +#define CURLGSSAPI_DELEGATION_FLAG (1L<<1) /* delegate always */ #define CURL_ERROR_SIZE 256 @@ -860,7 +884,7 @@ enum curl_khstat { CURLKHSTAT_FINE_ADD_TO_FILE, CURLKHSTAT_FINE, CURLKHSTAT_REJECT, /* reject the connection, return an error */ - CURLKHSTAT_DEFER, /* do not accept it, but we can't answer right now. + CURLKHSTAT_DEFER, /* do not accept it, but we cannot answer right now. Causes a CURLE_PEER_FAILED_VERIFICATION error but the connection will be left intact etc */ CURLKHSTAT_FINE_REPLACE, /* accept and replace the wrong key */ @@ -894,12 +918,13 @@ typedef int /* parameter for the CURLOPT_USE_SSL option */ +#define CURLUSESSL_NONE 0L /* do not attempt to use SSL */ +#define CURLUSESSL_TRY 1L /* try using SSL, proceed anyway otherwise */ +#define CURLUSESSL_CONTROL 2L /* SSL for the control connection or fail */ +#define CURLUSESSL_ALL 3L /* SSL for all communication or fail */ + typedef enum { - CURLUSESSL_NONE, /* do not attempt to use SSL */ - CURLUSESSL_TRY, /* try using SSL, proceed anyway otherwise */ - CURLUSESSL_CONTROL, /* SSL for the control connection or fail */ - CURLUSESSL_ALL, /* SSL for all communication or fail */ - CURLUSESSL_LAST /* not an option, never use */ + CURLUSESSL_LAST = 4 /* not an option, never use */ } curl_usessl; /* Definition of bits for the CURLOPT_SSL_OPTIONS argument: */ @@ -909,28 +934,31 @@ typedef enum { have introduced work-arounds for this flaw but those work-arounds sometimes make the SSL communication fail. To regain functionality with those broken servers, a user can this way allow the vulnerability back. */ -#define CURLSSLOPT_ALLOW_BEAST (1<<0) +#define CURLSSLOPT_ALLOW_BEAST (1L<<0) /* - NO_REVOKE tells libcurl to disable certificate revocation checks for those SSL backends where such behavior is present. */ -#define CURLSSLOPT_NO_REVOKE (1<<1) +#define CURLSSLOPT_NO_REVOKE (1L<<1) /* - NO_PARTIALCHAIN tells libcurl to *NOT* accept a partial certificate chain if possible. The OpenSSL backend has this ability. */ -#define CURLSSLOPT_NO_PARTIALCHAIN (1<<2) +#define CURLSSLOPT_NO_PARTIALCHAIN (1L<<2) /* - REVOKE_BEST_EFFORT tells libcurl to ignore certificate revocation offline checks and ignore missing revocation list for those SSL backends where such behavior is present. */ -#define CURLSSLOPT_REVOKE_BEST_EFFORT (1<<3) +#define CURLSSLOPT_REVOKE_BEST_EFFORT (1L<<3) /* - CURLSSLOPT_NATIVE_CA tells libcurl to use standard certificate store of operating system. Currently implemented under MS-Windows. */ -#define CURLSSLOPT_NATIVE_CA (1<<4) +#define CURLSSLOPT_NATIVE_CA (1L<<4) /* - CURLSSLOPT_AUTO_CLIENT_CERT tells libcurl to automatically locate and use a client certificate for authentication. (Schannel) */ -#define CURLSSLOPT_AUTO_CLIENT_CERT (1<<5) +#define CURLSSLOPT_AUTO_CLIENT_CERT (1L<<5) + +/* If possible, send data using TLS 1.3 early data */ +#define CURLSSLOPT_EARLYDATA (1L<<6) /* The default connection attempt delay in milliseconds for happy eyeballs. CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS.3 and happy-eyeballs-timeout-ms.d document @@ -955,51 +983,62 @@ typedef enum { #endif /* !CURL_NO_OLDIES */ /* parameter for the CURLOPT_FTP_SSL_CCC option */ +#define CURLFTPSSL_CCC_NONE 0L /* do not send CCC */ +#define CURLFTPSSL_CCC_PASSIVE 1L /* Let the server initiate the shutdown */ +#define CURLFTPSSL_CCC_ACTIVE 2L /* Initiate the shutdown */ + typedef enum { - CURLFTPSSL_CCC_NONE, /* do not send CCC */ - CURLFTPSSL_CCC_PASSIVE, /* Let the server initiate the shutdown */ - CURLFTPSSL_CCC_ACTIVE, /* Initiate the shutdown */ - CURLFTPSSL_CCC_LAST /* not an option, never use */ + CURLFTPSSL_CCC_LAST = 3 /* not an option, never use */ } curl_ftpccc; /* parameter for the CURLOPT_FTPSSLAUTH option */ +#define CURLFTPAUTH_DEFAULT 0L /* let libcurl decide */ +#define CURLFTPAUTH_SSL 1L /* use "AUTH SSL" */ +#define CURLFTPAUTH_TLS 2L /* use "AUTH TLS" */ + typedef enum { - CURLFTPAUTH_DEFAULT, /* let libcurl decide */ - CURLFTPAUTH_SSL, /* use "AUTH SSL" */ - CURLFTPAUTH_TLS, /* use "AUTH TLS" */ - CURLFTPAUTH_LAST /* not an option, never use */ + CURLFTPAUTH_LAST = 3 /* not an option, never use */ } curl_ftpauth; /* parameter for the CURLOPT_FTP_CREATE_MISSING_DIRS option */ +#define CURLFTP_CREATE_DIR_NONE 0L /* do NOT create missing dirs! */ +#define CURLFTP_CREATE_DIR 1L /* (FTP/SFTP) if CWD fails, try MKD and + then CWD again if MKD succeeded, for + SFTP this does similar magic */ +#define CURLFTP_CREATE_DIR_RETRY 2L /* (FTP only) if CWD fails, try MKD and + then CWD again even if MKD failed! */ + typedef enum { - CURLFTP_CREATE_DIR_NONE, /* do NOT create missing dirs! */ - CURLFTP_CREATE_DIR, /* (FTP/SFTP) if CWD fails, try MKD and then CWD - again if MKD succeeded, for SFTP this does - similar magic */ - CURLFTP_CREATE_DIR_RETRY, /* (FTP only) if CWD fails, try MKD and then CWD - again even if MKD failed! */ - CURLFTP_CREATE_DIR_LAST /* not an option, never use */ + CURLFTP_CREATE_DIR_LAST = 3 /* not an option, never use */ } curl_ftpcreatedir; /* parameter for the CURLOPT_FTP_FILEMETHOD option */ +#define CURLFTPMETHOD_DEFAULT 0L /* let libcurl pick */ +#define CURLFTPMETHOD_MULTICWD 1L /* single CWD operation for each path + part */ +#define CURLFTPMETHOD_NOCWD 2L /* no CWD at all */ +#define CURLFTPMETHOD_SINGLECWD 3L /* one CWD to full dir, then work on file */ + typedef enum { - CURLFTPMETHOD_DEFAULT, /* let libcurl pick */ - CURLFTPMETHOD_MULTICWD, /* single CWD operation for each path part */ - CURLFTPMETHOD_NOCWD, /* no CWD at all */ - CURLFTPMETHOD_SINGLECWD, /* one CWD to full dir, then work on file */ - CURLFTPMETHOD_LAST /* not an option, never use */ + CURLFTPMETHOD_LAST = 4 /* not an option, never use */ } curl_ftpmethod; /* bitmask defines for CURLOPT_HEADEROPT */ -#define CURLHEADER_UNIFIED 0 -#define CURLHEADER_SEPARATE (1<<0) +#define CURLHEADER_UNIFIED 0L +#define CURLHEADER_SEPARATE (1L<<0) /* CURLALTSVC_* are bits for the CURLOPT_ALTSVC_CTRL option */ -#define CURLALTSVC_READONLYFILE (1<<2) -#define CURLALTSVC_H1 (1<<3) -#define CURLALTSVC_H2 (1<<4) -#define CURLALTSVC_H3 (1<<5) - +#define CURLALTSVC_READONLYFILE (1L<<2) +#define CURLALTSVC_H1 (1L<<3) +#define CURLALTSVC_H2 (1L<<4) +#define CURLALTSVC_H3 (1L<<5) + +/* bitmask values for CURLOPT_UPLOAD_FLAGS */ +#define CURLULFLAG_ANSWERED (1L<<0) +#define CURLULFLAG_DELETED (1L<<1) +#define CURLULFLAG_DRAFT (1L<<2) +#define CURLULFLAG_FLAGGED (1L<<3) +#define CURLULFLAG_SEEN (1L<<4) struct curl_hstsentry { char *name; @@ -1028,42 +1067,42 @@ typedef CURLSTScode (*curl_hstswrite_callback)(CURL *easy, void *userp); /* CURLHSTS_* are bits for the CURLOPT_HSTS option */ -#define CURLHSTS_ENABLE (long)(1<<0) -#define CURLHSTS_READONLYFILE (long)(1<<1) +#define CURLHSTS_ENABLE (1L<<0) +#define CURLHSTS_READONLYFILE (1L<<1) /* The CURLPROTO_ defines below are for the **deprecated** CURLOPT_*PROTOCOLS options. Do not use. */ -#define CURLPROTO_HTTP (1<<0) -#define CURLPROTO_HTTPS (1<<1) -#define CURLPROTO_FTP (1<<2) -#define CURLPROTO_FTPS (1<<3) -#define CURLPROTO_SCP (1<<4) -#define CURLPROTO_SFTP (1<<5) -#define CURLPROTO_TELNET (1<<6) -#define CURLPROTO_LDAP (1<<7) -#define CURLPROTO_LDAPS (1<<8) -#define CURLPROTO_DICT (1<<9) -#define CURLPROTO_FILE (1<<10) -#define CURLPROTO_TFTP (1<<11) -#define CURLPROTO_IMAP (1<<12) -#define CURLPROTO_IMAPS (1<<13) -#define CURLPROTO_POP3 (1<<14) -#define CURLPROTO_POP3S (1<<15) -#define CURLPROTO_SMTP (1<<16) -#define CURLPROTO_SMTPS (1<<17) -#define CURLPROTO_RTSP (1<<18) -#define CURLPROTO_RTMP (1<<19) -#define CURLPROTO_RTMPT (1<<20) -#define CURLPROTO_RTMPE (1<<21) -#define CURLPROTO_RTMPTE (1<<22) -#define CURLPROTO_RTMPS (1<<23) -#define CURLPROTO_RTMPTS (1<<24) -#define CURLPROTO_GOPHER (1<<25) -#define CURLPROTO_SMB (1<<26) -#define CURLPROTO_SMBS (1<<27) -#define CURLPROTO_MQTT (1<<28) -#define CURLPROTO_GOPHERS (1<<29) -#define CURLPROTO_ALL (~0) /* enable everything */ +#define CURLPROTO_HTTP (1L<<0) +#define CURLPROTO_HTTPS (1L<<1) +#define CURLPROTO_FTP (1L<<2) +#define CURLPROTO_FTPS (1L<<3) +#define CURLPROTO_SCP (1L<<4) +#define CURLPROTO_SFTP (1L<<5) +#define CURLPROTO_TELNET (1L<<6) +#define CURLPROTO_LDAP (1L<<7) +#define CURLPROTO_LDAPS (1L<<8) +#define CURLPROTO_DICT (1L<<9) +#define CURLPROTO_FILE (1L<<10) +#define CURLPROTO_TFTP (1L<<11) +#define CURLPROTO_IMAP (1L<<12) +#define CURLPROTO_IMAPS (1L<<13) +#define CURLPROTO_POP3 (1L<<14) +#define CURLPROTO_POP3S (1L<<15) +#define CURLPROTO_SMTP (1L<<16) +#define CURLPROTO_SMTPS (1L<<17) +#define CURLPROTO_RTSP (1L<<18) +#define CURLPROTO_RTMP (1L<<19) +#define CURLPROTO_RTMPT (1L<<20) +#define CURLPROTO_RTMPE (1L<<21) +#define CURLPROTO_RTMPTE (1L<<22) +#define CURLPROTO_RTMPS (1L<<23) +#define CURLPROTO_RTMPTS (1L<<24) +#define CURLPROTO_GOPHER (1L<<25) +#define CURLPROTO_SMB (1L<<26) +#define CURLPROTO_SMBS (1L<<27) +#define CURLPROTO_MQTT (1L<<28) +#define CURLPROTO_GOPHERS (1L<<29) +#define CURLPROTO_ALL (~0L) /* enable everything */ /* long may be 32 or 64 bits, but we should never depend on anything else but 32 */ @@ -1080,7 +1119,7 @@ typedef CURLSTScode (*curl_hstswrite_callback)(CURL *easy, #define CURLOPT(na,t,nu) na = t + nu #define CURLOPTDEPRECATED(na,t,nu,v,m) na CURL_DEPRECATED(v,m) = t + nu -/* CURLOPT aliases that make no run-time difference */ +/* CURLOPT aliases that make no runtime difference */ /* 'char *' argument to a string with a trailing zero */ #define CURLOPTTYPE_STRINGPOINT CURLOPTTYPE_OBJECTPOINT @@ -1125,7 +1164,7 @@ typedef enum { /* Specified file stream to upload from (use as input): */ CURLOPT(CURLOPT_READDATA, CURLOPTTYPE_CBPOINT, 9), - /* Buffer to receive error messaHuL in, must be at least CURL_ERROR_SIZE + /* Buffer to receive error messaJNx in, must be at least CURL_ERROR_SIZE * bytes big. */ CURLOPT(CURLOPT_ERRORBUFFER, CURLOPTTYPE_OBJECTPOINT, 10), @@ -1147,7 +1186,7 @@ typedef enum { * * For large file support, there is also a _LARGE version of the key * which takes an off_t type, allowing platforms with larger off_t - * sizes to handle larger files. See below for INFILESIZE_LARGE. + * sizes to handle larger files. See below for INFILESIZE_LARGE. */ CURLOPT(CURLOPT_INFILESIZE, CURLOPTTYPE_LONG, 14), @@ -1180,7 +1219,7 @@ typedef enum { * * Note there is also a _LARGE version of this key which uses * off_t types, allowing for large file offsets on platforms which - * use larger-than-32-bit off_t's. Look below for RESUME_FROM_LARGE. + * use larger-than-32-bit off_t's. Look below for RESUME_FROM_LARGE. */ CURLOPT(CURLOPT_RESUME_FROM, CURLOPTTYPE_LONG, 21), @@ -1242,8 +1281,7 @@ typedef enum { /* send linked-list of post-transfer QUOTE commands */ CURLOPT(CURLOPT_POSTQUOTE, CURLOPTTYPE_SLISTPOINT, 39), - /* OBSOLETE, do not use! */ - CURLOPT(CURLOPT_OBSOLETE40, CURLOPTTYPE_OBJECTPOINT, 40), + /* 40 is not used */ /* talk a lot */ CURLOPT(CURLOPT_VERBOSE, CURLOPTTYPE_LONG, 41), @@ -1316,9 +1354,9 @@ typedef enum { /* Set the interface string to use as outgoing network interface */ CURLOPT(CURLOPT_INTERFACE, CURLOPTTYPE_STRINGPOINT, 62), - /* Set the krb4/5 security level, this also enables krb4/5 awareness. This - * is a string, 'clear', 'safe', 'confidential' or 'private'. If the string - * is set but doesn't match one of these, 'private' will be used. */ + /* Set the krb4/5 security level, this also enables krb4/5 awareness. This + * is a string, 'clear', 'safe', 'confidential' or 'private'. If the string + * is set but does not match one of these, 'private' will be used. */ CURLOPT(CURLOPT_KRBLEVEL, CURLOPTTYPE_STRINGPOINT, 63), /* Set if we should verify the peer in ssl handshake, set 1 to verify. */ @@ -1344,22 +1382,20 @@ typedef enum { /* Max amount of cached alive connections */ CURLOPT(CURLOPT_MAXCONNECTS, CURLOPTTYPE_LONG, 71), - /* OBSOLETE, do not use! */ - CURLOPT(CURLOPT_OBSOLETE72, CURLOPTTYPE_LONG, 72), - + /* 72 = OBSOLETE */ /* 73 = OBSOLETE */ /* Set to explicitly use a new connection for the upcoming transfer. - Do not use this unless you're absolutely sure of this, as it makes the + Do not use this unless you are absolutely sure of this, as it makes the operation slower and is less friendly for the network. */ CURLOPT(CURLOPT_FRESH_CONNECT, CURLOPTTYPE_LONG, 74), /* Set to explicitly forbid the upcoming transfer's connection to be reused - when done. Do not use this unless you're absolutely sure of this, as it + when done. Do not use this unless you are absolutely sure of this, as it makes the operation slower and is less friendly for the network. */ CURLOPT(CURLOPT_FORBID_REUSE, CURLOPTTYPE_LONG, 75), - /* Set to a file name that contains random data for libcurl to use to + /* Set to a filename that contains random data for libcurl to use to seed the random engine when doing SSL connects. */ CURLOPTDEPRECATED(CURLOPT_RANDOM_FILE, CURLOPTTYPE_STRINGPOINT, 76, 7.84.0, "Serves no purpose anymore"), @@ -1386,11 +1422,11 @@ typedef enum { * provided hostname. */ CURLOPT(CURLOPT_SSL_VERIFYHOST, CURLOPTTYPE_LONG, 81), - /* Specify which file name to write all known cookies in after completed - operation. Set file name to "-" (dash) to make it go to stdout. */ + /* Specify which filename to write all known cookies in after completed + operation. Set filename to "-" (dash) to make it go to stdout. */ CURLOPT(CURLOPT_COOKIEJAR, CURLOPTTYPE_STRINGPOINT, 82), - /* Specify which SSL ciphers to use */ + /* Specify which TLS 1.2 (1.1, 1.0) ciphers to use */ CURLOPT(CURLOPT_SSL_CIPHER_LIST, CURLOPTTYPE_STRINGPOINT, 83), /* Specify which HTTP version to use! This must be set to one of the @@ -1486,7 +1522,7 @@ typedef enum { CURLOPT(CURLOPT_HTTPAUTH, CURLOPTTYPE_VALUES, 107), /* Set the ssl context callback function, currently only for OpenSSL or - WolfSSL ssl_ctx, or mbedTLS mbedtls_ssl_config in the second argument. + wolfSSL ssl_ctx, or mbedTLS mbedtls_ssl_config in the second argument. The function must match the curl_ssl_ctx_callback prototype. */ CURLOPT(CURLOPT_SSL_CTX_FUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 108), @@ -1505,8 +1541,8 @@ typedef enum { Note that setting multiple bits may cause extra network round-trips. */ CURLOPT(CURLOPT_PROXYAUTH, CURLOPTTYPE_VALUES, 111), - /* Option that chanHuL the timeout, in seconds, associated with getting a - response. This is different from transfer timeout time and essentially + /* Option that chanJNx the timeout, in seconds, associated with getting a + response. This is different from transfer timeout time and essentially places a demand on the server to acknowledge commands in a timely manner. For FTP, SMTP, IMAP and POP3. */ CURLOPT(CURLOPT_SERVER_RESPONSE_TIMEOUT, CURLOPTTYPE_LONG, 112), @@ -1520,7 +1556,7 @@ typedef enum { an HTTP or FTP server. Note there is also _LARGE version which adds large file support for - platforms which have larger off_t sizes. See MAXFILESIZE_LARGE below. */ + platforms which have larger off_t sizes. See MAXFILESIZE_LARGE below. */ CURLOPT(CURLOPT_MAXFILESIZE, CURLOPTTYPE_LONG, 114), /* See the comment for INFILESIZE above, but in short, specifies @@ -1528,17 +1564,17 @@ typedef enum { */ CURLOPT(CURLOPT_INFILESIZE_LARGE, CURLOPTTYPE_OFF_T, 115), - /* Sets the continuation offset. There is also a CURLOPTTYPE_LONG version + /* Sets the continuation offset. There is also a CURLOPTTYPE_LONG version * of this; look above for RESUME_FROM. */ CURLOPT(CURLOPT_RESUME_FROM_LARGE, CURLOPTTYPE_OFF_T, 116), /* Sets the maximum size of data that will be downloaded from - * an HTTP or FTP server. See MAXFILESIZE above for the LONG version. + * an HTTP or FTP server. See MAXFILESIZE above for the LONG version. */ CURLOPT(CURLOPT_MAXFILESIZE_LARGE, CURLOPTTYPE_OFF_T, 117), - /* Set this option to the file name of your .netrc file you want libcurl + /* Set this option to the filename of your .netrc file you want libcurl to parse (using the CURLOPT_NETRC option). If not set, libcurl will do a poor attempt to find the user's home directory and check for a .netrc file in there. */ @@ -1685,7 +1721,7 @@ typedef enum { /* Callback function for opening socket (instead of socket(2)). Optionally, callback is able change the address or refuse to connect returning - CURL_SOCKET_BAD. The callback should have type + CURL_SOCKET_BAD. The callback should have type curl_opensocket_callback */ CURLOPT(CURLOPT_OPENSOCKETFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 163), CURLOPT(CURLOPT_OPENSOCKETDATA, CURLOPTTYPE_CBPOINT, 164), @@ -1755,7 +1791,7 @@ typedef enum { CURLOPTDEPRECATED(CURLOPT_REDIR_PROTOCOLS, CURLOPTTYPE_LONG, 182, 7.85.0, "Use CURLOPT_REDIR_PROTOCOLS_STR"), - /* set the SSH knownhost file name to use */ + /* set the SSH knownhost filename to use */ CURLOPT(CURLOPT_SSH_KNOWNHOSTS, CURLOPTTYPE_STRINGPOINT, 183), /* set the SSH host key callback, must point to a curl_sshkeycallback @@ -1836,7 +1872,7 @@ typedef enum { future libcurl release. libcurl will ask for the compressed methods it knows of, and if that - isn't any, it will not ask for transfer-encoding at all even if this + is not any, it will not ask for transfer-encoding at all even if this option is set to 1. */ @@ -1927,7 +1963,8 @@ typedef enum { CURLOPT(CURLOPT_SSL_VERIFYSTATUS, CURLOPTTYPE_LONG, 232), /* Set if we should enable TLS false start. */ - CURLOPT(CURLOPT_SSL_FALSESTART, CURLOPTTYPE_LONG, 233), + CURLOPTDEPRECATED(CURLOPT_SSL_FALSESTART, CURLOPTTYPE_LONG, 233, + 8.15.0, "Has no function"), /* Do not squash dot-dot sequences */ CURLOPT(CURLOPT_PATH_AS_IS, CURLOPTTYPE_LONG, 234), @@ -1938,7 +1975,7 @@ typedef enum { /* Service Name */ CURLOPT(CURLOPT_SERVICE_NAME, CURLOPTTYPE_STRINGPOINT, 236), - /* Wait/don't wait for pipe/mutex to clarify */ + /* Wait/do not wait for pipe/mutex to clarify */ CURLOPT(CURLOPT_PIPEWAIT, CURLOPTTYPE_LONG, 237), /* Set the protocol used when curl is given a URL without a protocol */ @@ -1947,10 +1984,10 @@ typedef enum { /* Set stream weight, 1 - 256 (default is 16) */ CURLOPT(CURLOPT_STREAM_WEIGHT, CURLOPTTYPE_LONG, 239), - /* Set stream dependency on another CURL handle */ + /* Set stream dependency on another curl handle */ CURLOPT(CURLOPT_STREAM_DEPENDS, CURLOPTTYPE_OBJECTPOINT, 240), - /* Set E-xclusive stream dependency on another CURL handle */ + /* Set E-xclusive stream dependency on another curl handle */ CURLOPT(CURLOPT_STREAM_DEPENDS_E, CURLOPTTYPE_OBJECTPOINT, 241), /* Do not send any tftp option requests to the server */ @@ -2014,7 +2051,7 @@ typedef enum { /* password for the SSL private key for proxy */ CURLOPT(CURLOPT_PROXY_KEYPASSWD, CURLOPTTYPE_STRINGPOINT, 258), - /* Specify which SSL ciphers to use for proxy */ + /* Specify which TLS 1.2 (1.1, 1.0) ciphers to use for proxy */ CURLOPT(CURLOPT_PROXY_SSL_CIPHER_LIST, CURLOPTTYPE_STRINGPOINT, 259), /* CRL file for proxy */ @@ -2099,7 +2136,7 @@ typedef enum { /* alt-svc control bitmask */ CURLOPT(CURLOPT_ALTSVC_CTRL, CURLOPTTYPE_LONG, 286), - /* alt-svc cache file name to possibly read from/write to */ + /* alt-svc cache filename to possibly read from/write to */ CURLOPT(CURLOPT_ALTSVC, CURLOPTTYPE_STRINGPOINT, 287), /* maximum age (idle time) of a connection to consider it for reuse @@ -2125,13 +2162,13 @@ typedef enum { /* the EC curves requested by the TLS client (RFC 8422, 5.1); * OpenSSL support via 'set_groups'/'set_curves': - * https://www.openssl.org/docs/manmaster/man3/SSL_CTX_set1_groups.html + * https://docs.openssl.org/master/man3/SSL_CTX_set1_curves/ */ CURLOPT(CURLOPT_SSL_EC_CURVES, CURLOPTTYPE_STRINGPOINT, 298), /* HSTS bitmask */ CURLOPT(CURLOPT_HSTS_CTRL, CURLOPTTYPE_LONG, 299), - /* HSTS file name */ + /* HSTS filename */ CURLOPT(CURLOPT_HSTS, CURLOPTTYPE_STRINGPOINT, 300), /* HSTS read callback */ @@ -2195,7 +2232,7 @@ typedef enum { /* specify which protocols that libcurl is allowed to follow directs to */ CURLOPT(CURLOPT_REDIR_PROTOCOLS_STR, CURLOPTTYPE_STRINGPOINT, 319), - /* websockets options */ + /* WebSockets options */ CURLOPT(CURLOPT_WS_OPTIONS, CURLOPTTYPE_LONG, 320), /* CA cache timeout */ @@ -2210,9 +2247,17 @@ typedef enum { /* millisecond version */ CURLOPT(CURLOPT_SERVER_RESPONSE_TIMEOUT_MS, CURLOPTTYPE_LONG, 324), - /* set ECH configuration */ + /* set ECH configuration */ CURLOPT(CURLOPT_ECH, CURLOPTTYPE_STRINGPOINT, 325), + /* maximum number of keepalive probes (Linux, *BSD, macOS, etc.) */ + CURLOPT(CURLOPT_TCP_KEEPCNT, CURLOPTTYPE_LONG, 326), + + CURLOPT(CURLOPT_UPLOAD_FLAGS, CURLOPTTYPE_LONG, 327), + + /* set TLS supported signature algorithms */ + CURLOPT(CURLOPT_SSL_SIGNATURE_ALGORITHMS, CURLOPTTYPE_STRINGPOINT, 328), + CURLOPT_LASTENTRY /* the last unused */ } CURLoption; @@ -2253,34 +2298,33 @@ typedef enum { /* Below here follows defines for the CURLOPT_IPRESOLVE option. If a host name resolves addresses using more than one IP protocol version, this option might be handy to force libcurl to use a specific IP version. */ -#define CURL_IPRESOLVE_WHATEVER 0 /* default, uses addresses to all IP +#define CURL_IPRESOLVE_WHATEVER 0L /* default, uses addresses to all IP versions that your system allows */ -#define CURL_IPRESOLVE_V4 1 /* uses only IPv4 addresses/connections */ -#define CURL_IPRESOLVE_V6 2 /* uses only IPv6 addresses/connections */ +#define CURL_IPRESOLVE_V4 1L /* uses only IPv4 addresses/connections */ +#define CURL_IPRESOLVE_V6 2L /* uses only IPv6 addresses/connections */ /* Convenient "aliases" */ #define CURLOPT_RTSPHEADER CURLOPT_HTTPHEADER - /* These enums are for use with the CURLOPT_HTTP_VERSION option. */ -enum { - CURL_HTTP_VERSION_NONE, /* setting this means we don't care, and that we'd - like the library to choose the best possible - for us! */ - CURL_HTTP_VERSION_1_0, /* please use HTTP 1.0 in the request */ - CURL_HTTP_VERSION_1_1, /* please use HTTP 1.1 in the request */ - CURL_HTTP_VERSION_2_0, /* please use HTTP 2 in the request */ - CURL_HTTP_VERSION_2TLS, /* use version 2 for HTTPS, version 1.1 for HTTP */ - CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE, /* please use HTTP 2 without HTTP/1.1 - Upgrade */ - CURL_HTTP_VERSION_3 = 30, /* Use HTTP/3, fallback to HTTP/2 or HTTP/1 if - needed. For HTTPS only. For HTTP, this option - makes libcurl return error. */ - CURL_HTTP_VERSION_3ONLY = 31, /* Use HTTP/3 without fallback. For HTTPS - only. For HTTP, this makes libcurl - return error. */ - - CURL_HTTP_VERSION_LAST /* *ILLEGAL* http version */ -}; +/* These constants are for use with the CURLOPT_HTTP_VERSION option. */ +#define CURL_HTTP_VERSION_NONE 0L /* setting this means we do not care, and + that we would like the library to choose + the best possible for us! */ +#define CURL_HTTP_VERSION_1_0 1L /* please use HTTP 1.0 in the request */ +#define CURL_HTTP_VERSION_1_1 2L /* please use HTTP 1.1 in the request */ +#define CURL_HTTP_VERSION_2_0 3L /* please use HTTP 2 in the request */ +#define CURL_HTTP_VERSION_2TLS 4L /* use version 2 for HTTPS, version 1.1 for + HTTP */ +#define CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE 5L /* please use HTTP 2 without + HTTP/1.1 Upgrade */ +#define CURL_HTTP_VERSION_3 30L /* Use HTTP/3, fallback to HTTP/2 or + HTTP/1 if needed. For HTTPS only. For + HTTP, this option makes libcurl + return error. */ +#define CURL_HTTP_VERSION_3ONLY 31L /* Use HTTP/3 without fallback. For + HTTPS only. For HTTP, this makes + libcurl return error. */ +#define CURL_HTTP_VERSION_LAST 32L /* *ILLEGAL* http version */ /* Convenience definition simple because the name of the version is HTTP/2 and not 2.0. The 2_0 version of the enum name was set while the version was @@ -2290,46 +2334,47 @@ enum { /* * Public API enums for RTSP requests */ -enum { - CURL_RTSPREQ_NONE, /* first in list */ - CURL_RTSPREQ_OPTIONS, - CURL_RTSPREQ_DESCRIBE, - CURL_RTSPREQ_ANNOUNCE, - CURL_RTSPREQ_SETUP, - CURL_RTSPREQ_PLAY, - CURL_RTSPREQ_PAUSE, - CURL_RTSPREQ_TEARDOWN, - CURL_RTSPREQ_GET_PARAMETER, - CURL_RTSPREQ_SET_PARAMETER, - CURL_RTSPREQ_RECORD, - CURL_RTSPREQ_RECEIVE, - CURL_RTSPREQ_LAST /* last in list */ -}; + +#define CURL_RTSPREQ_NONE 0L +#define CURL_RTSPREQ_OPTIONS 1L +#define CURL_RTSPREQ_DESCRIBE 2L +#define CURL_RTSPREQ_ANNOUNCE 3L +#define CURL_RTSPREQ_SETUP 4L +#define CURL_RTSPREQ_PLAY 5L +#define CURL_RTSPREQ_PAUSE 6L +#define CURL_RTSPREQ_TEARDOWN 7L +#define CURL_RTSPREQ_GET_PARAMETER 8L +#define CURL_RTSPREQ_SET_PARAMETER 9L +#define CURL_RTSPREQ_RECORD 10L +#define CURL_RTSPREQ_RECEIVE 11L +#define CURL_RTSPREQ_LAST 12L /* not used */ /* These enums are for use with the CURLOPT_NETRC option. */ +#define CURL_NETRC_IGNORED 0L /* The .netrc will never be read. + This is the default. */ +#define CURL_NETRC_OPTIONAL 1L /* A user:password in the URL will be preferred + to one in the .netrc. */ +#define CURL_NETRC_REQUIRED 2L /* A user:password in the URL will be ignored. + Unless one is set programmatically, the + .netrc will be queried. */ enum CURL_NETRC_OPTION { - CURL_NETRC_IGNORED, /* The .netrc will never be read. - * This is the default. */ - CURL_NETRC_OPTIONAL, /* A user:password in the URL will be preferred - * to one in the .netrc. */ - CURL_NETRC_REQUIRED, /* A user:password in the URL will be ignored. - * Unless one is set programmatically, the .netrc - * will be queried. */ - CURL_NETRC_LAST + /* we set a single member here, just to make sure we still provide the enum, + but the values to use are defined above with L suffixes */ + CURL_NETRC_LAST = 3 }; -#define CURL_SSLVERSION_DEFAULT 0 -#define CURL_SSLVERSION_TLSv1 1 /* TLS 1.x */ -#define CURL_SSLVERSION_SSLv2 2 -#define CURL_SSLVERSION_SSLv3 3 -#define CURL_SSLVERSION_TLSv1_0 4 -#define CURL_SSLVERSION_TLSv1_1 5 -#define CURL_SSLVERSION_TLSv1_2 6 -#define CURL_SSLVERSION_TLSv1_3 7 +#define CURL_SSLVERSION_DEFAULT 0L +#define CURL_SSLVERSION_TLSv1 1L /* TLS 1.x */ +#define CURL_SSLVERSION_SSLv2 2L +#define CURL_SSLVERSION_SSLv3 3L +#define CURL_SSLVERSION_TLSv1_0 4L +#define CURL_SSLVERSION_TLSv1_1 5L +#define CURL_SSLVERSION_TLSv1_2 6L +#define CURL_SSLVERSION_TLSv1_3 7L -#define CURL_SSLVERSION_LAST 8 /* never use, keep last */ +#define CURL_SSLVERSION_LAST 8L /* never use, keep last */ -#define CURL_SSLVERSION_MAX_NONE 0 +#define CURL_SSLVERSION_MAX_NONE 0L #define CURL_SSLVERSION_MAX_DEFAULT (CURL_SSLVERSION_TLSv1 << 16) #define CURL_SSLVERSION_MAX_TLSv1_0 (CURL_SSLVERSION_TLSv1_0 << 16) #define CURL_SSLVERSION_MAX_TLSv1_1 (CURL_SSLVERSION_TLSv1_1 << 16) @@ -2339,10 +2384,13 @@ enum CURL_NETRC_OPTION { /* never use, keep last */ #define CURL_SSLVERSION_MAX_LAST (CURL_SSLVERSION_LAST << 16) +#define CURL_TLSAUTH_NONE 0L +#define CURL_TLSAUTH_SRP 1L + enum CURL_TLSAUTH { - CURL_TLSAUTH_NONE, - CURL_TLSAUTH_SRP, - CURL_TLSAUTH_LAST /* never use, keep last */ + /* we set a single member here, just to make sure we still provide the enum, + but the values to use are defined above with L suffixes */ + CURL_TLSAUTH_LAST = 2 }; /* symbols to use with CURLOPT_POSTREDIR. @@ -2350,21 +2398,23 @@ enum CURL_TLSAUTH { can be bitwise ORed so that CURL_REDIR_POST_301 | CURL_REDIR_POST_302 | CURL_REDIR_POST_303 == CURL_REDIR_POST_ALL */ -#define CURL_REDIR_GET_ALL 0 -#define CURL_REDIR_POST_301 1 -#define CURL_REDIR_POST_302 2 -#define CURL_REDIR_POST_303 4 +#define CURL_REDIR_GET_ALL 0L +#define CURL_REDIR_POST_301 1L +#define CURL_REDIR_POST_302 2L +#define CURL_REDIR_POST_303 4L #define CURL_REDIR_POST_ALL \ (CURL_REDIR_POST_301|CURL_REDIR_POST_302|CURL_REDIR_POST_303) -typedef enum { - CURL_TIMECOND_NONE, - - CURL_TIMECOND_IFMODSINCE, - CURL_TIMECOND_IFUNMODSINCE, - CURL_TIMECOND_LASTMOD, +#define CURL_TIMECOND_NONE 0L +#define CURL_TIMECOND_IFMODSINCE 1L +#define CURL_TIMECOND_IFUNMODSINCE 2L +#define CURL_TIMECOND_LASTMOD 3L - CURL_TIMECOND_LAST +typedef enum { + /* we set a single member here, just to make sure we still provide + the enum typedef, but the values to use are defined above with L + suffixes */ + CURL_TIMECOND_LAST = 4 } curl_TimeCond; /* Special size_t value signaling a null-terminated string. */ @@ -2380,7 +2430,7 @@ typedef struct curl_mime curl_mime; /* Mime context. */ typedef struct curl_mimepart curl_mimepart; /* Mime part context. */ /* CURLMIMEOPT_ defines are for the CURLOPT_MIME_OPTIONS option. */ -#define CURLMIMEOPT_FORMESCAPE (1<<0) /* Use backslash-escaping for forms. */ +#define CURLMIMEOPT_FORMESCAPE (1L<<0) /* Use backslash-escaping for forms. */ /* * NAME curl_mime_init() @@ -2425,7 +2475,7 @@ CURL_EXTERN CURLcode curl_mime_name(curl_mimepart *part, const char *name); * * DESCRIPTION * - * Set mime part remote file name. + * Set mime part remote filename. */ CURL_EXTERN CURLcode curl_mime_filename(curl_mimepart *part, const char *filename); @@ -2634,7 +2684,7 @@ CURL_EXTERN char *curl_getenv(const char *variable); * * DESCRIPTION * - * Returns a static ascii string of the libcurl version. + * Returns a static ASCII string of the libcurl version. */ CURL_EXTERN char *curl_version(void); @@ -2706,10 +2756,10 @@ CURL_EXTERN CURLcode curl_global_init(long flags); * DESCRIPTION * * curl_global_init() or curl_global_init_mem() should be invoked exactly once - * for each application that uses libcurl. This function can be used to + * for each application that uses libcurl. This function can be used to * initialize libcurl and set user defined memory management callback - * functions. Users can implement memory management routines to check for - * memory leaks, check for mis-use of the curl library etc. User registered + * functions. Users can implement memory management routines to check for + * memory leaks, check for misuse of the curl library etc. User registered * callback routines will be invoked by this library instead of the system * memory management routines like malloc, free etc. */ @@ -2760,17 +2810,17 @@ struct curl_slist { * *before* curl_global_init(). * * The backend can be identified by the id (e.g. CURLSSLBACKEND_OPENSSL). The - * backend can also be specified via the name parameter (passing -1 as id). - * If both id and name are specified, the name will be ignored. If neither id - * nor name are specified, the function will fail with - * CURLSSLSET_UNKNOWN_BACKEND and set the "avail" pointer to the - * NULL-terminated list of available backends. + * backend can also be specified via the name parameter (passing -1 as id). If + * both id and name are specified, the name will be ignored. If neither id nor + * name are specified, the function will fail with CURLSSLSET_UNKNOWN_BACKEND + * and set the "avail" pointer to the NULL-terminated list of available + * backends. * * Upon success, the function returns CURLSSLSET_OK. * * If the specified SSL backend is not available, the function returns - * CURLSSLSET_UNKNOWN_BACKEND and sets the "avail" pointer to a NULL-terminated - * list of available SSL backends. + * CURLSSLSET_UNKNOWN_BACKEND and sets the "avail" pointer to a + * NULL-terminated list of available SSL backends. * * The SSL backend can be set only once. If it has already been set, a * subsequent attempt to change it will result in a CURLSSLSET_TOO_LATE. @@ -2827,7 +2877,7 @@ CURL_EXTERN time_t curl_getdate(const char *p, const time_t *unused); for with CURLOPT_CERTINFO / CURLINFO_CERTINFO */ struct curl_certinfo { int num_of_certs; /* number of certificates with information */ - struct curl_slist **certinfo; /* for each index in this array, there's a + struct curl_slist **certinfo; /* for each index in this array, there is a linked list with textual information for a certificate in the format "name:content". eg "Subject:foo", "Issuer:bar", etc. */ @@ -2942,7 +2992,11 @@ typedef enum { CURLINFO_CONN_ID = CURLINFO_OFF_T + 64, CURLINFO_QUEUE_TIME_T = CURLINFO_OFF_T + 65, CURLINFO_USED_PROXY = CURLINFO_LONG + 66, - CURLINFO_LASTONE = 66 + CURLINFO_POSTTRANSFER_TIME_T = CURLINFO_OFF_T + 67, + CURLINFO_EARLYDATA_SENT_T = CURLINFO_OFF_T + 68, + CURLINFO_HTTPAUTH_USED = CURLINFO_LONG + 69, + CURLINFO_PROXYAUTH_USED = CURLINFO_LONG + 70, + CURLINFO_LASTONE = 70 } CURLINFO; /* CURLINFO_RESPONSE_CODE is the new name for the option previously known as @@ -3018,7 +3072,7 @@ typedef enum { } CURLSHcode; typedef enum { - CURLSHOPT_NONE, /* don't use */ + CURLSHOPT_NONE, /* do not use */ CURLSHOPT_SHARE, /* specify a data type to share */ CURLSHOPT_UNSHARE, /* specify which data type to stop sharing */ CURLSHOPT_LOCKFUNC, /* pass in a 'curl_lock_function' pointer */ @@ -3056,7 +3110,7 @@ typedef enum { /* The 'CURLVERSION_NOW' is the symbolic name meant to be used by basically all programs ever that want to get version information. It is meant to be a built-in version number for what kind of struct the caller - expects. If the struct ever chanHuL, we redefine the NOW to another enum + expects. If the struct ever chanJNx, we redefine the NOW to another enum from above. */ #define CURLVERSION_NOW CURLVERSION_TWELFTH @@ -3177,8 +3231,8 @@ CURL_EXTERN curl_version_info_data *curl_version_info(CURLversion); * DESCRIPTION * * The curl_easy_strerror function may be used to turn a CURLcode value - * into the equivalent human readable error string. This is useful - * for printing meaningful error messaHuL. + * into the equivalent human readable error string. This is useful + * for printing meaningful error messaJNx. */ CURL_EXTERN const char *curl_easy_strerror(CURLcode); @@ -3188,8 +3242,8 @@ CURL_EXTERN const char *curl_easy_strerror(CURLcode); * DESCRIPTION * * The curl_share_strerror function may be used to turn a CURLSHcode value - * into the equivalent human readable error string. This is useful - * for printing meaningful error messaHuL. + * into the equivalent human readable error string. This is useful + * for printing meaningful error messaJNx. */ CURL_EXTERN const char *curl_share_strerror(CURLSHcode); @@ -3213,7 +3267,51 @@ CURL_EXTERN CURLcode curl_easy_pause(CURL *handle, int bitmask); #define CURLPAUSE_ALL (CURLPAUSE_RECV|CURLPAUSE_SEND) #define CURLPAUSE_CONT (CURLPAUSE_RECV_CONT|CURLPAUSE_SEND_CONT) -#ifdef __cplusplus +/* + * NAME curl_easy_ssls_import() + * + * DESCRIPTION + * + * The curl_easy_ssls_import function adds a previously exported SSL session + * to the SSL session cache of the easy handle (or the underlying share). + */ +CURL_EXTERN CURLcode curl_easy_ssls_import(CURL *handle, + const char *session_key, + const unsigned char *shmac, + size_t shmac_len, + const unsigned char *sdata, + size_t sdata_len); + +/* This is the curl_ssls_export_cb callback prototype. It + * is passed to curl_easy_ssls_export() to extract SSL sessions/tickets. */ +typedef CURLcode curl_ssls_export_cb(CURL *handle, + void *userptr, + const char *session_key, + const unsigned char *shmac, + size_t shmac_len, + const unsigned char *sdata, + size_t sdata_len, + curl_off_t valid_until, + int ietf_tls_id, + const char *alpn, + size_t earlydata_max); + +/* + * NAME curl_easy_ssls_export() + * + * DESCRIPTION + * + * The curl_easy_ssls_export function iterates over all SSL sessions stored + * in the easy handle (or underlying share) and invokes the passed + * callback. + * + */ +CURL_EXTERN CURLcode curl_easy_ssls_export(CURL *handle, + curl_ssls_export_cb *export_fn, + void *userptr); + + +#ifdef __cplusplus } /* end of extern "C" */ #endif @@ -3227,9 +3325,10 @@ CURL_EXTERN CURLcode curl_easy_pause(CURL *handle, int bitmask); #include "websockets.h" #include "mprintf.h" -/* the typechecker doesn't work in C++ (yet) */ -#if defined(__GNUC__) && defined(__GNUC_MINOR__) && \ - ((__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)) && \ +/* the typechecker does not work in C++ (yet) */ +#if ((defined(__GNUC__) && defined(__GNUC_MINOR__) && \ + ((__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3))) || \ + (defined(__clang__) && __clang_major__ >= 14)) && \ !defined(__cplusplus) && !defined(CURL_DISABLE_TYPECHECK) #include "typecheck-gcc.h" #else diff --git a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curlver.h b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curlver.h index b68e3ee..3c7a919 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curlver.h +++ b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curlver.h @@ -32,14 +32,13 @@ /* This is the version number of the libcurl package from which this header file origins: */ -#define LIBCURL_VERSION "8.8.0" +#define LIBCURL_VERSION "8.16.0" /* The numeric version number is also available "in parts" by using these defines: */ #define LIBCURL_VERSION_MAJOR 8 -#define LIBCURL_VERSION_MINOR 8 +#define LIBCURL_VERSION_MINOR 16 #define LIBCURL_VERSION_PATCH 0 - /* This is the numeric version of the libcurl version number, meant for easier parsing and comparisons by programs. The LIBCURL_VERSION_NUM define will always follow this syntax: @@ -48,7 +47,7 @@ Where XX, YY and ZZ are the main version, release and patch numbers in hexadecimal (using 8 bits each). All three numbers are always represented - using two digits. 1.2 would appear as "0x010200" while version 9.11.7 + using two digits. 1.2 would appear as "0x010200" while version 9.11.7 appears as "0x090b07". This 6-digit (24 bits) hexadecimal number does not show pre-release number, @@ -59,7 +58,7 @@ CURL_VERSION_BITS() macro since curl's own configure script greps for it and needs it to contain the full number. */ -#define LIBCURL_VERSION_NUM 0x080800 +#define LIBCURL_VERSION_NUM 0x081000 /* * This is the date and time when the full source package was created. The @@ -70,7 +69,7 @@ * * "2007-11-23" */ -#define LIBCURL_TIMESTAMP "2024-05-22" +#define LIBCURL_TIMESTAMP "2025-09-10" #define CURL_VERSION_BITS(x,y,z) ((x)<<16|(y)<<8|(z)) #define CURL_AT_LEAST_VERSION(x,y,z) \ diff --git a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/easy.h b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/easy.h index 1285101..fa13564 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/easy.h +++ b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/easy.h @@ -23,7 +23,7 @@ * SPDX-License-Identifier: curl * ***************************************************************************/ -#ifdef __cplusplus +#ifdef __cplusplus extern "C" { #endif @@ -50,7 +50,7 @@ CURL_EXTERN void curl_easy_cleanup(CURL *curl); * * Request internal information from the curl session with this function. * The third argument MUST be pointing to the specific type of the used option - * which is documented in each man page of the option. The data pointed to + * which is documented in each manpage of the option. The data pointed to * will be filled in accordingly and can be relied upon only if the function * returns CURLE_OK. This function is intended to get used *AFTER* a performed * transfer, all results from this function are undefined until the transfer @@ -78,7 +78,7 @@ CURL_EXTERN CURL *curl_easy_duphandle(CURL *curl); * * DESCRIPTION * - * Re-initializes a CURL handle to the default values. This puts back the + * Re-initializes a curl handle to the default values. This puts back the * handle to the same state as it was in when it was just created. * * It does keep: live connections, the Session ID cache, the DNS cache and the @@ -118,7 +118,7 @@ CURL_EXTERN CURLcode curl_easy_send(CURL *curl, const void *buffer, */ CURL_EXTERN CURLcode curl_easy_upkeep(CURL *curl); -#ifdef __cplusplus +#ifdef __cplusplus } /* end of extern "C" */ #endif diff --git a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/header.h b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/header.h index 8df11e1..7465274 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/header.h +++ b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/header.h @@ -24,7 +24,7 @@ * ***************************************************************************/ -#ifdef __cplusplus +#ifdef __cplusplus extern "C" { #endif diff --git a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/mprintf.h b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/mprintf.h index 4f70454..9272e74 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/mprintf.h +++ b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/mprintf.h @@ -28,16 +28,22 @@ #include /* needed for FILE */ #include "curl.h" /* for CURL_EXTERN */ -#ifdef __cplusplus +#ifdef __cplusplus extern "C" { #endif -#if (defined(__GNUC__) || defined(__clang__)) && \ +#ifndef CURL_TEMP_PRINTF +#if (defined(__GNUC__) || defined(__clang__) || \ + defined(__IAR_SYSTEMS_ICC__)) && \ defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) && \ !defined(CURL_NO_FMT_CHECKS) #if defined(__MINGW32__) && !defined(__clang__) +#ifdef __MINGW_PRINTF_FORMAT /* mingw-w64 3.0.0+. Needs stdio.h. */ #define CURL_TEMP_PRINTF(fmt, arg) \ - __attribute__((format(gnu_printf, fmt, arg))) + __attribute__((format(__MINGW_PRINTF_FORMAT, fmt, arg))) +#else +#define CURL_TEMP_PRINTF(fmt, arg) +#endif #else #define CURL_TEMP_PRINTF(fmt, arg) \ __attribute__((format(printf, fmt, arg))) @@ -45,6 +51,7 @@ extern "C" { #else #define CURL_TEMP_PRINTF(fmt, arg) #endif +#endif CURL_EXTERN int curl_mprintf(const char *format, ...) CURL_TEMP_PRINTF(1, 2); @@ -71,7 +78,7 @@ CURL_EXTERN char *curl_mvaprintf(const char *format, va_list args) #undef CURL_TEMP_PRINTF -#ifdef __cplusplus +#ifdef __cplusplus } /* end of extern "C" */ #endif diff --git a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/multi.h b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/multi.h index b4583d0..649c459 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/multi.h +++ b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/multi.h @@ -24,7 +24,7 @@ * ***************************************************************************/ /* - This is an "external" header file. Don't give away any internals here! + This is an "external" header file. Do not give away any internals here! GOALS @@ -50,15 +50,11 @@ */ #include "curl.h" -#ifdef __cplusplus +#ifdef __cplusplus extern "C" { #endif -#if defined(BUILDING_LIBCURL) || defined(CURL_STRICTER) -typedef struct Curl_multi CURLM; -#else typedef void CURLM; -#endif typedef enum { CURLM_CALL_MULTI_PERFORM = -1, /* please call curl_multi_perform() or @@ -66,7 +62,7 @@ typedef enum { CURLM_OK, CURLM_BAD_HANDLE, /* the passed-in handle is not a valid CURLM handle */ CURLM_BAD_EASY_HANDLE, /* an easy handle was not good/valid */ - CURLM_OUT_OF_MEMORY, /* if you ever get this, you're in deep sh*t */ + CURLM_OUT_OF_MEMORY, /* if you ever get this, you are in deep sh*t */ CURLM_INTERNAL_ERROR, /* this is a libcurl bug */ CURLM_BAD_SOCKET, /* the passed in socket argument did not match */ CURLM_UNKNOWN_OPTION, /* curl_multi_setopt() with unsupported option */ @@ -109,7 +105,7 @@ struct CURLMsg { typedef struct CURLMsg CURLMsg; /* Based on poll(2) structure and values. - * We don't use pollfd and POLL* constants explicitly + * We do not use pollfd and POLL* constants explicitly * to cover platforms without poll(). */ #define CURL_WAIT_POLLIN 0x0001 #define CURL_WAIT_POLLPRI 0x0002 @@ -205,7 +201,7 @@ CURL_EXTERN CURLMcode curl_multi_wakeup(CURLM *multi_handle); /* * Name: curl_multi_perform() * - * Desc: When the app thinks there's data available for curl it calls this + * Desc: When the app thinks there is data available for curl it calls this * function to read/write whatever there is right now. This returns * as soon as the reads and writes are done. This function does not * require that there actually is data available for reading or that @@ -236,8 +232,8 @@ CURL_EXTERN CURLMcode curl_multi_cleanup(CURLM *multi_handle); /* * Name: curl_multi_info_read() * - * Desc: Ask the multi handle if there's any messaHuL/informationals from - * the individual transfers. MessaHuL include informationals such as + * Desc: Ask the multi handle if there is any messaJNx/informationals from + * the individual transfers. MessaJNx include informationals such as * error code from the transfer or just the fact that a transfer is * completed. More details on these should be written down as well. * @@ -248,16 +244,16 @@ CURL_EXTERN CURLMcode curl_multi_cleanup(CURLM *multi_handle); * The data the returned pointer points to will not survive calling * curl_multi_cleanup(). * - * The 'CURLMsg' struct is meant to be very simple and only contain - * very basic information. If more involved information is wanted, - * we will provide the particular "transfer handle" in that struct - * and that should/could/would be used in subsequent - * curl_easy_getinfo() calls (or similar). The point being that we - * must never expose complex structs to applications, as then we'll - * undoubtably get backwards compatibility problems in the future. + * The 'CURLMsg' struct is meant to be simple and only contain basic + * information. If more involved information is wanted, we will + * provide the particular "transfer handle" in that struct and that + * should/could/would be used in subsequent curl_easy_getinfo() calls + * (or similar). The point being that we must never expose complex + * structs to applications, as then we will undoubtably get backwards + * compatibility problems in the future. * * Returns: A pointer to a filled-in struct, or NULL if it failed or ran out - * of structs. It also writes the number of messaHuL left in the + * of structs. It also writes the number of messaJNx left in the * queue (after this read) in the integer the second argument points * to. */ @@ -268,8 +264,8 @@ CURL_EXTERN CURLMsg *curl_multi_info_read(CURLM *multi_handle, * Name: curl_multi_strerror() * * Desc: The curl_multi_strerror function may be used to turn a CURLMcode - * value into the equivalent human readable error string. This is - * useful for printing meaningful error messaHuL. + * value into the equivalent human readable error string. This is + * useful for printing meaningful error messaJNx. * * Returns: A pointer to a null-terminated error message. */ @@ -282,7 +278,7 @@ CURL_EXTERN const char *curl_multi_strerror(CURLMcode); * Desc: An alternative version of curl_multi_perform() that allows the * application to pass in one of the file descriptors that have been * detected to have "action" on them and let libcurl perform. - * See man page for details. + * See manpage for details. */ #define CURL_POLL_NONE 0 #define CURL_POLL_IN 1 @@ -399,9 +395,23 @@ typedef enum { /* maximum number of concurrent streams to support on a connection */ CURLOPT(CURLMOPT_MAX_CONCURRENT_STREAMS, CURLOPTTYPE_LONG, 16), + /* network has changed, adjust caches/connection reuse */ + CURLOPT(CURLMOPT_NETWORK_CHANGED, CURLOPTTYPE_LONG, 17), + CURLMOPT_LASTENTRY /* the last unused */ } CURLMoption; +/* Definition of bits for the CURLMOPT_NETWORK_CHANGED argument: */ + +/* - CURLMNWC_CLEAR_CONNS tells libcurl to prevent further reuse of existing + connections. Connections that are idle will be closed. Ongoing transfers + will continue with the connection they have. */ +#define CURLMNWC_CLEAR_CONNS (1L<<0) + +/* - CURLMNWC_CLEAR_DNS tells libcurl to prevent further reuse of existing + connections. Connections that are idle will be closed. Ongoing transfers + will continue with the connection they have. */ +#define CURLMNWC_CLEAR_DNS (1L<<0) /* * Name: curl_multi_setopt() @@ -438,6 +448,36 @@ CURL_EXTERN CURLMcode curl_multi_assign(CURLM *multi_handle, */ CURL_EXTERN CURL **curl_multi_get_handles(CURLM *multi_handle); + +typedef enum { + CURLMINFO_NONE, /* first, never use this */ + /* The number of easy handles currently managed by the multi handle, + * e.g. have been added but not yet removed. */ + CURLMINFO_XFERS_CURRENT = 1, + /* The number of easy handles running, e.g. not done and not queueing. */ + CURLMINFO_XFERS_RUNNING = 2, + /* The number of easy handles waiting to start, e.g. for a connection + * to become available due to limits on parallelism, max connections + * or other factors. */ + CURLMINFO_XFERS_PENDING = 3, + /* The number of easy handles finished, waiting for their results to + * be read via `curl_multi_info_read()`. */ + CURLMINFO_XFERS_DONE = 4, + /* The total number of easy handles added to the multi handle, ever. */ + CURLMINFO_XFERS_ADDED = 5 +} CURLMinfo_offt; + +/* + * Name: curl_multi_get_offt() + * + * Desc: Retrieves a numeric value for the `CURLMINFO_*` enums. + * + * Returns: CULRM_OK or error when value could not be obtained. + */ +CURL_EXTERN CURLMcode curl_multi_get_offt(CURLM *multi_handle, + CURLMinfo_offt info, + curl_off_t *pvalue); + /* * Name: curl_push_callback * diff --git a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/options.h b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/options.h index 4722041..fafc930 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/options.h +++ b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/options.h @@ -24,7 +24,7 @@ * ***************************************************************************/ -#ifdef __cplusplus +#ifdef __cplusplus extern "C" { #endif @@ -46,7 +46,7 @@ typedef enum { we prefer another name */ #define CURLOT_FLAG_ALIAS (1<<0) -/* The CURLOPTTYPE_* id ranHuL can still be used to figure out what type/size +/* The CURLOPTTYPE_* id ranJNx can still be used to figure out what type/size to use for curl_easy_setopt() for the given id */ struct curl_easyoption { const char *name; diff --git a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/system.h b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/system.h index 81a1b81..62ed2b0 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/system.h +++ b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/system.h @@ -31,83 +31,42 @@ * changed. * * In order to differentiate between platforms/compilers/architectures use - * only compiler built in predefined preprocessor symbols. + * only compiler built-in predefined preprocessor symbols. * * curl_off_t * ---------- * - * For any given platform/compiler curl_off_t must be typedef'ed to a 64-bit + * For any given platform/compiler curl_off_t MUST be typedef'ed to a 64-bit * wide signed integral data type. The width of this data type must remain * constant and independent of any possible large file support settings. * - * As an exception to the above, curl_off_t shall be typedef'ed to a 32-bit - * wide signed integral data type if there is no 64-bit type. - * * As a general rule, curl_off_t shall not be mapped to off_t. This rule shall * only be violated if off_t is the only 64-bit data type available and the * size of off_t is independent of large file support settings. Keep your - * build on the safe side avoiding an off_t gating. If you have a 64-bit + * build on the safe side avoiding an off_t gating. If you have a 64-bit * off_t then take for sure that another 64-bit data type exists, dig deeper * and you will find it. * */ -#if defined(__DJGPP__) || defined(__GO32__) -# if defined(__DJGPP__) && (__DJGPP__ > 1) -# define CURL_TYPEOF_CURL_OFF_T long long -# define CURL_FORMAT_CURL_OFF_T "lld" -# define CURL_FORMAT_CURL_OFF_TU "llu" -# define CURL_SUFFIX_CURL_OFF_T LL -# define CURL_SUFFIX_CURL_OFF_TU ULL -# else -# define CURL_TYPEOF_CURL_OFF_T long -# define CURL_FORMAT_CURL_OFF_T "ld" -# define CURL_FORMAT_CURL_OFF_TU "lu" -# define CURL_SUFFIX_CURL_OFF_T L -# define CURL_SUFFIX_CURL_OFF_TU UL -# endif -# define CURL_TYPEOF_CURL_SOCKLEN_T int - -#elif defined(__SALFORDC__) -# define CURL_TYPEOF_CURL_OFF_T long -# define CURL_FORMAT_CURL_OFF_T "ld" -# define CURL_FORMAT_CURL_OFF_TU "lu" -# define CURL_SUFFIX_CURL_OFF_T L -# define CURL_SUFFIX_CURL_OFF_TU UL +#ifdef __DJGPP__ +# define CURL_TYPEOF_CURL_OFF_T long long +# define CURL_FORMAT_CURL_OFF_T "lld" +# define CURL_FORMAT_CURL_OFF_TU "llu" +# define CURL_SUFFIX_CURL_OFF_T LL +# define CURL_SUFFIX_CURL_OFF_TU ULL # define CURL_TYPEOF_CURL_SOCKLEN_T int #elif defined(__BORLANDC__) -# if (__BORLANDC__ < 0x520) -# define CURL_TYPEOF_CURL_OFF_T long -# define CURL_FORMAT_CURL_OFF_T "ld" -# define CURL_FORMAT_CURL_OFF_TU "lu" -# define CURL_SUFFIX_CURL_OFF_T L -# define CURL_SUFFIX_CURL_OFF_TU UL -# else -# define CURL_TYPEOF_CURL_OFF_T __int64 -# define CURL_FORMAT_CURL_OFF_T "I64d" -# define CURL_FORMAT_CURL_OFF_TU "I64u" -# define CURL_SUFFIX_CURL_OFF_T i64 -# define CURL_SUFFIX_CURL_OFF_TU ui64 -# endif -# define CURL_TYPEOF_CURL_SOCKLEN_T int - -#elif defined(__TURBOC__) -# define CURL_TYPEOF_CURL_OFF_T long -# define CURL_FORMAT_CURL_OFF_T "ld" -# define CURL_FORMAT_CURL_OFF_TU "lu" -# define CURL_SUFFIX_CURL_OFF_T L -# define CURL_SUFFIX_CURL_OFF_TU UL +# define CURL_TYPEOF_CURL_OFF_T __int64 +# define CURL_FORMAT_CURL_OFF_T "I64d" +# define CURL_FORMAT_CURL_OFF_TU "I64u" +# define CURL_SUFFIX_CURL_OFF_T i64 +# define CURL_SUFFIX_CURL_OFF_TU ui64 # define CURL_TYPEOF_CURL_SOCKLEN_T int #elif defined(__POCC__) -# if (__POCC__ < 280) -# define CURL_TYPEOF_CURL_OFF_T long -# define CURL_FORMAT_CURL_OFF_T "ld" -# define CURL_FORMAT_CURL_OFF_TU "lu" -# define CURL_SUFFIX_CURL_OFF_T L -# define CURL_SUFFIX_CURL_OFF_TU UL -# elif defined(_MSC_VER) +# ifdef _MSC_VER # define CURL_TYPEOF_CURL_OFF_T __int64 # define CURL_FORMAT_CURL_OFF_T "I64d" # define CURL_FORMAT_CURL_OFF_TU "I64u" @@ -123,7 +82,7 @@ # define CURL_TYPEOF_CURL_SOCKLEN_T int #elif defined(__LCC__) -# if defined(__MCST__) /* MCST eLbrus Compiler Collection */ +# ifdef __MCST__ /* MCST eLbrus Compiler Collection */ # define CURL_TYPEOF_CURL_OFF_T long # define CURL_FORMAT_CURL_OFF_T "ld" # define CURL_FORMAT_CURL_OFF_TU "lu" @@ -159,23 +118,38 @@ # define CURL_TYPEOF_CURL_SOCKLEN_T unsigned int #elif defined(__TANDEM) -# if ! defined(__LP64) - /* Required for 32-bit NonStop builds only. */ -# define CURL_TYPEOF_CURL_OFF_T long long -# define CURL_FORMAT_CURL_OFF_T "lld" -# define CURL_FORMAT_CURL_OFF_TU "llu" -# define CURL_SUFFIX_CURL_OFF_T LL -# define CURL_SUFFIX_CURL_OFF_TU ULL -# define CURL_TYPEOF_CURL_SOCKLEN_T int -# endif +# ifndef __LP64 +# define CURL_TYPEOF_CURL_OFF_T long long +# define CURL_FORMAT_CURL_OFF_T "lld" +# define CURL_FORMAT_CURL_OFF_TU "llu" +# define CURL_SUFFIX_CURL_OFF_T LL +# define CURL_SUFFIX_CURL_OFF_TU ULL +# define CURL_TYPEOF_CURL_SOCKLEN_T int +# else +# define CURL_TYPEOF_CURL_OFF_T long +# define CURL_FORMAT_CURL_OFF_T "ld" +# define CURL_FORMAT_CURL_OFF_TU "lu" +# define CURL_SUFFIX_CURL_OFF_T L +# define CURL_SUFFIX_CURL_OFF_TU UL +# define CURL_TYPEOF_CURL_SOCKLEN_T unsigned int +# endif -#elif defined(_WIN32_WCE) -# define CURL_TYPEOF_CURL_OFF_T __int64 -# define CURL_FORMAT_CURL_OFF_T "I64d" -# define CURL_FORMAT_CURL_OFF_TU "I64u" -# define CURL_SUFFIX_CURL_OFF_T i64 -# define CURL_SUFFIX_CURL_OFF_TU ui64 -# define CURL_TYPEOF_CURL_SOCKLEN_T int +#elif defined(UNDER_CE) +# ifdef __MINGW32CE__ +# define CURL_TYPEOF_CURL_OFF_T long long +# define CURL_FORMAT_CURL_OFF_T "lld" +# define CURL_FORMAT_CURL_OFF_TU "llu" +# define CURL_SUFFIX_CURL_OFF_T LL +# define CURL_SUFFIX_CURL_OFF_TU ULL +# define CURL_TYPEOF_CURL_SOCKLEN_T int +# else +# define CURL_TYPEOF_CURL_OFF_T __int64 +# define CURL_FORMAT_CURL_OFF_T "I64d" +# define CURL_FORMAT_CURL_OFF_TU "I64u" +# define CURL_SUFFIX_CURL_OFF_T i64 +# define CURL_SUFFIX_CURL_OFF_TU ui64 +# define CURL_TYPEOF_CURL_SOCKLEN_T int +# endif #elif defined(__MINGW32__) # include @@ -188,7 +162,7 @@ # define CURL_PULL_SYS_TYPES_H 1 #elif defined(__VMS) -# if defined(__VAX) +# ifdef __VAX # define CURL_TYPEOF_CURL_OFF_T long # define CURL_FORMAT_CURL_OFF_T "ld" # define CURL_FORMAT_CURL_OFF_TU "lu" @@ -214,19 +188,13 @@ # define CURL_PULL_SYS_SOCKET_H 1 #elif defined(__MVS__) -# if defined(_LONG_LONG) +# ifdef _LONG_LONG # define CURL_TYPEOF_CURL_OFF_T long long # define CURL_FORMAT_CURL_OFF_T "lld" # define CURL_FORMAT_CURL_OFF_TU "llu" # define CURL_SUFFIX_CURL_OFF_T LL # define CURL_SUFFIX_CURL_OFF_TU ULL -# elif defined(_LP64) -# define CURL_TYPEOF_CURL_OFF_T long -# define CURL_FORMAT_CURL_OFF_T "ld" -# define CURL_FORMAT_CURL_OFF_TU "lu" -# define CURL_SUFFIX_CURL_OFF_T L -# define CURL_SUFFIX_CURL_OFF_TU UL -# else +# else /* _LP64 and default */ # define CURL_TYPEOF_CURL_OFF_T long # define CURL_FORMAT_CURL_OFF_T "ld" # define CURL_FORMAT_CURL_OFF_TU "lu" @@ -239,22 +207,13 @@ #elif defined(__370__) # if defined(__IBMC__) || defined(__IBMCPP__) -# if defined(_ILP32) -# elif defined(_LP64) -# endif -# if defined(_LONG_LONG) +# ifdef _LONG_LONG # define CURL_TYPEOF_CURL_OFF_T long long # define CURL_FORMAT_CURL_OFF_T "lld" # define CURL_FORMAT_CURL_OFF_TU "llu" # define CURL_SUFFIX_CURL_OFF_T LL # define CURL_SUFFIX_CURL_OFF_TU ULL -# elif defined(_LP64) -# define CURL_TYPEOF_CURL_OFF_T long -# define CURL_FORMAT_CURL_OFF_T "ld" -# define CURL_FORMAT_CURL_OFF_TU "lu" -# define CURL_SUFFIX_CURL_OFF_T L -# define CURL_SUFFIX_CURL_OFF_TU UL -# else +# else /* _LP64 and default */ # define CURL_TYPEOF_CURL_OFF_T long # define CURL_FORMAT_CURL_OFF_T "ld" # define CURL_FORMAT_CURL_OFF_TU "lu" @@ -307,7 +266,7 @@ # define CURL_PULL_SYS_SOCKET_H 1 #elif defined(__xlc__) /* IBM xlc compiler */ -# if !defined(_LP64) +# ifndef _LP64 # define CURL_TYPEOF_CURL_OFF_T long long # define CURL_FORMAT_CURL_OFF_T "lld" # define CURL_FORMAT_CURL_OFF_TU "llu" @@ -325,7 +284,7 @@ # define CURL_PULL_SYS_SOCKET_H 1 #elif defined(__hpux) /* HP aCC compiler */ -# if !defined(_LP64) +# ifndef _LP64 # define CURL_TYPEOF_CURL_OFF_T long long # define CURL_FORMAT_CURL_OFF_T "lld" # define CURL_FORMAT_CURL_OFF_TU "llu" @@ -349,24 +308,15 @@ #elif defined(_MSC_VER) # if (_MSC_VER >= 1800) # include -# define CURL_TYPEOF_CURL_OFF_T __int64 # define CURL_FORMAT_CURL_OFF_T PRId64 # define CURL_FORMAT_CURL_OFF_TU PRIu64 -# define CURL_SUFFIX_CURL_OFF_T i64 -# define CURL_SUFFIX_CURL_OFF_TU ui64 -# elif (_MSC_VER >= 900) && (_INTEGRAL_MAX_BITS >= 64) -# define CURL_TYPEOF_CURL_OFF_T __int64 +# else # define CURL_FORMAT_CURL_OFF_T "I64d" # define CURL_FORMAT_CURL_OFF_TU "I64u" -# define CURL_SUFFIX_CURL_OFF_T i64 -# define CURL_SUFFIX_CURL_OFF_TU ui64 -# else -# define CURL_TYPEOF_CURL_OFF_T long -# define CURL_FORMAT_CURL_OFF_T "ld" -# define CURL_FORMAT_CURL_OFF_TU "lu" -# define CURL_SUFFIX_CURL_OFF_T L -# define CURL_SUFFIX_CURL_OFF_TU UL # endif +# define CURL_TYPEOF_CURL_OFF_T __int64 +# define CURL_SUFFIX_CURL_OFF_T i64 +# define CURL_SUFFIX_CURL_OFF_TU ui64 # define CURL_TYPEOF_CURL_SOCKLEN_T int /* ===================================== */ @@ -379,13 +329,18 @@ defined(__ppc__) || defined(__powerpc__) || defined(__arm__) || \ defined(__sparc__) || defined(__mips__) || defined(__sh__) || \ defined(__XTENSA__) || \ - (defined(__SIZEOF_LONG__) && __SIZEOF_LONG__ == 4) || \ + (defined(__SIZEOF_LONG__) && __SIZEOF_LONG__ == 4) || \ (defined(__LONG_MAX__) && __LONG_MAX__ == 2147483647L)) # define CURL_TYPEOF_CURL_OFF_T long long # define CURL_FORMAT_CURL_OFF_T "lld" # define CURL_FORMAT_CURL_OFF_TU "llu" # define CURL_SUFFIX_CURL_OFF_T LL # define CURL_SUFFIX_CURL_OFF_TU ULL +# if (__GNUC__ >= 4) || \ + ((__GNUC__ == 3) && defined(__GNUC_MINOR__) && (__GNUC_MINOR__ >= 4)) +# define CURL_POPCOUNT64(x) __builtin_popcountll(x) +# define CURL_CTZ64(x) __builtin_ctzll(x) +# endif # elif defined(__LP64__) || \ defined(__x86_64__) || defined(__ppc64__) || defined(__sparc64__) || \ defined(__e2k__) || \ @@ -396,19 +351,24 @@ # define CURL_FORMAT_CURL_OFF_TU "lu" # define CURL_SUFFIX_CURL_OFF_T L # define CURL_SUFFIX_CURL_OFF_TU UL +# if (__GNUC__ >= 4) || \ + ((__GNUC__ == 3) && defined(__GNUC_MINOR__) && (__GNUC_MINOR__ >= 4)) +# define CURL_POPCOUNT64(x) __builtin_popcountl(x) +# define CURL_CTZ64(x) __builtin_ctzl(x) +# endif # endif # define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t # define CURL_PULL_SYS_TYPES_H 1 # define CURL_PULL_SYS_SOCKET_H 1 #else -/* generic "safe guess" on old 32 bit style */ -# define CURL_TYPEOF_CURL_OFF_T long -# define CURL_FORMAT_CURL_OFF_T "ld" -# define CURL_FORMAT_CURL_OFF_TU "lu" -# define CURL_SUFFIX_CURL_OFF_T L -# define CURL_SUFFIX_CURL_OFF_TU UL -# define CURL_TYPEOF_CURL_SOCKLEN_T int +/* generic "safe guess" on old 32-bit style */ +# define CURL_TYPEOF_CURL_OFF_T long long +# define CURL_FORMAT_CURL_OFF_T "lld" +# define CURL_FORMAT_CURL_OFF_TU "llu" +# define CURL_SUFFIX_CURL_OFF_T LL +# define CURL_SUFFIX_CURL_OFF_TU ULL +# define CURL_TYPEOF_CURL_SOCKLEN_T int #endif #ifdef _AIX @@ -445,52 +405,4 @@ typedef CURL_TYPEOF_CURL_OFF_T curl_off_t; #endif -/* - * CURL_ISOCPP and CURL_OFF_T_C definitions are done here in order to allow - * these to be visible and exported by the external libcurl interface API, - * while also making them visible to the library internals, simply including - * curl_setup.h, without actually needing to include curl.h internally. - * If some day this section would grow big enough, all this should be moved - * to its own header file. - */ - -/* - * Figure out if we can use the ## preprocessor operator, which is supported - * by ISO/ANSI C and C++. Some compilers support it without setting __STDC__ - * or __cplusplus so we need to carefully check for them too. - */ - -#if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus) || \ - defined(__HP_aCC) || defined(__BORLANDC__) || defined(__LCC__) || \ - defined(__POCC__) || defined(__SALFORDC__) || defined(__HIGHC__) || \ - defined(__ILEC400__) - /* This compiler is believed to have an ISO compatible preprocessor */ -#define CURL_ISOCPP -#else - /* This compiler is believed NOT to have an ISO compatible preprocessor */ -#undef CURL_ISOCPP -#endif - -/* - * Macros for minimum-width signed and unsigned curl_off_t integer constants. - */ - -#if defined(__BORLANDC__) && (__BORLANDC__ == 0x0551) -# define CURLINC_OFF_T_C_HLPR2(x) x -# define CURLINC_OFF_T_C_HLPR1(x) CURLINC_OFF_T_C_HLPR2(x) -# define CURL_OFF_T_C(Val) CURLINC_OFF_T_C_HLPR1(Val) ## \ - CURLINC_OFF_T_C_HLPR1(CURL_SUFFIX_CURL_OFF_T) -# define CURL_OFF_TU_C(Val) CURLINC_OFF_T_C_HLPR1(Val) ## \ - CURLINC_OFF_T_C_HLPR1(CURL_SUFFIX_CURL_OFF_TU) -#else -# ifdef CURL_ISOCPP -# define CURLINC_OFF_T_C_HLPR2(Val,Suffix) Val ## Suffix -# else -# define CURLINC_OFF_T_C_HLPR2(Val,Suffix) Val/**/Suffix -# endif -# define CURLINC_OFF_T_C_HLPR1(Val,Suffix) CURLINC_OFF_T_C_HLPR2(Val,Suffix) -# define CURL_OFF_T_C(Val) CURLINC_OFF_T_C_HLPR1(Val,CURL_SUFFIX_CURL_OFF_T) -# define CURL_OFF_TU_C(Val) CURLINC_OFF_T_C_HLPR1(Val,CURL_SUFFIX_CURL_OFF_TU) -#endif - #endif /* CURLINC_SYSTEM_H */ diff --git a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/typecheck-gcc.h b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/typecheck-gcc.h new file mode 100644 index 0000000..a0b41ae --- /dev/null +++ b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/typecheck-gcc.h @@ -0,0 +1,947 @@ +#ifndef CURLINC_TYPECHECK_GCC_H +#define CURLINC_TYPECHECK_GCC_H +/*************************************************************************** + * _ _ ____ _ + * Project ___| | | | _ \| | + * / __| | | | |_) | | + * | (__| |_| | _ <| |___ + * \___|\___/|_| \_\_____| + * + * Copyright (C) Daniel Stenberg, , et al. + * + * This software is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at https://curl.se/docs/copyright.html. + * + * You may opt to use, copy, modify, merge, publish, distribute and/or sell + * copies of the Software, and permit persons to whom the Software is + * furnished to do so, under the terms of the COPYING file. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + * SPDX-License-Identifier: curl + * + ***************************************************************************/ + +/* wraps curl_easy_setopt() with typechecking */ + +/* To add a new kind of warning, add an + * if(curlcheck_sometype_option(_curl_opt)) + * if(!curlcheck_sometype(value)) + * _curl_easy_setopt_err_sometype(); + * block and define curlcheck_sometype_option, curlcheck_sometype and + * _curl_easy_setopt_err_sometype below + * + * NOTE: We use two nested 'if' statements here instead of the && operator, in + * order to work around gcc bug #32061. It affects only gcc 4.3.x/4.4.x + * when compiling with -Wlogical-op. + * + * To add an option that uses the same type as an existing option, you will + * just need to extend the appropriate _curl_*_option macro + */ + +#define curl_easy_setopt(handle, option, value) \ + __extension__({ \ + if(__builtin_constant_p(option)) { \ + CURL_IGNORE_DEPRECATION( \ + if(curlcheck_long_option(option)) \ + if(!curlcheck_long(value)) \ + _curl_easy_setopt_err_long(); \ + if(curlcheck_off_t_option(option)) \ + if(!curlcheck_off_t(value)) \ + _curl_easy_setopt_err_curl_off_t(); \ + if(curlcheck_string_option(option)) \ + if(!curlcheck_string(value)) \ + _curl_easy_setopt_err_string(); \ + if((option) == CURLOPT_PRIVATE) { } \ + if(curlcheck_write_cb_option(option)) \ + if(!curlcheck_write_cb(value)) \ + _curl_easy_setopt_err_write_callback(); \ + if(curlcheck_curl_option(option)) \ + if(!curlcheck_curl(value)) \ + _curl_easy_setopt_err_curl(); \ + if((option) == CURLOPT_RESOLVER_START_FUNCTION) \ + if(!curlcheck_resolver_start_callback(value)) \ + _curl_easy_setopt_err_resolver_start_callback(); \ + if((option) == CURLOPT_READFUNCTION) \ + if(!curlcheck_read_cb(value)) \ + _curl_easy_setopt_err_read_cb(); \ + if((option) == CURLOPT_IOCTLFUNCTION) \ + if(!curlcheck_ioctl_cb(value)) \ + _curl_easy_setopt_err_ioctl_cb(); \ + if((option) == CURLOPT_SOCKOPTFUNCTION) \ + if(!curlcheck_sockopt_cb(value)) \ + _curl_easy_setopt_err_sockopt_cb(); \ + if((option) == CURLOPT_OPENSOCKETFUNCTION) \ + if(!curlcheck_opensocket_cb(value)) \ + _curl_easy_setopt_err_opensocket_cb(); \ + if((option) == CURLOPT_PROGRESSFUNCTION) \ + if(!curlcheck_progress_cb(value)) \ + _curl_easy_setopt_err_progress_cb(); \ + if((option) == CURLOPT_XFERINFOFUNCTION) \ + if(!curlcheck_xferinfo_cb(value)) \ + _curl_easy_setopt_err_xferinfo_cb(); \ + if((option) == CURLOPT_DEBUGFUNCTION) \ + if(!curlcheck_debug_cb(value)) \ + _curl_easy_setopt_err_debug_cb(); \ + if((option) == CURLOPT_SSL_CTX_FUNCTION) \ + if(!curlcheck_ssl_ctx_cb(value)) \ + _curl_easy_setopt_err_ssl_ctx_cb(); \ + if(curlcheck_conv_cb_option(option)) \ + if(!curlcheck_conv_cb(value)) \ + _curl_easy_setopt_err_conv_cb(); \ + if((option) == CURLOPT_SEEKFUNCTION) \ + if(!curlcheck_seek_cb(value)) \ + _curl_easy_setopt_err_seek_cb(); \ + if((option) == CURLOPT_CHUNK_BGN_FUNCTION) \ + if(!curlcheck_chunk_bgn_cb(value)) \ + _curl_easy_setopt_err_chunk_bgn_cb(); \ + if((option) == CURLOPT_CHUNK_END_FUNCTION) \ + if(!curlcheck_chunk_end_cb(value)) \ + _curl_easy_setopt_err_chunk_end_cb(); \ + if((option) == CURLOPT_CLOSESOCKETFUNCTION) \ + if(!curlcheck_close_socket_cb(value)) \ + _curl_easy_setopt_err_close_socket_cb(); \ + if((option) == CURLOPT_FNMATCH_FUNCTION) \ + if(!curlcheck_fnmatch_cb(value)) \ + _curl_easy_setopt_err_fnmatch_cb(); \ + if((option) == CURLOPT_HSTSREADFUNCTION) \ + if(!curlcheck_hstsread_cb(value)) \ + _curl_easy_setopt_err_hstsread_cb(); \ + if((option) == CURLOPT_HSTSWRITEFUNCTION) \ + if(!curlcheck_hstswrite_cb(value)) \ + _curl_easy_setopt_err_hstswrite_cb(); \ + if((option) == CURLOPT_SSH_HOSTKEYFUNCTION) \ + if(!curlcheck_ssh_hostkey_cb(value)) \ + _curl_easy_setopt_err_ssh_hostkey_cb(); \ + if((option) == CURLOPT_SSH_KEYFUNCTION) \ + if(!curlcheck_ssh_key_cb(value)) \ + _curl_easy_setopt_err_ssh_key_cb(); \ + if((option) == CURLOPT_INTERLEAVEFUNCTION) \ + if(!curlcheck_interleave_cb(value)) \ + _curl_easy_setopt_err_interleave_cb(); \ + if((option) == CURLOPT_PREREQFUNCTION) \ + if(!curlcheck_prereq_cb(value)) \ + _curl_easy_setopt_err_prereq_cb(); \ + if((option) == CURLOPT_TRAILERFUNCTION) \ + if(!curlcheck_trailer_cb(value)) \ + _curl_easy_setopt_err_trailer_cb(); \ + if(curlcheck_cb_data_option(option)) \ + if(!curlcheck_cb_data(value)) \ + _curl_easy_setopt_err_cb_data(); \ + if((option) == CURLOPT_ERRORBUFFER) \ + if(!curlcheck_error_buffer(value)) \ + _curl_easy_setopt_err_error_buffer(); \ + if((option) == CURLOPT_CURLU) \ + if(!curlcheck_ptr((value), CURLU)) \ + _curl_easy_setopt_err_curlu(); \ + if((option) == CURLOPT_STDERR) \ + if(!curlcheck_FILE(value)) \ + _curl_easy_setopt_err_FILE(); \ + if(curlcheck_postfields_option(option)) \ + if(!curlcheck_postfields(value)) \ + _curl_easy_setopt_err_postfields(); \ + if((option) == CURLOPT_HTTPPOST) \ + if(!curlcheck_arr((value), struct curl_httppost)) \ + _curl_easy_setopt_err_curl_httpost(); \ + if((option) == CURLOPT_MIMEPOST) \ + if(!curlcheck_ptr((value), curl_mime)) \ + _curl_easy_setopt_err_curl_mimepost(); \ + if(curlcheck_slist_option(option)) \ + if(!curlcheck_arr((value), struct curl_slist)) \ + _curl_easy_setopt_err_curl_slist(); \ + if((option) == CURLOPT_SHARE) \ + if(!curlcheck_ptr((value), CURLSH)) \ + _curl_easy_setopt_err_CURLSH(); \ + ) \ + } \ + curl_easy_setopt(handle, option, value); \ + }) + +/* wraps curl_easy_getinfo() with typechecking */ +#define curl_easy_getinfo(handle, info, arg) \ + __extension__({ \ + if(__builtin_constant_p(info)) { \ + CURL_IGNORE_DEPRECATION( \ + if(curlcheck_string_info(info)) \ + if(!curlcheck_arr((arg), char *)) \ + _curl_easy_getinfo_err_string(); \ + if(curlcheck_long_info(info)) \ + if(!curlcheck_arr((arg), long)) \ + _curl_easy_getinfo_err_long(); \ + if(curlcheck_double_info(info)) \ + if(!curlcheck_arr((arg), double)) \ + _curl_easy_getinfo_err_double(); \ + if(curlcheck_slist_info(info)) \ + if(!curlcheck_arr((arg), struct curl_slist *)) \ + _curl_easy_getinfo_err_curl_slist(); \ + if(curlcheck_tlssessioninfo_info(info)) \ + if(!curlcheck_arr((arg), struct curl_tlssessioninfo *)) \ + _curl_easy_getinfo_err_curl_tlssessioninfo(); \ + if(curlcheck_certinfo_info(info)) \ + if(!curlcheck_arr((arg), struct curl_certinfo *)) \ + _curl_easy_getinfo_err_curl_certinfo(); \ + if(curlcheck_socket_info(info)) \ + if(!curlcheck_arr((arg), curl_socket_t)) \ + _curl_easy_getinfo_err_curl_socket(); \ + if(curlcheck_off_t_info(info)) \ + if(!curlcheck_arr((arg), curl_off_t)) \ + _curl_easy_getinfo_err_curl_off_t(); \ + ) \ + } \ + curl_easy_getinfo(handle, info, arg); \ + }) + +#define curl_multi_setopt(handle, option, value) \ + __extension__({ \ + if(__builtin_constant_p(option)) { \ + if(curlcheck_long_option(option)) \ + if(!curlcheck_long(value)) \ + _curl_multi_setopt_err_long(); \ + if(curlcheck_off_t_option(option)) \ + if(!curlcheck_off_t(value)) \ + _curl_multi_setopt_err_curl_off_t(); \ + if(curlcheck_multicb_data_option(option)) \ + if(!curlcheck_cb_data(value)) \ + _curl_multi_setopt_err_cb_data(); \ + if(curlcheck_charpp_option(option)) \ + if(!curlcheck_ptrptr(value, char)) \ + _curl_multi_setopt_err_charpp(); \ + if((option) == CURLMOPT_PUSHFUNCTION) \ + if(!curlcheck_multipush_cb(value)) \ + _curl_multi_setopt_err_pushcb(); \ + if((option) == CURLMOPT_SOCKETFUNCTION) \ + if(!curlcheck_multisocket_cb(value)) \ + _curl_multi_setopt_err_socketcb(); \ + if((option) == CURLMOPT_TIMERFUNCTION) \ + if(!curlcheck_multitimer_cb(value)) \ + _curl_multi_setopt_err_timercb(); \ + } \ + curl_multi_setopt(handle, option, value); \ + }) + +/* evaluates to true if the option takes a data argument to pass to a + callback */ +#define curlcheck_multicb_data_option(option) \ + ((option) == CURLMOPT_PUSHDATA || \ + (option) == CURLMOPT_SOCKETDATA || \ + (option) == CURLMOPT_TIMERDATA || \ + 0) + +/* evaluates to true if the option takes a char ** argument */ +#define curlcheck_charpp_option(option) \ + ((option) == CURLMOPT_PIPELINING_SERVER_BL || \ + (option) == CURLMOPT_PIPELINING_SITE_BL || \ + 0) + +/* evaluates to true if expr is of type curl_multi_timer_callback */ +#define curlcheck_multitimer_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_multi_timer_callback)) + +/* evaluates to true if expr is of type curl_socket_callback */ +#define curlcheck_multisocket_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_socket_callback)) + +/* evaluates to true if expr is of type curl_push_callback */ +#define curlcheck_multipush_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_push_callback)) + +/* + * For now, just make sure that the functions are called with three arguments + */ +#define curl_share_setopt(share,opt,param) curl_share_setopt(share,opt,param) + + +/* the actual warnings, triggered by calling the _curl_easy_setopt_err* + * functions */ + +/* To define a new warning, use _CURL_WARNING(identifier, "message") */ +#define CURLWARNING(id, message) \ + static void __attribute__((__warning__(message))) \ + __attribute__((__unused__)) __attribute__((__noinline__)) \ + id(void) { __asm__(""); } + +CURLWARNING(_curl_multi_setopt_err_long, + "curl_multi_setopt expects a long argument") +CURLWARNING(_curl_multi_setopt_err_curl_off_t, + "curl_multi_setopt expects a curl_off_t argument") +CURLWARNING(_curl_multi_setopt_err_cb_data, + "curl_multi_setopt expects a 'void *' argument") +CURLWARNING(_curl_multi_setopt_err_charpp, + "curl_multi_setopt expects a 'char **' argument") +CURLWARNING(_curl_multi_setopt_err_pushcb, + "curl_multi_setopt expects a curl_push_callback argument") +CURLWARNING(_curl_multi_setopt_err_socketcb, + "curl_multi_setopt expects a curl_socket_callback argument") +CURLWARNING(_curl_multi_setopt_err_timercb, + "curl_multi_setopt expects a curl_multi_timer_callback argument") + +CURLWARNING(_curl_easy_setopt_err_long, + "curl_easy_setopt expects a long argument") +CURLWARNING(_curl_easy_setopt_err_curl_off_t, + "curl_easy_setopt expects a curl_off_t argument") +CURLWARNING(_curl_easy_setopt_err_string, + "curl_easy_setopt expects a " + "string ('char *' or char[]) argument") +CURLWARNING(_curl_easy_setopt_err_write_callback, + "curl_easy_setopt expects a curl_write_callback argument") +CURLWARNING(_curl_easy_setopt_err_resolver_start_callback, + "curl_easy_setopt expects a " + "curl_resolver_start_callback argument") +CURLWARNING(_curl_easy_setopt_err_read_cb, + "curl_easy_setopt expects a curl_read_callback argument") +CURLWARNING(_curl_easy_setopt_err_ioctl_cb, + "curl_easy_setopt expects a curl_ioctl_callback argument") +CURLWARNING(_curl_easy_setopt_err_sockopt_cb, + "curl_easy_setopt expects a curl_sockopt_callback argument") +CURLWARNING(_curl_easy_setopt_err_opensocket_cb, + "curl_easy_setopt expects a " + "curl_opensocket_callback argument") +CURLWARNING(_curl_easy_setopt_err_progress_cb, + "curl_easy_setopt expects a curl_progress_callback argument") +CURLWARNING(_curl_easy_setopt_err_xferinfo_cb, + "curl_easy_setopt expects a curl_xferinfo_callback argument") +CURLWARNING(_curl_easy_setopt_err_debug_cb, + "curl_easy_setopt expects a curl_debug_callback argument") +CURLWARNING(_curl_easy_setopt_err_ssl_ctx_cb, + "curl_easy_setopt expects a curl_ssl_ctx_callback argument") +CURLWARNING(_curl_easy_setopt_err_conv_cb, + "curl_easy_setopt expects a curl_conv_callback argument") +CURLWARNING(_curl_easy_setopt_err_seek_cb, + "curl_easy_setopt expects a curl_seek_callback argument") +CURLWARNING(_curl_easy_setopt_err_cb_data, + "curl_easy_setopt expects a " + "private data pointer as argument") +CURLWARNING(_curl_easy_setopt_err_chunk_bgn_cb, + "curl_easy_setopt expects a curl_chunk_bgn_callback argument") +CURLWARNING(_curl_easy_setopt_err_chunk_end_cb, + "curl_easy_setopt expects a curl_chunk_end_callback argument") +CURLWARNING(_curl_easy_setopt_err_close_socket_cb, + "curl_easy_setopt expects a curl_closesocket_callback argument") +CURLWARNING(_curl_easy_setopt_err_fnmatch_cb, + "curl_easy_setopt expects a curl_fnmatch_callback argument") +CURLWARNING(_curl_easy_setopt_err_hstsread_cb, + "curl_easy_setopt expects a curl_hstsread_callback argument") +CURLWARNING(_curl_easy_setopt_err_hstswrite_cb, + "curl_easy_setopt expects a curl_hstswrite_callback argument") +CURLWARNING(_curl_easy_setopt_err_ssh_key_cb, + "curl_easy_setopt expects a curl_sshkeycallback argument") +CURLWARNING(_curl_easy_setopt_err_ssh_hostkey_cb, + "curl_easy_setopt expects a curl_sshhostkeycallback argument") +CURLWARNING(_curl_easy_setopt_err_interleave_cb, + "curl_easy_setopt expects a curl_interleave_callback argument") +CURLWARNING(_curl_easy_setopt_err_prereq_cb, + "curl_easy_setopt expects a curl_prereq_callback argument") +CURLWARNING(_curl_easy_setopt_err_trailer_cb, + "curl_easy_setopt expects a curl_trailerfunc_ok argument") +CURLWARNING(_curl_easy_setopt_err_error_buffer, + "curl_easy_setopt expects a " + "char buffer of CURL_ERROR_SIZE as argument") +CURLWARNING(_curl_easy_setopt_err_curlu, + "curl_easy_setopt expects a 'CURLU *' argument") +CURLWARNING(_curl_easy_setopt_err_curl, + "curl_easy_setopt expects a 'CURL *' argument") +CURLWARNING(_curl_easy_setopt_err_FILE, + "curl_easy_setopt expects a 'FILE *' argument") +CURLWARNING(_curl_easy_setopt_err_postfields, + "curl_easy_setopt expects a 'void *' or 'char *' argument") +CURLWARNING(_curl_easy_setopt_err_curl_httpost, + "curl_easy_setopt expects a 'struct curl_httppost *' " + "argument") +CURLWARNING(_curl_easy_setopt_err_curl_mimepost, + "curl_easy_setopt expects a 'curl_mime *' " + "argument") +CURLWARNING(_curl_easy_setopt_err_curl_slist, + "curl_easy_setopt expects a 'struct curl_slist *' argument") +CURLWARNING(_curl_easy_setopt_err_CURLSH, + "curl_easy_setopt expects a CURLSH* argument") +CURLWARNING(_curl_easy_getinfo_err_string, + "curl_easy_getinfo expects a pointer to 'char *'") +CURLWARNING(_curl_easy_getinfo_err_long, + "curl_easy_getinfo expects a pointer to long") +CURLWARNING(_curl_easy_getinfo_err_double, + "curl_easy_getinfo expects a pointer to double") +CURLWARNING(_curl_easy_getinfo_err_curl_slist, + "curl_easy_getinfo expects a pointer to 'struct curl_slist *'") +CURLWARNING(_curl_easy_getinfo_err_curl_tlssessioninfo, + "curl_easy_getinfo expects a pointer to " + "'struct curl_tlssessioninfo *'") +CURLWARNING(_curl_easy_getinfo_err_curl_certinfo, + "curl_easy_getinfo expects a pointer to " + "'struct curl_certinfo *'") +CURLWARNING(_curl_easy_getinfo_err_curl_socket, + "curl_easy_getinfo expects a pointer to curl_socket_t") +CURLWARNING(_curl_easy_getinfo_err_curl_off_t, + "curl_easy_getinfo expects a pointer to curl_off_t") + +/* groups of curl_easy_setops options that take the same type of argument */ + +/* evaluates to true if option takes a long argument */ +#define curlcheck_long_option(option) \ + (0 < (option) && (option) < CURLOPTTYPE_OBJECTPOINT) + +#define curlcheck_off_t_option(option) \ + (((option) > CURLOPTTYPE_OFF_T) && ((option) < CURLOPTTYPE_BLOB)) + +/* option takes a CURL * argument */ +#define curlcheck_curl_option(option) \ + ((option) == CURLOPT_STREAM_DEPENDS || \ + (option) == CURLOPT_STREAM_DEPENDS_E || \ + 0) + +/* evaluates to true if option takes a char* argument */ +#define curlcheck_string_option(option) \ + ((option) == CURLOPT_ABSTRACT_UNIX_SOCKET || \ + (option) == CURLOPT_ACCEPT_ENCODING || \ + (option) == CURLOPT_ALTSVC || \ + (option) == CURLOPT_CAINFO || \ + (option) == CURLOPT_CAPATH || \ + (option) == CURLOPT_COOKIE || \ + (option) == CURLOPT_COOKIEFILE || \ + (option) == CURLOPT_COOKIEJAR || \ + (option) == CURLOPT_COOKIELIST || \ + (option) == CURLOPT_CRLFILE || \ + (option) == CURLOPT_CUSTOMREQUEST || \ + (option) == CURLOPT_DEFAULT_PROTOCOL || \ + (option) == CURLOPT_DNS_INTERFACE || \ + (option) == CURLOPT_DNS_LOCAL_IP4 || \ + (option) == CURLOPT_DNS_LOCAL_IP6 || \ + (option) == CURLOPT_DNS_SERVERS || \ + (option) == CURLOPT_DOH_URL || \ + (option) == CURLOPT_ECH || \ + (option) == CURLOPT_EGDSOCKET || \ + (option) == CURLOPT_FTP_ACCOUNT || \ + (option) == CURLOPT_FTP_ALTERNATIVE_TO_USER || \ + (option) == CURLOPT_FTPPORT || \ + (option) == CURLOPT_HAPROXY_CLIENT_IP || \ + (option) == CURLOPT_HSTS || \ + (option) == CURLOPT_INTERFACE || \ + (option) == CURLOPT_ISSUERCERT || \ + (option) == CURLOPT_KEYPASSWD || \ + (option) == CURLOPT_KRBLEVEL || \ + (option) == CURLOPT_LOGIN_OPTIONS || \ + (option) == CURLOPT_MAIL_AUTH || \ + (option) == CURLOPT_MAIL_FROM || \ + (option) == CURLOPT_NETRC_FILE || \ + (option) == CURLOPT_NOPROXY || \ + (option) == CURLOPT_PASSWORD || \ + (option) == CURLOPT_PINNEDPUBLICKEY || \ + (option) == CURLOPT_PRE_PROXY || \ + (option) == CURLOPT_PROTOCOLS_STR || \ + (option) == CURLOPT_PROXY || \ + (option) == CURLOPT_PROXY_CAINFO || \ + (option) == CURLOPT_PROXY_CAPATH || \ + (option) == CURLOPT_PROXY_CRLFILE || \ + (option) == CURLOPT_PROXY_ISSUERCERT || \ + (option) == CURLOPT_PROXY_KEYPASSWD || \ + (option) == CURLOPT_PROXY_PINNEDPUBLICKEY || \ + (option) == CURLOPT_PROXY_SERVICE_NAME || \ + (option) == CURLOPT_PROXY_SSL_CIPHER_LIST || \ + (option) == CURLOPT_PROXY_SSLCERT || \ + (option) == CURLOPT_PROXY_SSLCERTTYPE || \ + (option) == CURLOPT_PROXY_SSLKEY || \ + (option) == CURLOPT_PROXY_SSLKEYTYPE || \ + (option) == CURLOPT_PROXY_TLS13_CIPHERS || \ + (option) == CURLOPT_PROXY_TLSAUTH_PASSWORD || \ + (option) == CURLOPT_PROXY_TLSAUTH_TYPE || \ + (option) == CURLOPT_PROXY_TLSAUTH_USERNAME || \ + (option) == CURLOPT_PROXYPASSWORD || \ + (option) == CURLOPT_PROXYUSERNAME || \ + (option) == CURLOPT_PROXYUSERPWD || \ + (option) == CURLOPT_RANDOM_FILE || \ + (option) == CURLOPT_RANGE || \ + (option) == CURLOPT_REDIR_PROTOCOLS_STR || \ + (option) == CURLOPT_REFERER || \ + (option) == CURLOPT_REQUEST_TARGET || \ + (option) == CURLOPT_RTSP_SESSION_ID || \ + (option) == CURLOPT_RTSP_STREAM_URI || \ + (option) == CURLOPT_RTSP_TRANSPORT || \ + (option) == CURLOPT_SASL_AUTHZID || \ + (option) == CURLOPT_SERVICE_NAME || \ + (option) == CURLOPT_SOCKS5_GSSAPI_SERVICE || \ + (option) == CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 || \ + (option) == CURLOPT_SSH_HOST_PUBLIC_KEY_SHA256 || \ + (option) == CURLOPT_SSH_KNOWNHOSTS || \ + (option) == CURLOPT_SSH_PRIVATE_KEYFILE || \ + (option) == CURLOPT_SSH_PUBLIC_KEYFILE || \ + (option) == CURLOPT_SSLCERT || \ + (option) == CURLOPT_SSLCERTTYPE || \ + (option) == CURLOPT_SSLENGINE || \ + (option) == CURLOPT_SSLKEY || \ + (option) == CURLOPT_SSLKEYTYPE || \ + (option) == CURLOPT_SSL_CIPHER_LIST || \ + (option) == CURLOPT_SSL_EC_CURVES || \ + (option) == CURLOPT_SSL_SIGNATURE_ALGORITHMS || \ + (option) == CURLOPT_TLS13_CIPHERS || \ + (option) == CURLOPT_TLSAUTH_PASSWORD || \ + (option) == CURLOPT_TLSAUTH_TYPE || \ + (option) == CURLOPT_TLSAUTH_USERNAME || \ + (option) == CURLOPT_UNIX_SOCKET_PATH || \ + (option) == CURLOPT_URL || \ + (option) == CURLOPT_USERAGENT || \ + (option) == CURLOPT_USERNAME || \ + (option) == CURLOPT_AWS_SIGV4 || \ + (option) == CURLOPT_USERPWD || \ + (option) == CURLOPT_XOAUTH2_BEARER || \ + 0) + +/* evaluates to true if option takes a curl_write_callback argument */ +#define curlcheck_write_cb_option(option) \ + ((option) == CURLOPT_HEADERFUNCTION || \ + (option) == CURLOPT_WRITEFUNCTION) + +/* evaluates to true if option takes a curl_conv_callback argument */ +#define curlcheck_conv_cb_option(option) \ + ((option) == CURLOPT_CONV_TO_NETWORK_FUNCTION || \ + (option) == CURLOPT_CONV_FROM_NETWORK_FUNCTION || \ + (option) == CURLOPT_CONV_FROM_UTF8_FUNCTION) + +/* evaluates to true if option takes a data argument to pass to a callback */ +#define curlcheck_cb_data_option(option) \ + ((option) == CURLOPT_CHUNK_DATA || \ + (option) == CURLOPT_CLOSESOCKETDATA || \ + (option) == CURLOPT_DEBUGDATA || \ + (option) == CURLOPT_FNMATCH_DATA || \ + (option) == CURLOPT_HEADERDATA || \ + (option) == CURLOPT_HSTSREADDATA || \ + (option) == CURLOPT_HSTSWRITEDATA || \ + (option) == CURLOPT_INTERLEAVEDATA || \ + (option) == CURLOPT_IOCTLDATA || \ + (option) == CURLOPT_OPENSOCKETDATA || \ + (option) == CURLOPT_PREREQDATA || \ + (option) == CURLOPT_XFERINFODATA || \ + (option) == CURLOPT_READDATA || \ + (option) == CURLOPT_SEEKDATA || \ + (option) == CURLOPT_SOCKOPTDATA || \ + (option) == CURLOPT_SSH_KEYDATA || \ + (option) == CURLOPT_SSL_CTX_DATA || \ + (option) == CURLOPT_WRITEDATA || \ + (option) == CURLOPT_RESOLVER_START_DATA || \ + (option) == CURLOPT_TRAILERDATA || \ + (option) == CURLOPT_SSH_HOSTKEYDATA || \ + 0) + +/* evaluates to true if option takes a POST data argument (void* or char*) */ +#define curlcheck_postfields_option(option) \ + ((option) == CURLOPT_POSTFIELDS || \ + (option) == CURLOPT_COPYPOSTFIELDS || \ + 0) + +/* evaluates to true if option takes a struct curl_slist * argument */ +#define curlcheck_slist_option(option) \ + ((option) == CURLOPT_HTTP200ALIASES || \ + (option) == CURLOPT_HTTPHEADER || \ + (option) == CURLOPT_MAIL_RCPT || \ + (option) == CURLOPT_POSTQUOTE || \ + (option) == CURLOPT_PREQUOTE || \ + (option) == CURLOPT_PROXYHEADER || \ + (option) == CURLOPT_QUOTE || \ + (option) == CURLOPT_RESOLVE || \ + (option) == CURLOPT_TELNETOPTIONS || \ + (option) == CURLOPT_CONNECT_TO || \ + 0) + +/* groups of curl_easy_getinfo infos that take the same type of argument */ + +/* evaluates to true if info expects a pointer to char * argument */ +#define curlcheck_string_info(info) \ + (CURLINFO_STRING < (info) && (info) < CURLINFO_LONG && \ + (info) != CURLINFO_PRIVATE) + +/* evaluates to true if info expects a pointer to long argument */ +#define curlcheck_long_info(info) \ + (CURLINFO_LONG < (info) && (info) < CURLINFO_DOUBLE) + +/* evaluates to true if info expects a pointer to double argument */ +#define curlcheck_double_info(info) \ + (CURLINFO_DOUBLE < (info) && (info) < CURLINFO_SLIST) + +/* true if info expects a pointer to struct curl_slist * argument */ +#define curlcheck_slist_info(info) \ + (((info) == CURLINFO_SSL_ENGINES) || ((info) == CURLINFO_COOKIELIST)) + +/* true if info expects a pointer to struct curl_tlssessioninfo * argument */ +#define curlcheck_tlssessioninfo_info(info) \ + (((info) == CURLINFO_TLS_SSL_PTR) || ((info) == CURLINFO_TLS_SESSION)) + +/* true if info expects a pointer to struct curl_certinfo * argument */ +#define curlcheck_certinfo_info(info) ((info) == CURLINFO_CERTINFO) + +/* true if info expects a pointer to struct curl_socket_t argument */ +#define curlcheck_socket_info(info) \ + (CURLINFO_SOCKET < (info) && (info) < CURLINFO_OFF_T) + +/* true if info expects a pointer to curl_off_t argument */ +#define curlcheck_off_t_info(info) \ + (CURLINFO_OFF_T < (info)) + + +/* typecheck helpers -- check whether given expression has requested type */ + +/* For pointers, you can use the curlcheck_ptr/curlcheck_arr macros, + * otherwise define a new macro. Search for __builtin_types_compatible_p + * in the GCC manual. + * NOTE: these macros MUST NOT EVALUATE their arguments! The argument is + * the actual expression passed to the curl_easy_setopt macro. This + * means that you can only apply the sizeof and __typeof__ operators, no + * == or whatsoever. + */ + +/* XXX: should evaluate to true if expr is a pointer */ +#define curlcheck_any_ptr(expr) \ + (sizeof(expr) == sizeof(void *)) + +/* evaluates to true if expr is NULL */ +/* XXX: must not evaluate expr, so this check is not accurate */ +#define curlcheck_NULL(expr) \ + (__builtin_types_compatible_p(__typeof__(expr), __typeof__(NULL))) + +/* evaluates to true if expr is type*, const type* or NULL */ +#define curlcheck_ptr(expr, type) \ + (curlcheck_NULL(expr) || \ + __builtin_types_compatible_p(__typeof__(expr), type *) || \ + __builtin_types_compatible_p(__typeof__(expr), const type *)) + +/* evaluates to true if expr is type**, const type** or NULL */ +#define curlcheck_ptrptr(expr, type) \ + (curlcheck_NULL(expr) || \ + __builtin_types_compatible_p(__typeof__(expr), type **) || \ + __builtin_types_compatible_p(__typeof__(expr), type *[]) || \ + __builtin_types_compatible_p(__typeof__(expr), const type *[]) || \ + __builtin_types_compatible_p(__typeof__(expr), const type **)) + +/* evaluates to true if expr is one of type[], type*, NULL or const type* */ +#define curlcheck_arr(expr, type) \ + (curlcheck_ptr((expr), type) || \ + __builtin_types_compatible_p(__typeof__(expr), type [])) + +/* evaluates to true if expr is a string */ +#define curlcheck_string(expr) \ + (curlcheck_arr((expr), char) || \ + curlcheck_arr((expr), signed char) || \ + curlcheck_arr((expr), unsigned char)) + +/* evaluates to true if expr is a CURL * */ +#define curlcheck_curl(expr) \ + (curlcheck_NULL(expr) || \ + __builtin_types_compatible_p(__typeof__(expr), CURL *)) + + +/* evaluates to true if expr is a long (no matter the signedness) + * XXX: for now, int is also accepted (and therefore short and char, which + * are promoted to int when passed to a variadic function) */ +#define curlcheck_long(expr) \ + ( \ + ((sizeof(long) != sizeof(int)) && \ + (__builtin_types_compatible_p(__typeof__(expr), long) || \ + __builtin_types_compatible_p(__typeof__(expr), signed long) || \ + __builtin_types_compatible_p(__typeof__(expr), unsigned long))) \ + || \ + ((sizeof(long) == sizeof(int)) && \ + (__builtin_types_compatible_p(__typeof__(expr), long) || \ + __builtin_types_compatible_p(__typeof__(expr), signed long) || \ + __builtin_types_compatible_p(__typeof__(expr), unsigned long) || \ + __builtin_types_compatible_p(__typeof__(expr), int) || \ + __builtin_types_compatible_p(__typeof__(expr), signed int) || \ + __builtin_types_compatible_p(__typeof__(expr), unsigned int) || \ + __builtin_types_compatible_p(__typeof__(expr), short) || \ + __builtin_types_compatible_p(__typeof__(expr), signed short) || \ + __builtin_types_compatible_p(__typeof__(expr), unsigned short) || \ + __builtin_types_compatible_p(__typeof__(expr), char) || \ + __builtin_types_compatible_p(__typeof__(expr), signed char) || \ + __builtin_types_compatible_p(__typeof__(expr), unsigned char))) \ + ) + +/* evaluates to true if expr is of type curl_off_t */ +#define curlcheck_off_t(expr) \ + (__builtin_types_compatible_p(__typeof__(expr), curl_off_t)) + +/* evaluates to true if expr is abuffer suitable for CURLOPT_ERRORBUFFER */ +/* XXX: also check size of an char[] array? */ +#define curlcheck_error_buffer(expr) \ + (curlcheck_NULL(expr) || \ + __builtin_types_compatible_p(__typeof__(expr), char *) || \ + __builtin_types_compatible_p(__typeof__(expr), char[])) + +/* evaluates to true if expr is of type (const) void* or (const) FILE* */ +#if 0 +#define curlcheck_cb_data(expr) \ + (curlcheck_ptr((expr), void) || \ + curlcheck_ptr((expr), FILE)) +#else /* be less strict */ +#define curlcheck_cb_data(expr) \ + curlcheck_any_ptr(expr) +#endif + +/* evaluates to true if expr is of type FILE* */ +#define curlcheck_FILE(expr) \ + (curlcheck_NULL(expr) || \ + (__builtin_types_compatible_p(__typeof__(expr), FILE *))) + +/* evaluates to true if expr can be passed as POST data (void* or char*) */ +#define curlcheck_postfields(expr) \ + (curlcheck_ptr((expr), void) || \ + curlcheck_arr((expr), char) || \ + curlcheck_arr((expr), unsigned char)) + +/* helper: __builtin_types_compatible_p distinguishes between functions and + * function pointers, hide it */ +#define curlcheck_cb_compatible(func, type) \ + (__builtin_types_compatible_p(__typeof__(func), type) || \ + __builtin_types_compatible_p(__typeof__(func) *, type)) + +/* evaluates to true if expr is of type curl_resolver_start_callback */ +#define curlcheck_resolver_start_callback(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_resolver_start_callback)) + +/* evaluates to true if expr is of type curl_read_callback or "similar" */ +#define curlcheck_read_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), __typeof__(fread) *) || \ + curlcheck_cb_compatible((expr), curl_read_callback) || \ + curlcheck_cb_compatible((expr), _curl_read_callback1) || \ + curlcheck_cb_compatible((expr), _curl_read_callback2) || \ + curlcheck_cb_compatible((expr), _curl_read_callback3) || \ + curlcheck_cb_compatible((expr), _curl_read_callback4) || \ + curlcheck_cb_compatible((expr), _curl_read_callback5) || \ + curlcheck_cb_compatible((expr), _curl_read_callback6)) +typedef size_t (*_curl_read_callback1)(char *, size_t, size_t, void *); +typedef size_t (*_curl_read_callback2)(char *, size_t, size_t, const void *); +typedef size_t (*_curl_read_callback3)(char *, size_t, size_t, FILE *); +typedef size_t (*_curl_read_callback4)(void *, size_t, size_t, void *); +typedef size_t (*_curl_read_callback5)(void *, size_t, size_t, const void *); +typedef size_t (*_curl_read_callback6)(void *, size_t, size_t, FILE *); + +/* evaluates to true if expr is of type curl_write_callback or "similar" */ +#define curlcheck_write_cb(expr) \ + (curlcheck_read_cb(expr) || \ + curlcheck_cb_compatible((expr), __typeof__(fwrite) *) || \ + curlcheck_cb_compatible((expr), curl_write_callback) || \ + curlcheck_cb_compatible((expr), _curl_write_callback1) || \ + curlcheck_cb_compatible((expr), _curl_write_callback2) || \ + curlcheck_cb_compatible((expr), _curl_write_callback3) || \ + curlcheck_cb_compatible((expr), _curl_write_callback4) || \ + curlcheck_cb_compatible((expr), _curl_write_callback5) || \ + curlcheck_cb_compatible((expr), _curl_write_callback6)) +typedef size_t (*_curl_write_callback1)(const char *, size_t, size_t, void *); +typedef size_t (*_curl_write_callback2)(const char *, size_t, size_t, + const void *); +typedef size_t (*_curl_write_callback3)(const char *, size_t, size_t, FILE *); +typedef size_t (*_curl_write_callback4)(const void *, size_t, size_t, void *); +typedef size_t (*_curl_write_callback5)(const void *, size_t, size_t, + const void *); +typedef size_t (*_curl_write_callback6)(const void *, size_t, size_t, FILE *); + +/* evaluates to true if expr is of type curl_ioctl_callback or "similar" */ +#define curlcheck_ioctl_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_ioctl_callback) || \ + curlcheck_cb_compatible((expr), _curl_ioctl_callback1) || \ + curlcheck_cb_compatible((expr), _curl_ioctl_callback2) || \ + curlcheck_cb_compatible((expr), _curl_ioctl_callback3) || \ + curlcheck_cb_compatible((expr), _curl_ioctl_callback4)) +typedef curlioerr (*_curl_ioctl_callback1)(CURL *, int, void *); +typedef curlioerr (*_curl_ioctl_callback2)(CURL *, int, const void *); +typedef curlioerr (*_curl_ioctl_callback3)(CURL *, curliocmd, void *); +typedef curlioerr (*_curl_ioctl_callback4)(CURL *, curliocmd, const void *); + +/* evaluates to true if expr is of type curl_sockopt_callback or "similar" */ +#define curlcheck_sockopt_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_sockopt_callback) || \ + curlcheck_cb_compatible((expr), _curl_sockopt_callback1) || \ + curlcheck_cb_compatible((expr), _curl_sockopt_callback2)) +typedef int (*_curl_sockopt_callback1)(void *, curl_socket_t, curlsocktype); +typedef int (*_curl_sockopt_callback2)(const void *, curl_socket_t, + curlsocktype); + +/* evaluates to true if expr is of type curl_opensocket_callback or + "similar" */ +#define curlcheck_opensocket_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_opensocket_callback) || \ + curlcheck_cb_compatible((expr), _curl_opensocket_callback1) || \ + curlcheck_cb_compatible((expr), _curl_opensocket_callback2) || \ + curlcheck_cb_compatible((expr), _curl_opensocket_callback3) || \ + curlcheck_cb_compatible((expr), _curl_opensocket_callback4)) +typedef curl_socket_t (*_curl_opensocket_callback1) + (void *, curlsocktype, struct curl_sockaddr *); +typedef curl_socket_t (*_curl_opensocket_callback2) + (void *, curlsocktype, const struct curl_sockaddr *); +typedef curl_socket_t (*_curl_opensocket_callback3) + (const void *, curlsocktype, struct curl_sockaddr *); +typedef curl_socket_t (*_curl_opensocket_callback4) + (const void *, curlsocktype, const struct curl_sockaddr *); + +/* evaluates to true if expr is of type curl_progress_callback or "similar" */ +#define curlcheck_progress_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_progress_callback) || \ + curlcheck_cb_compatible((expr), _curl_progress_callback1) || \ + curlcheck_cb_compatible((expr), _curl_progress_callback2)) +typedef int (*_curl_progress_callback1)(void *, + double, double, double, double); +typedef int (*_curl_progress_callback2)(const void *, + double, double, double, double); + +/* evaluates to true if expr is of type curl_xferinfo_callback */ +#define curlcheck_xferinfo_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_xferinfo_callback)) + +/* evaluates to true if expr is of type curl_debug_callback or "similar" */ +#define curlcheck_debug_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_debug_callback) || \ + curlcheck_cb_compatible((expr), _curl_debug_callback1) || \ + curlcheck_cb_compatible((expr), _curl_debug_callback2) || \ + curlcheck_cb_compatible((expr), _curl_debug_callback3) || \ + curlcheck_cb_compatible((expr), _curl_debug_callback4) || \ + curlcheck_cb_compatible((expr), _curl_debug_callback5) || \ + curlcheck_cb_compatible((expr), _curl_debug_callback6) || \ + curlcheck_cb_compatible((expr), _curl_debug_callback7) || \ + curlcheck_cb_compatible((expr), _curl_debug_callback8)) +typedef int (*_curl_debug_callback1) (CURL *, + curl_infotype, char *, size_t, void *); +typedef int (*_curl_debug_callback2) (CURL *, + curl_infotype, char *, size_t, const void *); +typedef int (*_curl_debug_callback3) (CURL *, + curl_infotype, const char *, size_t, void *); +typedef int (*_curl_debug_callback4) (CURL *, + curl_infotype, const char *, size_t, const void *); +typedef int (*_curl_debug_callback5) (CURL *, + curl_infotype, unsigned char *, size_t, void *); +typedef int (*_curl_debug_callback6) (CURL *, + curl_infotype, unsigned char *, size_t, const void *); +typedef int (*_curl_debug_callback7) (CURL *, + curl_infotype, const unsigned char *, size_t, void *); +typedef int (*_curl_debug_callback8) (CURL *, + curl_infotype, const unsigned char *, size_t, const void *); + +/* evaluates to true if expr is of type curl_ssl_ctx_callback or "similar" */ +/* this is getting even messier... */ +#define curlcheck_ssl_ctx_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_ssl_ctx_callback) || \ + curlcheck_cb_compatible((expr), _curl_ssl_ctx_callback1) || \ + curlcheck_cb_compatible((expr), _curl_ssl_ctx_callback2) || \ + curlcheck_cb_compatible((expr), _curl_ssl_ctx_callback3) || \ + curlcheck_cb_compatible((expr), _curl_ssl_ctx_callback4) || \ + curlcheck_cb_compatible((expr), _curl_ssl_ctx_callback5) || \ + curlcheck_cb_compatible((expr), _curl_ssl_ctx_callback6) || \ + curlcheck_cb_compatible((expr), _curl_ssl_ctx_callback7) || \ + curlcheck_cb_compatible((expr), _curl_ssl_ctx_callback8)) +typedef CURLcode (*_curl_ssl_ctx_callback1)(CURL *, void *, void *); +typedef CURLcode (*_curl_ssl_ctx_callback2)(CURL *, void *, const void *); +typedef CURLcode (*_curl_ssl_ctx_callback3)(CURL *, const void *, void *); +typedef CURLcode (*_curl_ssl_ctx_callback4)(CURL *, const void *, + const void *); +#ifdef HEADER_SSL_H +/* hack: if we included OpenSSL's ssl.h, we know about SSL_CTX + * this will of course break if we are included before OpenSSL headers... + */ +typedef CURLcode (*_curl_ssl_ctx_callback5)(CURL *, SSL_CTX *, void *); +typedef CURLcode (*_curl_ssl_ctx_callback6)(CURL *, SSL_CTX *, const void *); +typedef CURLcode (*_curl_ssl_ctx_callback7)(CURL *, const SSL_CTX *, void *); +typedef CURLcode (*_curl_ssl_ctx_callback8)(CURL *, const SSL_CTX *, + const void *); +#else +typedef _curl_ssl_ctx_callback1 _curl_ssl_ctx_callback5; +typedef _curl_ssl_ctx_callback1 _curl_ssl_ctx_callback6; +typedef _curl_ssl_ctx_callback1 _curl_ssl_ctx_callback7; +typedef _curl_ssl_ctx_callback1 _curl_ssl_ctx_callback8; +#endif + +/* evaluates to true if expr is of type curl_conv_callback or "similar" */ +#define curlcheck_conv_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_conv_callback) || \ + curlcheck_cb_compatible((expr), _curl_conv_callback1) || \ + curlcheck_cb_compatible((expr), _curl_conv_callback2) || \ + curlcheck_cb_compatible((expr), _curl_conv_callback3) || \ + curlcheck_cb_compatible((expr), _curl_conv_callback4)) +typedef CURLcode (*_curl_conv_callback1)(char *, size_t length); +typedef CURLcode (*_curl_conv_callback2)(const char *, size_t length); +typedef CURLcode (*_curl_conv_callback3)(void *, size_t length); +typedef CURLcode (*_curl_conv_callback4)(const void *, size_t length); + +/* evaluates to true if expr is of type curl_seek_callback or "similar" */ +#define curlcheck_seek_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_seek_callback) || \ + curlcheck_cb_compatible((expr), _curl_seek_callback1) || \ + curlcheck_cb_compatible((expr), _curl_seek_callback2)) +typedef CURLcode (*_curl_seek_callback1)(void *, curl_off_t, int); +typedef CURLcode (*_curl_seek_callback2)(const void *, curl_off_t, int); + +/* evaluates to true if expr is of type curl_chunk_bgn_callback */ +#define curlcheck_chunk_bgn_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_chunk_bgn_callback) || \ + curlcheck_cb_compatible((expr), _curl_chunk_bgn_callback1) || \ + curlcheck_cb_compatible((expr), _curl_chunk_bgn_callback2)) +typedef long (*_curl_chunk_bgn_callback1)(struct curl_fileinfo *, + void *, int); +typedef long (*_curl_chunk_bgn_callback2)(void *, void *, int); + +/* evaluates to true if expr is of type curl_chunk_end_callback */ +#define curlcheck_chunk_end_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_chunk_end_callback)) + +/* evaluates to true if expr is of type curl_closesocket_callback */ +#define curlcheck_close_socket_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_closesocket_callback)) + +/* evaluates to true if expr is of type curl_fnmatch_callback */ +#define curlcheck_fnmatch_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_fnmatch_callback)) + +/* evaluates to true if expr is of type curl_hstsread_callback */ +#define curlcheck_hstsread_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_hstsread_callback)) + +/* evaluates to true if expr is of type curl_hstswrite_callback */ +#define curlcheck_hstswrite_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_hstswrite_callback)) + +/* evaluates to true if expr is of type curl_sshhostkeycallback */ +#define curlcheck_ssh_hostkey_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_sshhostkeycallback)) + +/* evaluates to true if expr is of type curl_sshkeycallback */ +#define curlcheck_ssh_key_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_sshkeycallback)) + +/* evaluates to true if expr is of type curl_interleave_callback */ +#define curlcheck_interleave_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), _curl_interleave_callback1) || \ + curlcheck_cb_compatible((expr), _curl_interleave_callback2)) +typedef size_t (*_curl_interleave_callback1)(void *p, size_t s, + size_t n, void *u); +typedef size_t (*_curl_interleave_callback2)(char *p, size_t s, + size_t n, void *u); + +/* evaluates to true if expr is of type curl_prereq_callback */ +#define curlcheck_prereq_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_prereq_callback)) + +/* evaluates to true if expr is of type curl_trailer_callback */ +#define curlcheck_trailer_cb(expr) \ + (curlcheck_NULL(expr) || \ + curlcheck_cb_compatible((expr), curl_trailer_callback)) + +#endif /* CURLINC_TYPECHECK_GCC_H */ diff --git a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/urlapi.h b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/urlapi.h index e5e63d1..bc691b8 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/urlapi.h +++ b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/urlapi.h @@ -26,7 +26,7 @@ #include "curl.h" -#ifdef __cplusplus +#ifdef __cplusplus extern "C" { #endif @@ -97,11 +97,12 @@ typedef enum { #define CURLU_NO_AUTHORITY (1<<10) /* Allow empty authority when the scheme is unknown. */ #define CURLU_ALLOW_SPACE (1<<11) /* Allow spaces in the URL */ -#define CURLU_PUNYCODE (1<<12) /* get the host name in punycode */ +#define CURLU_PUNYCODE (1<<12) /* get the hostname in punycode */ #define CURLU_PUNY2IDN (1<<13) /* punycode => IDN conversion */ #define CURLU_GET_EMPTY (1<<14) /* allow empty queries and fragments when extracting the URL or the components */ +#define CURLU_NO_GUESS_SCHEME (1<<15) /* for get, do not accept a guess */ typedef struct Curl_URL CURLU; @@ -142,8 +143,8 @@ CURL_EXTERN CURLUcode curl_url_set(CURLU *handle, CURLUPart what, /* * curl_url_strerror() turns a CURLUcode value into the equivalent human - * readable error string. This is useful for printing meaningful error - * messaHuL. + * readable error string. This is useful for printing meaningful error + * messaJNx. */ CURL_EXTERN const char *curl_url_strerror(CURLUcode); diff --git a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/websockets.h b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/websockets.h index 6ef6a2b..df8590f 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/websockets.h +++ b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/websockets.h @@ -24,7 +24,7 @@ * ***************************************************************************/ -#ifdef __cplusplus +#ifdef __cplusplus extern "C" { #endif @@ -72,12 +72,26 @@ CURL_EXTERN CURLcode curl_ws_send(CURL *curl, const void *buffer, curl_off_t fragsize, unsigned int flags); +/* + * NAME curl_ws_start_frame() + * + * DESCRIPTION + * + * Buffers a websocket frame header with the given flags and length. + * Errors when a previous frame is not complete, e.g. not all its + * payload has been added. + */ +CURL_EXTERN CURLcode curl_ws_start_frame(CURL *curl, + unsigned int flags, + curl_off_t frame_len); + /* bits for the CURLOPT_WS_OPTIONS bitmask: */ -#define CURLWS_RAW_MODE (1<<0) +#define CURLWS_RAW_MODE (1L<<0) +#define CURLWS_NOAUTOPONG (1L<<1) CURL_EXTERN const struct curl_ws_frame *curl_ws_meta(CURL *curl); -#ifdef __cplusplus +#ifdef __cplusplus } #endif diff --git a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Info.plist b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Info.plist index 54c41c6..c8aac1c 100644 Binary files a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Info.plist and b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Info.plist differ diff --git a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.abi.json b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.abi.json index 96e17c9..4fb4a2e 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.abi.json +++ b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.abi.json @@ -252,6 +252,41 @@ "AccessControl" ] }, + { + "kind": "TypeDecl", + "name": "RaspExecutionState", + "printedName": "RaspExecutionState", + "children": [ + { + "kind": "Function", + "name": "onAllChecksFinished", + "printedName": "onAllChecksFinished()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:13TalsecRuntime18RaspExecutionStateP19onAllChecksFinishedyyF", + "mangledName": "$s13TalsecRuntime18RaspExecutionStateP19onAllChecksFinishedyyF", + "moduleName": "TalsecRuntime", + "genericSig": "<τ_0_0 where τ_0_0 : TalsecRuntime.RaspExecutionState>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:13TalsecRuntime18RaspExecutionStateP", + "mangledName": "$s13TalsecRuntime18RaspExecutionStateP", + "moduleName": "TalsecRuntime", + "declAttributes": [ + "AccessControl" + ] + }, { "kind": "TypeDecl", "name": "SecurityThreatCenter", @@ -2476,1003 +2511,1003 @@ }, "ConstValues": [ { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 243, "length": 13, "value": "\"development\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 279, "length": 12, "value": "\"production\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 312, "length": 10, "value": "\"disabled\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 243, "length": 13, "value": "\"development\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 279, "length": 12, "value": "\"production\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 312, "length": 10, "value": "\"disabled\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 575, "length": 24, "value": "\"keychain-access-groups\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 628, "length": 16, "value": "\"get-task-allow\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 675, "length": 17, "value": "\"aps-environment\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 722, "length": 24, "value": "\"application-identifier\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 575, "length": 24, "value": "\"keychain-access-groups\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 628, "length": 16, "value": "\"get-task-allow\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 675, "length": 17, "value": "\"aps-environment\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 722, "length": 24, "value": "\"application-identifier\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "BooleanLiteral", "offset": 1994, "length": 5, "value": "false" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2227, "length": 6, "value": "\"Name\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2259, "length": 11, "value": "\"AppIDName\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2296, "length": 29, "value": "\"ApplicationIdentifierPrefix\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2350, "length": 10, "value": "\"TeamName\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2392, "length": 16, "value": "\"TeamIdentifier\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2433, "length": 10, "value": "\"Platform\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2474, "length": 16, "value": "\"IsXcodeManaged\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2519, "length": 14, "value": "\"CreationDate\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2564, "length": 16, "value": "\"ExpirationDate\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2607, "length": 12, "value": "\"TimeToLive\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2640, "length": 6, "value": "\"UUID\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2670, "length": 9, "value": "\"Version\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2708, "length": 14, "value": "\"Entitlements\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2227, "length": 6, "value": "\"Name\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2259, "length": 11, "value": "\"AppIDName\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2296, "length": 29, "value": "\"ApplicationIdentifierPrefix\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2350, "length": 10, "value": "\"TeamName\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2392, "length": 16, "value": "\"TeamIdentifier\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2433, "length": 10, "value": "\"Platform\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2474, "length": 16, "value": "\"IsXcodeManaged\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2519, "length": 14, "value": "\"CreationDate\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2564, "length": 16, "value": "\"ExpirationDate\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2607, "length": 12, "value": "\"TimeToLive\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2640, "length": 6, "value": "\"UUID\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2670, "length": 9, "value": "\"Version\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2708, "length": 14, "value": "\"Entitlements\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/DynamicConfiguration\/DefaultConfig.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/DynamicConfiguration\/DefaultConfig.swift", "kind": "Array", "offset": 375, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/DynamicConfiguration\/DefaultConfig.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/DynamicConfiguration\/DefaultConfig.swift", "kind": "StringLiteral", "offset": 415, "length": 2, "value": "\"\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/DynamicConfiguration\/DefaultConfig.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/DynamicConfiguration\/DefaultConfig.swift", "kind": "BooleanLiteral", "offset": 491, "length": 4, "value": "true" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 471, "length": 11, "value": "\"osVersion\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 511, "length": 14, "value": "\"manufacturer\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 547, "length": 7, "value": "\"model\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 471, "length": 11, "value": "\"osVersion\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 511, "length": 14, "value": "\"manufacturer\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 547, "length": 7, "value": "\"model\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 753, "length": 10, "value": "\"security\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 790, "length": 12, "value": "\"biometrics\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 835, "length": 18, "value": "\"hwBackedKeychain\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 753, "length": 10, "value": "\"security\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 790, "length": 12, "value": "\"biometrics\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 835, "length": 18, "value": "\"hwBackedKeychain\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 1430, "length": 18, "value": "\"endOfGracePeriod\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 1430, "length": 18, "value": "\"endOfGracePeriod\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 1874, "length": 15, "value": "\"appIdentifier\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 1916, "length": 12, "value": "\"appVersion\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 1874, "length": 15, "value": "\"appIdentifier\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 1916, "length": 12, "value": "\"appVersion\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 5957, "length": 5, "value": "\"iOS\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 6394, "length": 7, "value": "\"en_US\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 6873, "length": 3, "value": "\".\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 6923, "length": 2, "value": "\"\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7146, "length": 12, "value": "\"instanceId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7182, "length": 9, "value": "\"eventId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7218, "length": 12, "value": "\"deviceInfo\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7258, "length": 13, "value": "\"deviceState\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7295, "length": 9, "value": "\"appInfo\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7329, "length": 10, "value": "\"platform\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7365, "length": 11, "value": "\"occurence\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7407, "length": 16, "value": "\"incidentReport\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7446, "length": 8, "value": "\"checks\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7481, "length": 12, "value": "\"externalId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7519, "length": 11, "value": "\"sessionId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7555, "length": 10, "value": "\"deviceId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7592, "length": 12, "value": "\"sdkVersion\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7632, "length": 13, "value": "\"sdkPlatform\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7675, "length": 15, "value": "\"sdkIdentifier\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7146, "length": 12, "value": "\"instanceId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7182, "length": 9, "value": "\"eventId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7218, "length": 12, "value": "\"deviceInfo\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7258, "length": 13, "value": "\"deviceState\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7295, "length": 9, "value": "\"appInfo\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7329, "length": 10, "value": "\"platform\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7365, "length": 11, "value": "\"occurence\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7407, "length": 16, "value": "\"incidentReport\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7446, "length": 8, "value": "\"checks\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7481, "length": 12, "value": "\"externalId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7519, "length": 11, "value": "\"sessionId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7555, "length": 10, "value": "\"deviceId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7592, "length": 12, "value": "\"sdkVersion\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7632, "length": 13, "value": "\"sdkPlatform\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7675, "length": 15, "value": "\"sdkIdentifier\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 413, "length": 5, "value": "\"iOS\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 927, "length": 7, "value": "\"en_US\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1182, "length": 12, "value": "\"instanceId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1218, "length": 9, "value": "\"eventId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1254, "length": 12, "value": "\"sdkVersion\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1291, "length": 10, "value": "\"platform\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1329, "length": 13, "value": "\"sdkPlatform\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1369, "length": 12, "value": "\"deviceInfo\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1409, "length": 13, "value": "\"deviceState\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1448, "length": 11, "value": "\"occurence\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1482, "length": 8, "value": "\"checks\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1515, "length": 10, "value": "\"deviceId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1552, "length": 12, "value": "\"externalId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1590, "length": 11, "value": "\"licensing\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1182, "length": 12, "value": "\"instanceId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1218, "length": 9, "value": "\"eventId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1254, "length": 12, "value": "\"sdkVersion\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1291, "length": 10, "value": "\"platform\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1329, "length": 13, "value": "\"sdkPlatform\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1369, "length": 12, "value": "\"deviceInfo\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1409, "length": 13, "value": "\"deviceState\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1448, "length": 11, "value": "\"occurence\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1482, "length": 8, "value": "\"checks\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1515, "length": 10, "value": "\"deviceId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1552, "length": 12, "value": "\"externalId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1590, "length": 11, "value": "\"licensing\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/ScreenCapture\/ScreenCaptureReportRateLimiter.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/ScreenCapture\/ScreenCaptureReportRateLimiter.swift", "kind": "IntegerLiteral", "offset": 253, "length": 2, "value": "10" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Check.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Check.swift", "kind": "StringLiteral", "offset": 539, "length": 8, "value": "\"status\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Check.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Check.swift", "kind": "StringLiteral", "offset": 570, "length": 8, "value": "\"timeMs\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Check.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Check.swift", "kind": "StringLiteral", "offset": 539, "length": 8, "value": "\"status\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Check.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Check.swift", "kind": "StringLiteral", "offset": 570, "length": 8, "value": "\"timeMs\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/FreeRASP\/TalsecRunner.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/FreeRASP\/TalsecRunner.swift", "kind": "BooleanLiteral", "offset": 477, "length": 4, "value": "true" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", "kind": "StringLiteral", "offset": 289, "length": 14, "value": "\"appIntegrity\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", "kind": "StringLiteral", "offset": 382, "length": 18, "value": "\"privilegedAccess\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", "kind": "StringLiteral", "offset": 456, "length": 7, "value": "\"debug\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", "kind": "StringLiteral", "offset": 562, "length": 7, "value": "\"hooks\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", "kind": "StringLiteral", "offset": 909, "length": 15, "value": "\"deviceBinding\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", "kind": "StringLiteral", "offset": 289, "length": 14, "value": "\"appIntegrity\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", "kind": "StringLiteral", "offset": 382, "length": 18, "value": "\"privilegedAccess\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", "kind": "StringLiteral", "offset": 456, "length": 7, "value": "\"debug\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", "kind": "StringLiteral", "offset": 562, "length": 7, "value": "\"hooks\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", "kind": "StringLiteral", "offset": 909, "length": 15, "value": "\"deviceBinding\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/TalsecRuntime.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/TalsecRuntime.swift", "kind": "Dictionary", "offset": 605, "length": 3, "value": "[]" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/TalsecRuntime.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/TalsecRuntime.swift", "kind": "Dictionary", "offset": 682, "length": 3, "value": "[]" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/TalsecRuntime.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/TalsecRuntime.swift", "kind": "BooleanLiteral", - "offset": 17148, + "offset": 17205, "length": 4, "value": "true" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/TalsecRuntime.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/TalsecRuntime.swift", "kind": "BooleanLiteral", - "offset": 18385, + "offset": 18442, "length": 4, "value": "true" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/TalsecRuntime.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/TalsecRuntime.swift", "kind": "BooleanLiteral", - "offset": 19011, + "offset": 19068, "length": 4, "value": "true" } diff --git a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface index 4f69f25..456ca1b 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +++ b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface @@ -16,6 +16,9 @@ import zlib public protocol SecurityThreatHandler { func threatDetected(_ securityThreat: TalsecRuntime.SecurityThreat) } +public protocol RaspExecutionState { + func onAllChecksFinished() +} @_hasMissingDesignatedInitializers public class SecurityThreatCenter { @objc deinit } diff --git a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftinterface index 4f69f25..456ca1b 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftinterface +++ b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -16,6 +16,9 @@ import zlib public protocol SecurityThreatHandler { func threatDetected(_ securityThreat: TalsecRuntime.SecurityThreat) } +public protocol RaspExecutionState { + func onAllChecksFinished() +} @_hasMissingDesignatedInitializers public class SecurityThreatCenter { @objc deinit } diff --git a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.abi.json b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.abi.json index 96e17c9..4fb4a2e 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.abi.json +++ b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.abi.json @@ -252,6 +252,41 @@ "AccessControl" ] }, + { + "kind": "TypeDecl", + "name": "RaspExecutionState", + "printedName": "RaspExecutionState", + "children": [ + { + "kind": "Function", + "name": "onAllChecksFinished", + "printedName": "onAllChecksFinished()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Func", + "usr": "s:13TalsecRuntime18RaspExecutionStateP19onAllChecksFinishedyyF", + "mangledName": "$s13TalsecRuntime18RaspExecutionStateP19onAllChecksFinishedyyF", + "moduleName": "TalsecRuntime", + "genericSig": "<τ_0_0 where τ_0_0 : TalsecRuntime.RaspExecutionState>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Protocol", + "usr": "s:13TalsecRuntime18RaspExecutionStateP", + "mangledName": "$s13TalsecRuntime18RaspExecutionStateP", + "moduleName": "TalsecRuntime", + "declAttributes": [ + "AccessControl" + ] + }, { "kind": "TypeDecl", "name": "SecurityThreatCenter", @@ -2476,1003 +2511,1003 @@ }, "ConstValues": [ { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 243, "length": 13, "value": "\"development\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 279, "length": 12, "value": "\"production\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 312, "length": 10, "value": "\"disabled\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 243, "length": 13, "value": "\"development\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 279, "length": 12, "value": "\"production\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 312, "length": 10, "value": "\"disabled\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 575, "length": 24, "value": "\"keychain-access-groups\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 628, "length": 16, "value": "\"get-task-allow\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 675, "length": 17, "value": "\"aps-environment\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 722, "length": 24, "value": "\"application-identifier\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 575, "length": 24, "value": "\"keychain-access-groups\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 628, "length": 16, "value": "\"get-task-allow\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 675, "length": 17, "value": "\"aps-environment\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 722, "length": 24, "value": "\"application-identifier\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "BooleanLiteral", "offset": 1994, "length": 5, "value": "false" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2227, "length": 6, "value": "\"Name\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2259, "length": 11, "value": "\"AppIDName\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2296, "length": 29, "value": "\"ApplicationIdentifierPrefix\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2350, "length": 10, "value": "\"TeamName\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2392, "length": 16, "value": "\"TeamIdentifier\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2433, "length": 10, "value": "\"Platform\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2474, "length": 16, "value": "\"IsXcodeManaged\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2519, "length": 14, "value": "\"CreationDate\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2564, "length": 16, "value": "\"ExpirationDate\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2607, "length": 12, "value": "\"TimeToLive\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2640, "length": 6, "value": "\"UUID\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2670, "length": 9, "value": "\"Version\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2708, "length": 14, "value": "\"Entitlements\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2227, "length": 6, "value": "\"Name\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2259, "length": 11, "value": "\"AppIDName\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2296, "length": 29, "value": "\"ApplicationIdentifierPrefix\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2350, "length": 10, "value": "\"TeamName\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2392, "length": 16, "value": "\"TeamIdentifier\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2433, "length": 10, "value": "\"Platform\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2474, "length": 16, "value": "\"IsXcodeManaged\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2519, "length": 14, "value": "\"CreationDate\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2564, "length": 16, "value": "\"ExpirationDate\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2607, "length": 12, "value": "\"TimeToLive\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2640, "length": 6, "value": "\"UUID\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2670, "length": 9, "value": "\"Version\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Signature\/MobileProvision.swift", "kind": "StringLiteral", "offset": 2708, "length": 14, "value": "\"Entitlements\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/DynamicConfiguration\/DefaultConfig.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/DynamicConfiguration\/DefaultConfig.swift", "kind": "Array", "offset": 375, "length": 2, "value": "[]" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/DynamicConfiguration\/DefaultConfig.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/DynamicConfiguration\/DefaultConfig.swift", "kind": "StringLiteral", "offset": 415, "length": 2, "value": "\"\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/DynamicConfiguration\/DefaultConfig.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/DynamicConfiguration\/DefaultConfig.swift", "kind": "BooleanLiteral", "offset": 491, "length": 4, "value": "true" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 471, "length": 11, "value": "\"osVersion\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 511, "length": 14, "value": "\"manufacturer\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 547, "length": 7, "value": "\"model\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 471, "length": 11, "value": "\"osVersion\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 511, "length": 14, "value": "\"manufacturer\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 547, "length": 7, "value": "\"model\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 753, "length": 10, "value": "\"security\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 790, "length": 12, "value": "\"biometrics\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 835, "length": 18, "value": "\"hwBackedKeychain\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 753, "length": 10, "value": "\"security\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 790, "length": 12, "value": "\"biometrics\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 835, "length": 18, "value": "\"hwBackedKeychain\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 1430, "length": 18, "value": "\"endOfGracePeriod\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 1430, "length": 18, "value": "\"endOfGracePeriod\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 1874, "length": 15, "value": "\"appIdentifier\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 1916, "length": 12, "value": "\"appVersion\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 1874, "length": 15, "value": "\"appIdentifier\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 1916, "length": 12, "value": "\"appVersion\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 5957, "length": 5, "value": "\"iOS\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 6394, "length": 7, "value": "\"en_US\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 6873, "length": 3, "value": "\".\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 6923, "length": 2, "value": "\"\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7146, "length": 12, "value": "\"instanceId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7182, "length": 9, "value": "\"eventId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7218, "length": 12, "value": "\"deviceInfo\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7258, "length": 13, "value": "\"deviceState\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7295, "length": 9, "value": "\"appInfo\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7329, "length": 10, "value": "\"platform\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7365, "length": 11, "value": "\"occurence\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7407, "length": 16, "value": "\"incidentReport\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7446, "length": 8, "value": "\"checks\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7481, "length": 12, "value": "\"externalId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7519, "length": 11, "value": "\"sessionId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7555, "length": 10, "value": "\"deviceId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7592, "length": 12, "value": "\"sdkVersion\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7632, "length": 13, "value": "\"sdkPlatform\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7675, "length": 15, "value": "\"sdkIdentifier\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7146, "length": 12, "value": "\"instanceId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7182, "length": 9, "value": "\"eventId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7218, "length": 12, "value": "\"deviceInfo\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7258, "length": 13, "value": "\"deviceState\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7295, "length": 9, "value": "\"appInfo\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7329, "length": 10, "value": "\"platform\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7365, "length": 11, "value": "\"occurence\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7407, "length": 16, "value": "\"incidentReport\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7446, "length": 8, "value": "\"checks\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7481, "length": 12, "value": "\"externalId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7519, "length": 11, "value": "\"sessionId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7555, "length": 10, "value": "\"deviceId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7592, "length": 12, "value": "\"sdkVersion\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7632, "length": 13, "value": "\"sdkPlatform\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Report.swift", "kind": "StringLiteral", "offset": 7675, "length": 15, "value": "\"sdkIdentifier\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 413, "length": 5, "value": "\"iOS\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 927, "length": 7, "value": "\"en_US\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1182, "length": 12, "value": "\"instanceId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1218, "length": 9, "value": "\"eventId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1254, "length": 12, "value": "\"sdkVersion\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1291, "length": 10, "value": "\"platform\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1329, "length": 13, "value": "\"sdkPlatform\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1369, "length": 12, "value": "\"deviceInfo\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1409, "length": 13, "value": "\"deviceState\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1448, "length": 11, "value": "\"occurence\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1482, "length": 8, "value": "\"checks\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1515, "length": 10, "value": "\"deviceId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1552, "length": 12, "value": "\"externalId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1590, "length": 11, "value": "\"licensing\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1182, "length": 12, "value": "\"instanceId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1218, "length": 9, "value": "\"eventId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1254, "length": 12, "value": "\"sdkVersion\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1291, "length": 10, "value": "\"platform\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1329, "length": 13, "value": "\"sdkPlatform\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1369, "length": 12, "value": "\"deviceInfo\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1409, "length": 13, "value": "\"deviceState\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1448, "length": 11, "value": "\"occurence\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1482, "length": 8, "value": "\"checks\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1515, "length": 10, "value": "\"deviceId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1552, "length": 12, "value": "\"externalId\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Cryptogram\/ThreatFlags.swift", "kind": "StringLiteral", "offset": 1590, "length": 11, "value": "\"licensing\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/ScreenCapture\/ScreenCaptureReportRateLimiter.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/ScreenCapture\/ScreenCaptureReportRateLimiter.swift", "kind": "IntegerLiteral", "offset": 253, "length": 2, "value": "10" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Check.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Check.swift", "kind": "StringLiteral", "offset": 539, "length": 8, "value": "\"status\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Check.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Check.swift", "kind": "StringLiteral", "offset": 570, "length": 8, "value": "\"timeMs\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Check.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Check.swift", "kind": "StringLiteral", "offset": 539, "length": 8, "value": "\"status\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Check.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Report\/Check.swift", "kind": "StringLiteral", "offset": 570, "length": 8, "value": "\"timeMs\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/FreeRASP\/TalsecRunner.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/FreeRASP\/TalsecRunner.swift", "kind": "BooleanLiteral", "offset": 477, "length": 4, "value": "true" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", "kind": "StringLiteral", "offset": 289, "length": 14, "value": "\"appIntegrity\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", "kind": "StringLiteral", "offset": 382, "length": 18, "value": "\"privilegedAccess\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", "kind": "StringLiteral", "offset": 456, "length": 7, "value": "\"debug\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", "kind": "StringLiteral", "offset": 562, "length": 7, "value": "\"hooks\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", "kind": "StringLiteral", "offset": 909, "length": 15, "value": "\"deviceBinding\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", "kind": "StringLiteral", "offset": 289, "length": 14, "value": "\"appIntegrity\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", "kind": "StringLiteral", "offset": 382, "length": 18, "value": "\"privilegedAccess\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", "kind": "StringLiteral", "offset": 456, "length": 7, "value": "\"debug\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", "kind": "StringLiteral", "offset": 562, "length": 7, "value": "\"hooks\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/SecurityThreat.swift", "kind": "StringLiteral", "offset": 909, "length": 15, "value": "\"deviceBinding\"" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/TalsecRuntime.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/TalsecRuntime.swift", "kind": "Dictionary", "offset": 605, "length": 3, "value": "[]" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/TalsecRuntime.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/TalsecRuntime.swift", "kind": "Dictionary", "offset": 682, "length": 3, "value": "[]" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/TalsecRuntime.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/TalsecRuntime.swift", "kind": "BooleanLiteral", - "offset": 17148, + "offset": 17205, "length": 4, "value": "true" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/TalsecRuntime.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/TalsecRuntime.swift", "kind": "BooleanLiteral", - "offset": 18385, + "offset": 18442, "length": 4, "value": "true" }, { - "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner7\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/TalsecRuntime.swift", + "filePath": "\/Users\/talsec\/Talsec_Development\/talsec-dev\/actions-runner6\/_work\/rasp-ios\/rasp-ios\/Talsec\/TalsecRuntime\/Classes\/Runtime\/TalsecRuntime.swift", "kind": "BooleanLiteral", - "offset": 19011, + "offset": 19068, "length": 4, "value": "true" } diff --git a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface index f90227c..653ddc3 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +++ b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface @@ -16,6 +16,9 @@ import zlib public protocol SecurityThreatHandler { func threatDetected(_ securityThreat: TalsecRuntime.SecurityThreat) } +public protocol RaspExecutionState { + func onAllChecksFinished() +} @_hasMissingDesignatedInitializers public class SecurityThreatCenter { @objc deinit } diff --git a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftinterface index f90227c..653ddc3 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +++ b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -16,6 +16,9 @@ import zlib public protocol SecurityThreatHandler { func threatDetected(_ securityThreat: TalsecRuntime.SecurityThreat) } +public protocol RaspExecutionState { + func onAllChecksFinished() +} @_hasMissingDesignatedInitializers public class SecurityThreatCenter { @objc deinit } diff --git a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/TalsecRuntime b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/TalsecRuntime index bcc33d2..4615fc5 100755 Binary files a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/TalsecRuntime and b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/TalsecRuntime differ diff --git a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/_CodeSignature/CodeResources b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/_CodeSignature/CodeResources index b974bb3..dd7f678 100644 --- a/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/_CodeSignature/CodeResources +++ b/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/_CodeSignature/CodeResources @@ -10,11 +10,11 @@ Headers/CurlWrapper.h - yu+bD8piivS0Uexyxj88Lo/EtFw= + bSH/Wohm4NF7l7UIPE7R5g8vT6s= Headers/TalsecRuntime-Swift.h - wAY8zBg8d1sI3xVrp1oHtuFcA1A= + P7IWSqtn3HzfQX/y3VogbT0DUjY= Headers/TalsecRuntime_iOS.h @@ -22,31 +22,31 @@ Headers/curl.h - pncQZX056YiXGRD5pmxOejhxORk= + jimlUPogqnspNj7JxlEQq9O+mcg= Headers/curlver.h - 3Ahl0q9UO2KT0UGTpEvqAWnY2Ww= + HHHy97I1HcqyKicFHd1AcLT9vM0= Headers/easy.h - zPR4hRipW/f93KTsGonTVturyFo= + uxwAQyNkdidRGYBKGD8Jg+yqKEU= Headers/header.h - BoDCEv6MIZLNtBUy1D+9dKI4Th4= + iyvygbRon3G0sWEVV5hAyuEsRf8= Headers/mprintf.h - iYXepEvej7y1r7pDKK/RxvWtnj8= + 6kuUNhttGSIGElxfaS4YXSI6QjA= Headers/multi.h - dGPBAkD3C75DBIOY+mXGU0uxklI= + WDF7o1kIaBNQfxZuj1WP/dwj4XY= Headers/options.h - IfCb6p5m63CVW7oVc5SzyjFcfis= + loeDVSH7XnQx+29+qpAJpfEynEg= Headers/stdcheaders.h @@ -54,27 +54,31 @@ Headers/system.h - 1FThM5RIl0+4azOG8Ona0nfwB7o= + CbSdtGUOwipRo+mywhFc1XyX4hk= + + Headers/typecheck-gcc.h + + J/BOIcuabDNAyRWHX7SeqGm9B2k= Headers/urlapi.h - HXUrox8pAlGkez2yIhOJsVXnC5M= + 2t3G2ZTwc/zrc3VazbZjAYfJJZw= Headers/websockets.h - 0pEcK9exbhSZCsflrFx0vniiswA= + dacrFuMoBK+Ue7nlMiklKjPkmWc= Info.plist - gAtKMS55zdmfYa+L2xBDWDyBv0M= + C0xWg6dPyvKlB+gODnM7dNyWrLs= Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.abi.json - /1I+5RKThqvfW5Mk7GmnL7Y8f7Y= + anigzkw0hLZt6t9xQZnJchKWVuA= Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface - inrjeBTeZEjJWQYsJDL75IrriIs= + Dpcj2/XdTJqMBLgRXx80eAeaumE= Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftdoc @@ -82,19 +86,19 @@ Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftinterface - inrjeBTeZEjJWQYsJDL75IrriIs= + Dpcj2/XdTJqMBLgRXx80eAeaumE= Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftmodule - J+/4sp6NpagOvLuANFBXle9NR2k= + Ug446uREhsbSvCUz0tEB6Lx8KnU= Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.abi.json - /1I+5RKThqvfW5Mk7GmnL7Y8f7Y= + anigzkw0hLZt6t9xQZnJchKWVuA= Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface - Zv0S28YPhyiAZz7Ci0wtfuzg9wk= + UAjzDQRUS70vjAeqZSB46xz4hhk= Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftdoc @@ -102,11 +106,11 @@ Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftinterface - Zv0S28YPhyiAZz7Ci0wtfuzg9wk= + UAjzDQRUS70vjAeqZSB46xz4hhk= Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftmodule - +ht1itz94NnI7o8tfD5xeejNHy4= + E2+5SxyE4AuxZBqMRLRJwpvlR1g= Modules/module.modulemap @@ -138,14 +142,14 @@ hash2 - ayBog/egvC6JKEOTp6xvSc1XGfv8sLepQOqjtNqO324= + D8jI7onfHOD1YBurtYDWrp5ZdVwY8VlpRbfDg0p3PXs= Headers/TalsecRuntime-Swift.h hash2 - xi81x5ESCLsP43OXQdVplBMjgbi0cU16HmU3tQD91YI= + 99vix0juTdt6yHCqHwZe7WOE4KT1ys25BocrqkluPPg= Headers/TalsecRuntime_iOS.h @@ -159,49 +163,49 @@ hash2 - A4gTuBAAU/z1USRijSZTcVT7bvDaV5imwYAfVM6mcQo= + titEHDl/fPhshVbPH34pPOLcE4yDGQg5NbfIOOerldw= Headers/curlver.h hash2 - AZDHV18h/CggCUN5oQYnwjdXgnePgr6a+uffZniUUm0= + SBdVCzOTQRM9zdA83gcE5nj2Wg/Pp61W60/5cpTqa1I= Headers/easy.h hash2 - CJDgY9K+qLqBXXR9T2ZZlOJj4QQ/DhSoVzPJRFy4Om0= + 9trJcD4NSwkeDS48x9QwCRdL5FO6EmB/l84qdDFz1AQ= Headers/header.h hash2 - YUvkiob05dMExapA7xyFJF4luXcykhw2MYQBRmadmS8= + ff8703r7WMAJ8HVcwbN0AffECeWBcurtSSyBkYGobj8= Headers/mprintf.h hash2 - D7qnEhav3WykSvZ+PR+uGAh/Y15SkRNvzmKU/4EyLmM= + p5ZX+hXbcecyvLWLxGRatlvbMiJ2fzS+W6tWqg1PTMk= Headers/multi.h hash2 - Wr9p4d6X+Cfr4kUkNW8u9y3rKorv2kkgY7m7gMihwcs= + VRbQ7NDE6UaZF4tBn9qJbvv7tGrEwdGB+zsEA3FAiFk= Headers/options.h hash2 - xt+R3iBpI5D6KedpH1aETByFgs+snr1vLxVVoHmTULY= + E8yHfRYTNWybMICSt22RjTIsRvL6ZhCUq5j/XswmvYQ= Headers/stdcheaders.h @@ -215,35 +219,42 @@ hash2 - iTPu5JUBAmeGJ0QJaRCRQhHkDUOTWoGGSjeAphKZ5E8= + ZD/MnzVjEDHSR5BJTpdA6400CFVfLp1Zwwy//38+McQ= + + + Headers/typecheck-gcc.h + + hash2 + + 3O4L8PutuQJQhnbdj9CodR7KtBtmMbcTP5Z/QZTUop0= Headers/urlapi.h hash2 - gfRaQ8x57GcyDvW5n6f52/NZ6/IAACt0mAUFCUPkgEY= + lVu+6/Vtb5aRqV4Q5CrQSlESY+h9EkAfbWvld2EngFY= Headers/websockets.h hash2 - tYux1+2j/SNy/rTYVsJWiX2DAG3+eTPWm+VLxKK6Wj8= + 5W0gmdKOy+tbjQl4qBjg3XaiUsXkfmFKGoZDVCRBMxQ= Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.abi.json hash2 - iU9azOV0ocIO6K1GpO49zHnLAWFLpQ4RVs/KnYdQZ0E= + l4Z6P0aHCxmGoLU5TtvGn+moxH+H79ZGjGlOOBzULmo= Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface hash2 - OpRbeMxw/45WUMSIcAyE3iCm/BhLRYkxKpIOEGyyA4o= + xMKReUcGR8ChB+5V79K6Id8INMJkjiu/FbF9gbWThW4= Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftdoc @@ -257,28 +268,28 @@ hash2 - OpRbeMxw/45WUMSIcAyE3iCm/BhLRYkxKpIOEGyyA4o= + xMKReUcGR8ChB+5V79K6Id8INMJkjiu/FbF9gbWThW4= Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftmodule hash2 - 52JLbe5TEyPIdQRQCYm6bTgq32tSdlFHpAS4bfGMOu4= + 7hJS9oBk9OY7jKmusI7iVyJwpZx91W6oIa4nI+VEi90= Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.abi.json hash2 - iU9azOV0ocIO6K1GpO49zHnLAWFLpQ4RVs/KnYdQZ0E= + l4Z6P0aHCxmGoLU5TtvGn+moxH+H79ZGjGlOOBzULmo= Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface hash2 - axR9mcaW6AdrBU7Kdf3nJ/+v7T9hFIFfQrMIFaJz+PY= + kj4mhFxa/GtHLIoSjPkjK8uHDvkCqBR7FVri8oF0UEs= Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftdoc @@ -292,14 +303,14 @@ hash2 - axR9mcaW6AdrBU7Kdf3nJ/+v7T9hFIFfQrMIFaJz+PY= + kj4mhFxa/GtHLIoSjPkjK8uHDvkCqBR7FVri8oF0UEs= Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftmodule hash2 - tbu+KTiBiCVG5bLzKvJL8I/iz00cspDjwWZ2K24dHHY= + fBdtKZA5oRkURrIDI511aq5vrv4suTkwoqPavGKhuUM= Modules/module.modulemap diff --git a/lib/freerasp.dart b/lib/freerasp.dart index 711bd6d..f504da3 100644 --- a/lib/freerasp.dart +++ b/lib/freerasp.dart @@ -1,9 +1,10 @@ +export 'src/callbacks/rasp_execution_state_callback.dart'; +export 'src/callbacks/threat_callback.dart'; export 'src/enums/enums.dart'; export 'src/errors/errors.dart'; export 'src/generated/talsec_pigeon_api.g.dart' show PackageInfo, SuspiciousAppInfo; export 'src/models/models.dart'; export 'src/talsec.dart'; -export 'src/threat_callback.dart'; export 'src/typedefs.dart'; export 'src/utils/utils.dart' hide ConfigVerifier; diff --git a/lib/src/callbacks/rasp_execution_state_callback.dart b/lib/src/callbacks/rasp_execution_state_callback.dart new file mode 100644 index 0000000..f9c871f --- /dev/null +++ b/lib/src/callbacks/rasp_execution_state_callback.dart @@ -0,0 +1,34 @@ +import 'package:freerasp/src/generated/rasp_execution_state.g.dart' as pigeon; +import 'package:freerasp/src/typedefs.dart'; + +/// A callback class that handles RASP (Runtime Application Self-Protection) +/// execution state events. +/// +/// Example usage: +/// ```dart +/// final callback = RaspExecutionStateCallback( +/// onAllChecksDone: () { +/// print('All security checks have been completed'); +/// // Update UI or perform additional actions +/// }, +/// ); +/// +/// Talsec.instance.attachExecutionStateListener(callback); +/// ``` +class RaspExecutionStateCallback extends pigeon.RaspExecutionState { + /// Creates a new [RaspExecutionStateCallback] instance. + /// + /// The [onAllChecksDone] callback will be invoked when all security checks + /// have been completed by the native security engine. + RaspExecutionStateCallback({ + this.onAllChecksDone, + }); + + /// Callback invoked when all security checks are completed. + final VoidCallback? onAllChecksDone; + + @override + void onAllChecksFinished() { + onAllChecksDone?.call(); + } +} diff --git a/lib/src/threat_callback.dart b/lib/src/callbacks/threat_callback.dart similarity index 89% rename from lib/src/threat_callback.dart rename to lib/src/callbacks/threat_callback.dart index 246ba4b..c9dee52 100644 --- a/lib/src/threat_callback.dart +++ b/lib/src/callbacks/threat_callback.dart @@ -39,6 +39,9 @@ class ThreatCallback extends TalsecPigeonApi { this.onScreenshot, this.onScreenRecording, this.onMultiInstance, + this.onUnsecureWiFi, + this.onTimeSpoofing, + this.onLocationSpoofing, }); /// This method is called when a threat related dynamic hooking (e.g. Frida) @@ -99,6 +102,15 @@ class ThreatCallback extends TalsecPigeonApi { /// This method is called when multi-instance is detected final VoidCallback? onMultiInstance; + /// This method is called when unsecure WiFi is detected + final VoidCallback? onUnsecureWiFi; + + /// This method is called when time manipulation is detected + final VoidCallback? onTimeSpoofing; + + /// This method is called when location manipulation is detected + final VoidCallback? onLocationSpoofing; + @override void onMalwareDetected(List packageInfo) { onMalware?.call(packageInfo); diff --git a/lib/src/enums/threat.dart b/lib/src/enums/threat.dart index 3878cf3..cbf4a58 100644 --- a/lib/src/enums/threat.dart +++ b/lib/src/enums/threat.dart @@ -72,6 +72,22 @@ enum Threat { /// /// Android only multiInstance, + + /// This method is called when the device is connected to a WiFi with a no + /// or weak security protocol. + /// + /// Android only + unsecureWiFi, + + /// This method is called when the device time is manipulated + /// + /// Android only + timeSpoofing, + + /// This method is called when the device location is manipulated + /// + /// Android only + locationSpoofing, } /// An extension on the [Threat] enum to provide additional functionality. @@ -142,6 +158,12 @@ extension ThreatX on Threat { return Threat.screenRecording; case 859307284: return Threat.multiInstance; + case 363588890: + return Threat.unsecureWiFi; + case 189105221: + return Threat.timeSpoofing; + case 653273273: + return Threat.locationSpoofing; default: // Unknown data came from native code. This shouldn't normally happen. exit(127); diff --git a/lib/src/generated/rasp_execution_state.g.dart b/lib/src/generated/rasp_execution_state.g.dart new file mode 100644 index 0000000..e800710 --- /dev/null +++ b/lib/src/generated/rasp_execution_state.g.dart @@ -0,0 +1,79 @@ +// Autogenerated from Pigeon (v22.7.4), do not edit directly. +// See also: https://pub.dev/packages/pigeon +// ignore_for_file: public_member_api_docs, non_constant_identifier_names, avoid_as, unused_import, unnecessary_parenthesis, prefer_null_aware_operators, omit_local_variable_types, unused_shown_name, unnecessary_import, no_leading_underscores_for_local_identifiers + +import 'dart:async'; +import 'dart:typed_data' show Float64List, Int32List, Int64List, Uint8List; + +import 'package:flutter/foundation.dart' show ReadBuffer, WriteBuffer; +import 'package:flutter/services.dart'; + +List wrapResponse( + {Object? result, PlatformException? error, bool empty = false}) { + if (empty) { + return []; + } + if (error == null) { + return [result]; + } + return [error.code, error.message, error.details]; +} + +class _PigeonCodec extends StandardMessageCodec { + const _PigeonCodec(); + @override + void writeValue(WriteBuffer buffer, Object? value) { + if (value is int) { + buffer.putUint8(4); + buffer.putInt64(value); + } else { + super.writeValue(buffer, value); + } + } + + @override + Object? readValueOfType(int type, ReadBuffer buffer) { + switch (type) { + default: + return super.readValueOfType(type, buffer); + } + } +} + +abstract class RaspExecutionState { + static const MessageCodec pigeonChannelCodec = _PigeonCodec(); + + void onAllChecksFinished(); + + static void setUp( + RaspExecutionState? api, { + BinaryMessenger? binaryMessenger, + String messageChannelSuffix = '', + }) { + messageChannelSuffix = + messageChannelSuffix.isNotEmpty ? '.$messageChannelSuffix' : ''; + { + final BasicMessageChannel< + Object?> pigeonVar_channel = BasicMessageChannel< + Object?>( + 'dev.flutter.pigeon.freerasp.RaspExecutionState.onAllChecksFinished$messageChannelSuffix', + pigeonChannelCodec, + binaryMessenger: binaryMessenger); + if (api == null) { + pigeonVar_channel.setMessageHandler(null); + } else { + pigeonVar_channel.setMessageHandler((Object? message) async { + try { + api.onAllChecksFinished(); + return wrapResponse(empty: true); + } on PlatformException catch (e) { + return wrapResponse(error: e); + } catch (e) { + return wrapResponse( + error: PlatformException(code: 'error', message: e.toString())); + } + }); + } + } + } +} diff --git a/lib/src/generated/talsec_pigeon_api.g.dart b/lib/src/generated/talsec_pigeon_api.g.dart index f596898..fec170b 100644 --- a/lib/src/generated/talsec_pigeon_api.g.dart +++ b/lib/src/generated/talsec_pigeon_api.g.dart @@ -1,4 +1,4 @@ -// Autogenerated from Pigeon (v22.4.0), do not edit directly. +// Autogenerated from Pigeon (v22.7.4), do not edit directly. // See also: https://pub.dev/packages/pigeon // ignore_for_file: public_member_api_docs, non_constant_identifier_names, avoid_as, unused_import, unnecessary_parenthesis, prefer_null_aware_operators, omit_local_variable_types, unused_shown_name, unnecessary_import, no_leading_underscores_for_local_identifiers diff --git a/lib/src/models/talsec_config.dart b/lib/src/models/talsec_config.dart index c41560e..f365745 100644 --- a/lib/src/models/talsec_config.dart +++ b/lib/src/models/talsec_config.dart @@ -10,6 +10,7 @@ class TalsecConfig { TalsecConfig({ required this.watcherMail, this.isProd = true, + this.killOnBypass = false, this.androidConfig, this.iosConfig, }); @@ -32,4 +33,9 @@ class TalsecConfig { /// Whether the SDK should be running in release mode. final bool isProd; + + /// Whether the application should be killed when SDK is bypassed. + /// + /// When bypassed, application is killed without triggering callbacks. + final bool killOnBypass; } diff --git a/lib/src/talsec.dart b/lib/src/talsec.dart index e1eb435..d64027e 100644 --- a/lib/src/talsec.dart +++ b/lib/src/talsec.dart @@ -7,7 +7,8 @@ import 'package:flutter/services.dart'; import 'package:freerasp/freerasp.dart'; import 'package:freerasp/src/errors/external_id_failure_exception.dart'; import 'package:freerasp/src/errors/malware_failure_exception.dart'; -import 'package:freerasp/src/generated/talsec_pigeon_api.g.dart'; +import 'package:freerasp/src/generated/rasp_execution_state.g.dart' as pigeon; +import 'package:freerasp/src/generated/talsec_pigeon_api.g.dart' as pigeon; /// A class which maintains all security related operations. /// @@ -185,7 +186,6 @@ class Talsec { } void _checkConfig(TalsecConfig config) { - // ignore: missing_enum_constant_in_switch switch (defaultTargetPlatform) { case TargetPlatform.android: if (config.androidConfig == null) { @@ -216,9 +216,10 @@ class Talsec { /// /// When threat is detected, respective callback of [ThreatCallback] is /// invoked. - void attachListener(ThreatCallback callback) { - TalsecPigeonApi.setUp(callback); - detachListener(); + Future attachListener(ThreatCallback callback) async { + pigeon.TalsecPigeonApi.setUp(callback); + + await detachListener(); _streamSubscription ??= onThreatDetected.listen((event) { switch (event) { case Threat.hooks: @@ -255,6 +256,12 @@ class Talsec { callback.onScreenRecording?.call(); case Threat.multiInstance: callback.onMultiInstance?.call(); + case Threat.unsecureWiFi: + callback.onUnsecureWiFi?.call(); + case Threat.timeSpoofing: + callback.onTimeSpoofing?.call(); + case Threat.locationSpoofing: + callback.onLocationSpoofing?.call(); } }); } @@ -263,8 +270,8 @@ class Talsec { /// [StreamSubscription] for that [ThreatCallback]. /// /// If no callback was attached earlier, it has no effect. - void detachListener() { - _streamSubscription?.cancel(); + Future detachListener() async { + await _streamSubscription?.cancel(); _streamSubscription = null; } @@ -272,10 +279,21 @@ class Talsec { if (error is PlatformException) { throw TalsecException.fromPlatformException(error); } + // For any other type of error, rethrow it. // ignore: only_throw_errors throw error; } + /// Attaches instance of [RaspExecutionStateCallback] to Talsec. + void attachExecutionStateListener(RaspExecutionStateCallback callback) { + pigeon.RaspExecutionState.setUp(callback); + } + + /// Detaches instance of latest [RaspExecutionStateCallback]. + void detachExecutionStateListener() { + pigeon.RaspExecutionState.setUp(null); + } + /// Retrieves the app icon for the given [packageName] as base64 string. /// /// Throws a [TalsecException] with error message description if diff --git a/pigeons/build.sh b/pigeons/build.sh index b06271e..328c92f 100755 --- a/pigeons/build.sh +++ b/pigeons/build.sh @@ -1,10 +1,10 @@ #!/bin/zsh # Exit on error -set -e +set -euo pipefail # Variables -INPUT_FILE="talsec_pigeon_api.dart" +INPUT_FILES=("talsec_pigeon_api.dart" "rasp_execution_state.dart") # Check current directory if [ "$(basename "$PWD")" != "pigeons" ]; then @@ -16,5 +16,7 @@ fi # Generate Pigeon code cd .. -dart run pigeon \ - --input pigeons/$INPUT_FILE +for file in "${INPUT_FILES[@]}"; do + echo "🚀 Generating Pigeon code for $file..." + dart run pigeon --input "./pigeons/$file" +done diff --git a/pigeons/rasp_execution_state.dart b/pigeons/rasp_execution_state.dart new file mode 100644 index 0000000..f4b39b4 --- /dev/null +++ b/pigeons/rasp_execution_state.dart @@ -0,0 +1,24 @@ +import 'package:pigeon/pigeon.dart'; + +@ConfigurePigeon( + PigeonOptions( + input: 'pigeons/rasp_execution_state.dart', + dartOut: 'lib/src/generated/rasp_execution_state.g.dart', + kotlinOut: + 'android/src/main/kotlin/com/aheaditec/freerasp/generated/RaspExecutionState.kt', + kotlinOptions: KotlinOptions( + package: 'com.aheaditec.freerasp.generated', + includeErrorClass: false, + ), + swiftOut: 'ios/Classes/Generated/RaspExecutionState.swift', + swiftOptions: SwiftOptions( + fileSpecificClassNameComponent: 'Pigeon', + ), + ), +) +@FlutterApi() +// Might be extended in the future +// ignore: one_member_abstracts +abstract class RaspExecutionState { + void onAllChecksFinished(); +} diff --git a/pigeons/talsec_pigeon_api.dart b/pigeons/talsec_pigeon_api.dart index f11e5ca..186abea 100644 --- a/pigeons/talsec_pigeon_api.dart +++ b/pigeons/talsec_pigeon_api.dart @@ -1,14 +1,12 @@ import 'package:pigeon/pigeon.dart'; -// ignore: flutter_style_todos -// TODO: Migrate whole Talsec API to pigeon @ConfigurePigeon( PigeonOptions( dartOut: 'lib/src/generated/talsec_pigeon_api.g.dart', kotlinOut: 'android/src/main/kotlin/com/aheaditec/freerasp/generated/TalsecPigeonApi.kt', input: 'pigeons/talsec_pigeon_api.dart', - kotlinOptions: KotlinOptions(package: 'com.aheaditec.talsec.generated'), + kotlinOptions: KotlinOptions(package: 'com.aheaditec.freerasp.generated'), ), ) class PackageInfo { @@ -38,6 +36,7 @@ class SuspiciousAppInfo { } @FlutterApi() +// Migrate whole Talsec API to pigeon // ignore: one_member_abstracts abstract class TalsecPigeonApi { void onMalwareDetected(List packageInfo); diff --git a/pubspec.yaml b/pubspec.yaml index 3e370bc..c3d8a2f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,12 +1,12 @@ name: freerasp description: Flutter library for improving app security and threat monitoring on Android and iOS mobile devices. Learn more about provided features on the freeRASP's homepage first. -version: 7.2.2 +version: 7.3.0 homepage: https://www.talsec.app/freerasp-in-app-protection-security-talsec repository: https://github.com/talsec/Free-RASP-Flutter environment: - sdk: ">=3.3.0 <4.0.0" - flutter: ">=3.19.0" + sdk: ">=3.5.0 <4.0.0" + flutter: ">=3.24.0" topics: - app-shielding @@ -29,8 +29,8 @@ dev_dependencies: sdk: flutter json_serializable: ^6.8.0 mocktail: ^1.0.4 - pigeon: ^17.0.0 - very_good_analysis: ^5.1.0 + pigeon: ^22.7.2 + very_good_analysis: ^7.0.0 flutter: plugin: diff --git a/test/src/enums/threat_test.dart b/test/src/enums/threat_test.dart index 5faafad..2ae8985 100644 --- a/test/src/enums/threat_test.dart +++ b/test/src/enums/threat_test.dart @@ -2,10 +2,10 @@ import 'package:flutter_test/flutter_test.dart'; import 'package:freerasp/freerasp.dart'; void main() { - test('Threat enum should contain 14 values', () { + test('Threat enum should contain 20 values', () { final threatValuesLength = Threat.values.length; - expect(threatValuesLength, 17); + expect(threatValuesLength, 20); }); test('Threat enum should match its values index', () { @@ -28,6 +28,9 @@ void main() { expect(threatValues[14], Threat.screenshot); expect(threatValues[15], Threat.screenRecording); expect(threatValues[16], Threat.multiInstance); + expect(threatValues[17], Threat.unsecureWiFi); + expect(threatValues[18], Threat.timeSpoofing); + expect(threatValues[19], Threat.locationSpoofing); }); test( @@ -51,6 +54,9 @@ void main() { expect(ThreatX.fromInt(705651459), Threat.screenshot); expect(ThreatX.fromInt(64690214), Threat.screenRecording); expect(ThreatX.fromInt(859307284), Threat.multiInstance); + expect(ThreatX.fromInt(363588890), Threat.unsecureWiFi); + expect(ThreatX.fromInt(189105221), Threat.timeSpoofing); + expect(ThreatX.fromInt(653273273), Threat.locationSpoofing); }, ); } diff --git a/test/src/talsec_test.dart b/test/src/talsec_test.dart index 7204b8e..c94c681 100644 --- a/test/src/talsec_test.dart +++ b/test/src/talsec_test.dart @@ -1,4 +1,4 @@ -// ignore_for_file: cascade_invocations, sdk_version_since +// ignore_for_file: cascade_invocations, discarded_futures import 'dart:async'; diff --git a/test/src/threat_callback_test.dart b/test/src/threat_callback_test.dart index 04d41ad..862a94d 100644 --- a/test/src/threat_callback_test.dart +++ b/test/src/threat_callback_test.dart @@ -1,4 +1,4 @@ -// ignore_for_file: cascade_invocations, sdk_version_since +// ignore_for_file: cascade_invocations import 'dart:async'; @@ -40,7 +40,5 @@ void main() { Future consumeStream( Stream stream, ) async { - await for (final event in stream) { - SpyThreatListener.addThreat(event); - } + await stream.forEach(SpyThreatListener.addThreat); } diff --git a/test/test_utils/spy_threat_callback.dart b/test/test_utils/spy_threat_callback.dart index f0ad6d5..4a32566 100644 --- a/test/test_utils/spy_threat_callback.dart +++ b/test/test_utils/spy_threat_callback.dart @@ -67,6 +67,12 @@ class SpyThreatListener { callback.onScreenRecording?.call(); case Threat.multiInstance: callback.onMultiInstance?.call(); + case Threat.unsecureWiFi: + callback.onUnsecureWiFi?.call(); + case Threat.timeSpoofing: + callback.onTimeSpoofing?.call(); + case Threat.locationSpoofing: + callback.onLocationSpoofing?.call(); } } }