Skip to content

Commit 4963449

Browse files
authored
Merge pull request #74 from talsec/release/5.0.4
release: freeRASP 5.0.4
2 parents 0ecfb9e + 36b9c5c commit 4963449

26 files changed

+16279
-175
lines changed

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1+
# freeRASP 5.0.4
2+
- ✔️ Fixed issue with metadata in iOS framework
3+
14
# freeRASP 5.0.3
2-
Fixed issue that caused freeRASP to be killed prematurely on Android
5+
Fixed issue that caused freeRASP to be killed prematurely
36

47
## What's new in 5.0.3?
5-
- ✔️ Fixed issue when freeRASP throws [IllegalStateException: Talsec is not running](https://github.com/talsec/Free-RASP-Flutter/issues/70) on Android
8+
- ✔️ Fixed issue when freeRASP throws [IllegalStateException: Talsec is not running](https://github.com/talsec/Free-RASP-Flutter/issues/70)
69

710
# freeRASP 5.0.2
811
Fixed issue causing app to freeze on iOS

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Add dependency to your `pubspec.yaml` file
7272

7373
```yaml
7474
dependencies:
75-
freerasp: 5.0.3
75+
freerasp: 5.0.4
7676
```
7777
7878
and run `pub get`
@@ -490,9 +490,9 @@ freeRASP is freemium software i.e. there is a Fair Usage Policy (FUP) that impos
490490
For further comparison details (and planned features), follow our [discussion](https://github.com/talsec/Free-RASP-Community/discussions/5).
491491

492492
# About Us
493-
Talsec is an academic-based and community-driven mobile security company. We deliver in-App Protection and a User Safety suite for Fintechs. We aim to bridge the gaps between the user's perception of app safety and the strong security requirements of the financial industry.
493+
Talsec is an academic-based and community-driven mobile security company. We deliver in-App Protection and a User Safety suite for Fintechs. We aim to bridge the gaps between the user's perception of app safety and the strong security requirements of the financial industry.
494494

495495
Talsec offers a wide range of security solutions, such as App and API protection SDK, Penetration testing, monitoring services, and the User Safety suite. You can check out offered products at [our web](https://www.talsec.app).
496496

497497
# License
498-
This project is provided as freemium software i.e. there is a fair usage policy that impose some limitations on the free usage. The SDK software consists of opensource and binary part which is property of Talsec. The opensource part is licensed under the MIT License - see the [LICENSE](https://github.com/talsec/Free-RASP-Community/blob/master/LICENSE) file for details.
498+
This project is provided as freemium software i.e. there is a fair usage policy that impose some limitations on the free usage. The SDK software consists of opensource and binary part which is property of Talsec. The opensource part is licensed under the MIT License - see the [LICENSE](https://github.com/talsec/Free-RASP-Community/blob/master/LICENSE) file for details.

ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/CurlWrapper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include <unistd.h>
1717
#include <string.h>
1818

19-
struct nscFqHtevUQj {
19+
struct MaEKCLHGnxSX {
2020
char *memory;
2121
size_t size;
2222
CURLcode ret;

ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h

Lines changed: 122 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
// Generated by Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12)
1+
#if 0
2+
#elif defined(__arm64__) && __arm64__
3+
// Generated by Apple Swift version 5.8 (swiftlang-5.8.0.124.2 clang-1403.0.22.11.100)
24
#ifndef TALSECRUNTIME_SWIFT_H
35
#define TALSECRUNTIME_SWIFT_H
46
#pragma clang diagnostic push
@@ -22,10 +24,32 @@
2224
#endif
2325

2426
#pragma clang diagnostic ignored "-Wauto-import"
27+
#if defined(__OBJC__)
2528
#include <Foundation/Foundation.h>
29+
#endif
30+
#if defined(__cplusplus)
31+
#include <cstdint>
32+
#include <cstddef>
33+
#include <cstdbool>
34+
#include <cstring>
35+
#include <stdlib.h>
36+
#include <new>
37+
#include <type_traits>
38+
#else
2639
#include <stdint.h>
2740
#include <stddef.h>
2841
#include <stdbool.h>
42+
#include <string.h>
43+
#endif
44+
#if defined(__cplusplus)
45+
#if __has_include(<ptrauth.h>)
46+
# include <ptrauth.h>
47+
#else
48+
# ifndef __ptrauth_swift_value_witness_function_pointer
49+
# define __ptrauth_swift_value_witness_function_pointer(x)
50+
# endif
51+
#endif
52+
#endif
2953

3054
#if !defined(SWIFT_TYPEDEFS)
3155
# define SWIFT_TYPEDEFS 1
@@ -60,53 +84,66 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
6084
# if __has_feature(objc_class_property)
6185
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
6286
# else
63-
# define SWIFT_CLASS_PROPERTY(...)
87+
# define SWIFT_CLASS_PROPERTY(...)
6488
# endif
6589
#endif
66-
67-
#if __has_attribute(objc_runtime_name)
68-
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
69-
#else
70-
# define SWIFT_RUNTIME_NAME(X)
90+
#if !defined(SWIFT_RUNTIME_NAME)
91+
# if __has_attribute(objc_runtime_name)
92+
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
93+
# else
94+
# define SWIFT_RUNTIME_NAME(X)
95+
# endif
7196
#endif
72-
#if __has_attribute(swift_name)
73-
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
74-
#else
75-
# define SWIFT_COMPILE_NAME(X)
97+
#if !defined(SWIFT_COMPILE_NAME)
98+
# if __has_attribute(swift_name)
99+
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
100+
# else
101+
# define SWIFT_COMPILE_NAME(X)
102+
# endif
76103
#endif
77-
#if __has_attribute(objc_method_family)
78-
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
79-
#else
80-
# define SWIFT_METHOD_FAMILY(X)
104+
#if !defined(SWIFT_METHOD_FAMILY)
105+
# if __has_attribute(objc_method_family)
106+
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
107+
# else
108+
# define SWIFT_METHOD_FAMILY(X)
109+
# endif
81110
#endif
82-
#if __has_attribute(noescape)
83-
# define SWIFT_NOESCAPE __attribute__((noescape))
84-
#else
85-
# define SWIFT_NOESCAPE
111+
#if !defined(SWIFT_NOESCAPE)
112+
# if __has_attribute(noescape)
113+
# define SWIFT_NOESCAPE __attribute__((noescape))
114+
# else
115+
# define SWIFT_NOESCAPE
116+
# endif
86117
#endif
87-
#if __has_attribute(ns_consumed)
88-
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
89-
#else
90-
# define SWIFT_RELEASES_ARGUMENT
118+
#if !defined(SWIFT_RELEASES_ARGUMENT)
119+
# if __has_attribute(ns_consumed)
120+
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
121+
# else
122+
# define SWIFT_RELEASES_ARGUMENT
123+
# endif
91124
#endif
92-
#if __has_attribute(warn_unused_result)
93-
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
94-
#else
95-
# define SWIFT_WARN_UNUSED_RESULT
125+
#if !defined(SWIFT_WARN_UNUSED_RESULT)
126+
# if __has_attribute(warn_unused_result)
127+
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
128+
# else
129+
# define SWIFT_WARN_UNUSED_RESULT
130+
# endif
96131
#endif
97-
#if __has_attribute(noreturn)
98-
# define SWIFT_NORETURN __attribute__((noreturn))
99-
#else
100-
# define SWIFT_NORETURN
132+
#if !defined(SWIFT_NORETURN)
133+
# if __has_attribute(noreturn)
134+
# define SWIFT_NORETURN __attribute__((noreturn))
135+
# else
136+
# define SWIFT_NORETURN
137+
# endif
101138
#endif
102139
#if !defined(SWIFT_CLASS_EXTRA)
103-
# define SWIFT_CLASS_EXTRA
140+
# define SWIFT_CLASS_EXTRA
104141
#endif
105142
#if !defined(SWIFT_PROTOCOL_EXTRA)
106-
# define SWIFT_PROTOCOL_EXTRA
143+
# define SWIFT_PROTOCOL_EXTRA
107144
#endif
108145
#if !defined(SWIFT_ENUM_EXTRA)
109-
# define SWIFT_ENUM_EXTRA
146+
# define SWIFT_ENUM_EXTRA
110147
#endif
111148
#if !defined(SWIFT_CLASS)
112149
# if __has_attribute(objc_subclassing_restricted)
@@ -126,28 +163,25 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
126163
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
127164
# endif
128165
#endif
129-
130166
#if !defined(SWIFT_PROTOCOL)
131167
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
132168
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
133169
#endif
134-
135170
#if !defined(SWIFT_EXTENSION)
136171
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
137172
#endif
138-
139173
#if !defined(OBJC_DESIGNATED_INITIALIZER)
140174
# if __has_attribute(objc_designated_initializer)
141175
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
142176
# else
143-
# define OBJC_DESIGNATED_INITIALIZER
177+
# define OBJC_DESIGNATED_INITIALIZER
144178
# endif
145179
#endif
146180
#if !defined(SWIFT_ENUM_ATTR)
147-
# if defined(__has_attribute) && __has_attribute(enum_extensibility)
181+
# if __has_attribute(enum_extensibility)
148182
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
149183
# else
150-
# define SWIFT_ENUM_ATTR(_extensibility)
184+
# define SWIFT_ENUM_ATTR(_extensibility)
151185
# endif
152186
#endif
153187
#if !defined(SWIFT_ENUM)
@@ -176,13 +210,17 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
176210
#if !defined(SWIFT_DEPRECATED_MSG)
177211
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
178212
#endif
179-
#if __has_feature(attribute_diagnose_if_objc)
180-
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
181-
#else
182-
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
213+
#if !defined(SWIFT_DEPRECATED_OBJC)
214+
# if __has_feature(attribute_diagnose_if_objc)
215+
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
216+
# else
217+
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
218+
# endif
183219
#endif
220+
#if defined(__OBJC__)
184221
#if !defined(IBSegueAction)
185-
# define IBSegueAction
222+
# define IBSegueAction
223+
#endif
186224
#endif
187225
#if !defined(SWIFT_EXTERN)
188226
# if defined(__cplusplus)
@@ -191,19 +229,48 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
191229
# define SWIFT_EXTERN extern
192230
# endif
193231
#endif
194-
#if __has_feature(modules)
232+
#if !defined(SWIFT_CALL)
233+
# define SWIFT_CALL __attribute__((swiftcall))
234+
#endif
235+
#if !defined(SWIFT_INDIRECT_RESULT)
236+
# define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
237+
#endif
238+
#if !defined(SWIFT_CONTEXT)
239+
# define SWIFT_CONTEXT __attribute__((swift_context))
240+
#endif
241+
#if !defined(SWIFT_ERROR_RESULT)
242+
# define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
243+
#endif
244+
#if defined(__cplusplus)
245+
# define SWIFT_NOEXCEPT noexcept
246+
#else
247+
# define SWIFT_NOEXCEPT
248+
#endif
249+
#if defined(_WIN32)
250+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
251+
# define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
252+
#endif
253+
#else
254+
#if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
255+
# define SWIFT_IMPORT_STDLIB_SYMBOL
256+
#endif
257+
#endif
258+
#if defined(__OBJC__)
259+
#if __has_feature(objc_modules)
195260
#if __has_warning("-Watimport-in-framework-header")
196261
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
197262
#endif
198263
#endif
199264

265+
#endif
200266
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
201267
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
202268
#if __has_warning("-Wpragma-clang-attribute")
203269
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
204270
#endif
205271
#pragma clang diagnostic ignored "-Wunknown-pragmas"
206272
#pragma clang diagnostic ignored "-Wnullability"
273+
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
207274

208275
#if __has_attribute(external_source_symbol)
209276
# pragma push_macro("any")
@@ -212,11 +279,19 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
212279
# pragma pop_macro("any")
213280
#endif
214281

282+
#if defined(__OBJC__)
215283

216-
SWIFT_EXTERN void __aZJexIaQHtmWRCqSibUPIXn(void);
284+
SWIFT_EXTERN void __yhBLkjoYhVRqAhcebKfvnAV(void);
217285

286+
#endif
287+
#if defined(__cplusplus)
288+
#endif
218289
#if __has_attribute(external_source_symbol)
219290
# pragma clang attribute pop
220291
#endif
221292
#pragma clang diagnostic pop
222293
#endif
294+
295+
#else
296+
#error unsupported Swift architecture
297+
#endif
Binary file not shown.

0 commit comments

Comments
 (0)