revengai 1.94.0__py3-none-any.whl → 1.95.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of revengai might be problematic. Click here for more details.
- revengai/__init__.py +1 -1
- revengai/api/analyses_comments_api.py +1 -62
- revengai/api/analyses_core_api.py +0 -240
- revengai/api/analyses_dynamic_execution_api.py +2 -108
- revengai/api/analyses_results_metadata_api.py +0 -105
- revengai/api/analyses_security_checks_api.py +1 -47
- revengai/api/authentication_users_api.py +1 -63
- revengai/api/binaries_api.py +2 -93
- revengai/api/collections_api.py +0 -105
- revengai/api/confidence_api.py +1 -62
- revengai/api/external_sources_api.py +1 -93
- revengai/api/firmware_api.py +1 -32
- revengai/api/functions_ai_decompilation_api.py +1 -136
- revengai/api/functions_block_comments_api.py +1 -48
- revengai/api/functions_core_api.py +0 -195
- revengai/api/functions_data_types_api.py +1 -92
- revengai/api/functions_decompilation_api.py +1 -107
- revengai/api/functions_renaming_history_api.py +1 -63
- revengai/api/models_api.py +0 -18
- revengai/api/search_api.py +0 -45
- revengai/api_client.py +1 -1
- revengai/configuration.py +2 -2
- {revengai-1.94.0.dist-info → revengai-1.95.0.dist-info}/METADATA +4 -2
- {revengai-1.94.0.dist-info → revengai-1.95.0.dist-info}/RECORD +26 -25
- revengai-1.95.0.dist-info/licenses/LICENSE.md +19 -0
- {revengai-1.94.0.dist-info → revengai-1.95.0.dist-info}/WHEEL +0 -0
revengai/__init__.py
CHANGED
|
@@ -15,8 +15,7 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
|
15
15
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
16
16
|
from typing_extensions import Annotated
|
|
17
17
|
|
|
18
|
-
from pydantic import Field, StrictInt
|
|
19
|
-
from typing import Optional
|
|
18
|
+
from pydantic import Field, StrictInt
|
|
20
19
|
from typing_extensions import Annotated
|
|
21
20
|
from revengai.models.base_response_bool import BaseResponseBool
|
|
22
21
|
from revengai.models.base_response_comment_response import BaseResponseCommentResponse
|
|
@@ -47,7 +46,6 @@ class AnalysesCommentsApi:
|
|
|
47
46
|
self,
|
|
48
47
|
analysis_id: StrictInt,
|
|
49
48
|
comment_base: CommentBase,
|
|
50
|
-
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
|
51
49
|
_request_timeout: Union[
|
|
52
50
|
None,
|
|
53
51
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -69,8 +67,6 @@ class AnalysesCommentsApi:
|
|
|
69
67
|
:type analysis_id: int
|
|
70
68
|
:param comment_base: (required)
|
|
71
69
|
:type comment_base: CommentBase
|
|
72
|
-
:param authorization: API Key bearer token
|
|
73
|
-
:type authorization: str
|
|
74
70
|
:param _request_timeout: timeout setting for this request. If one
|
|
75
71
|
number provided, it will be total request
|
|
76
72
|
timeout. It can also be a pair (tuple) of
|
|
@@ -96,7 +92,6 @@ class AnalysesCommentsApi:
|
|
|
96
92
|
_param = self._create_analysis_comment_serialize(
|
|
97
93
|
analysis_id=analysis_id,
|
|
98
94
|
comment_base=comment_base,
|
|
99
|
-
authorization=authorization,
|
|
100
95
|
_request_auth=_request_auth,
|
|
101
96
|
_content_type=_content_type,
|
|
102
97
|
_headers=_headers,
|
|
@@ -124,7 +119,6 @@ class AnalysesCommentsApi:
|
|
|
124
119
|
self,
|
|
125
120
|
analysis_id: StrictInt,
|
|
126
121
|
comment_base: CommentBase,
|
|
127
|
-
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
|
128
122
|
_request_timeout: Union[
|
|
129
123
|
None,
|
|
130
124
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -146,8 +140,6 @@ class AnalysesCommentsApi:
|
|
|
146
140
|
:type analysis_id: int
|
|
147
141
|
:param comment_base: (required)
|
|
148
142
|
:type comment_base: CommentBase
|
|
149
|
-
:param authorization: API Key bearer token
|
|
150
|
-
:type authorization: str
|
|
151
143
|
:param _request_timeout: timeout setting for this request. If one
|
|
152
144
|
number provided, it will be total request
|
|
153
145
|
timeout. It can also be a pair (tuple) of
|
|
@@ -173,7 +165,6 @@ class AnalysesCommentsApi:
|
|
|
173
165
|
_param = self._create_analysis_comment_serialize(
|
|
174
166
|
analysis_id=analysis_id,
|
|
175
167
|
comment_base=comment_base,
|
|
176
|
-
authorization=authorization,
|
|
177
168
|
_request_auth=_request_auth,
|
|
178
169
|
_content_type=_content_type,
|
|
179
170
|
_headers=_headers,
|
|
@@ -201,7 +192,6 @@ class AnalysesCommentsApi:
|
|
|
201
192
|
self,
|
|
202
193
|
analysis_id: StrictInt,
|
|
203
194
|
comment_base: CommentBase,
|
|
204
|
-
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
|
205
195
|
_request_timeout: Union[
|
|
206
196
|
None,
|
|
207
197
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -223,8 +213,6 @@ class AnalysesCommentsApi:
|
|
|
223
213
|
:type analysis_id: int
|
|
224
214
|
:param comment_base: (required)
|
|
225
215
|
:type comment_base: CommentBase
|
|
226
|
-
:param authorization: API Key bearer token
|
|
227
|
-
:type authorization: str
|
|
228
216
|
:param _request_timeout: timeout setting for this request. If one
|
|
229
217
|
number provided, it will be total request
|
|
230
218
|
timeout. It can also be a pair (tuple) of
|
|
@@ -250,7 +238,6 @@ class AnalysesCommentsApi:
|
|
|
250
238
|
_param = self._create_analysis_comment_serialize(
|
|
251
239
|
analysis_id=analysis_id,
|
|
252
240
|
comment_base=comment_base,
|
|
253
|
-
authorization=authorization,
|
|
254
241
|
_request_auth=_request_auth,
|
|
255
242
|
_content_type=_content_type,
|
|
256
243
|
_headers=_headers,
|
|
@@ -273,7 +260,6 @@ class AnalysesCommentsApi:
|
|
|
273
260
|
self,
|
|
274
261
|
analysis_id,
|
|
275
262
|
comment_base,
|
|
276
|
-
authorization,
|
|
277
263
|
_request_auth,
|
|
278
264
|
_content_type,
|
|
279
265
|
_headers,
|
|
@@ -299,8 +285,6 @@ class AnalysesCommentsApi:
|
|
|
299
285
|
_path_params['analysis_id'] = analysis_id
|
|
300
286
|
# process the query parameters
|
|
301
287
|
# process the header parameters
|
|
302
|
-
if authorization is not None:
|
|
303
|
-
_header_params['authorization'] = authorization
|
|
304
288
|
# process the form parameters
|
|
305
289
|
# process the body parameter
|
|
306
290
|
if comment_base is not None:
|
|
@@ -357,7 +341,6 @@ class AnalysesCommentsApi:
|
|
|
357
341
|
self,
|
|
358
342
|
comment_id: Annotated[int, Field(strict=True, ge=1)],
|
|
359
343
|
analysis_id: StrictInt,
|
|
360
|
-
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
|
361
344
|
_request_timeout: Union[
|
|
362
345
|
None,
|
|
363
346
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -379,8 +362,6 @@ class AnalysesCommentsApi:
|
|
|
379
362
|
:type comment_id: int
|
|
380
363
|
:param analysis_id: (required)
|
|
381
364
|
:type analysis_id: int
|
|
382
|
-
:param authorization: API Key bearer token
|
|
383
|
-
:type authorization: str
|
|
384
365
|
:param _request_timeout: timeout setting for this request. If one
|
|
385
366
|
number provided, it will be total request
|
|
386
367
|
timeout. It can also be a pair (tuple) of
|
|
@@ -406,7 +387,6 @@ class AnalysesCommentsApi:
|
|
|
406
387
|
_param = self._delete_analysis_comment_serialize(
|
|
407
388
|
comment_id=comment_id,
|
|
408
389
|
analysis_id=analysis_id,
|
|
409
|
-
authorization=authorization,
|
|
410
390
|
_request_auth=_request_auth,
|
|
411
391
|
_content_type=_content_type,
|
|
412
392
|
_headers=_headers,
|
|
@@ -435,7 +415,6 @@ class AnalysesCommentsApi:
|
|
|
435
415
|
self,
|
|
436
416
|
comment_id: Annotated[int, Field(strict=True, ge=1)],
|
|
437
417
|
analysis_id: StrictInt,
|
|
438
|
-
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
|
439
418
|
_request_timeout: Union[
|
|
440
419
|
None,
|
|
441
420
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -457,8 +436,6 @@ class AnalysesCommentsApi:
|
|
|
457
436
|
:type comment_id: int
|
|
458
437
|
:param analysis_id: (required)
|
|
459
438
|
:type analysis_id: int
|
|
460
|
-
:param authorization: API Key bearer token
|
|
461
|
-
:type authorization: str
|
|
462
439
|
:param _request_timeout: timeout setting for this request. If one
|
|
463
440
|
number provided, it will be total request
|
|
464
441
|
timeout. It can also be a pair (tuple) of
|
|
@@ -484,7 +461,6 @@ class AnalysesCommentsApi:
|
|
|
484
461
|
_param = self._delete_analysis_comment_serialize(
|
|
485
462
|
comment_id=comment_id,
|
|
486
463
|
analysis_id=analysis_id,
|
|
487
|
-
authorization=authorization,
|
|
488
464
|
_request_auth=_request_auth,
|
|
489
465
|
_content_type=_content_type,
|
|
490
466
|
_headers=_headers,
|
|
@@ -513,7 +489,6 @@ class AnalysesCommentsApi:
|
|
|
513
489
|
self,
|
|
514
490
|
comment_id: Annotated[int, Field(strict=True, ge=1)],
|
|
515
491
|
analysis_id: StrictInt,
|
|
516
|
-
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
|
517
492
|
_request_timeout: Union[
|
|
518
493
|
None,
|
|
519
494
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -535,8 +510,6 @@ class AnalysesCommentsApi:
|
|
|
535
510
|
:type comment_id: int
|
|
536
511
|
:param analysis_id: (required)
|
|
537
512
|
:type analysis_id: int
|
|
538
|
-
:param authorization: API Key bearer token
|
|
539
|
-
:type authorization: str
|
|
540
513
|
:param _request_timeout: timeout setting for this request. If one
|
|
541
514
|
number provided, it will be total request
|
|
542
515
|
timeout. It can also be a pair (tuple) of
|
|
@@ -562,7 +535,6 @@ class AnalysesCommentsApi:
|
|
|
562
535
|
_param = self._delete_analysis_comment_serialize(
|
|
563
536
|
comment_id=comment_id,
|
|
564
537
|
analysis_id=analysis_id,
|
|
565
|
-
authorization=authorization,
|
|
566
538
|
_request_auth=_request_auth,
|
|
567
539
|
_content_type=_content_type,
|
|
568
540
|
_headers=_headers,
|
|
@@ -586,7 +558,6 @@ class AnalysesCommentsApi:
|
|
|
586
558
|
self,
|
|
587
559
|
comment_id,
|
|
588
560
|
analysis_id,
|
|
589
|
-
authorization,
|
|
590
561
|
_request_auth,
|
|
591
562
|
_content_type,
|
|
592
563
|
_headers,
|
|
@@ -614,8 +585,6 @@ class AnalysesCommentsApi:
|
|
|
614
585
|
_path_params['analysis_id'] = analysis_id
|
|
615
586
|
# process the query parameters
|
|
616
587
|
# process the header parameters
|
|
617
|
-
if authorization is not None:
|
|
618
|
-
_header_params['authorization'] = authorization
|
|
619
588
|
# process the form parameters
|
|
620
589
|
# process the body parameter
|
|
621
590
|
|
|
@@ -656,7 +625,6 @@ class AnalysesCommentsApi:
|
|
|
656
625
|
def get_analysis_comments(
|
|
657
626
|
self,
|
|
658
627
|
analysis_id: StrictInt,
|
|
659
|
-
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
|
660
628
|
_request_timeout: Union[
|
|
661
629
|
None,
|
|
662
630
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -676,8 +644,6 @@ class AnalysesCommentsApi:
|
|
|
676
644
|
|
|
677
645
|
:param analysis_id: (required)
|
|
678
646
|
:type analysis_id: int
|
|
679
|
-
:param authorization: API Key bearer token
|
|
680
|
-
:type authorization: str
|
|
681
647
|
:param _request_timeout: timeout setting for this request. If one
|
|
682
648
|
number provided, it will be total request
|
|
683
649
|
timeout. It can also be a pair (tuple) of
|
|
@@ -702,7 +668,6 @@ class AnalysesCommentsApi:
|
|
|
702
668
|
|
|
703
669
|
_param = self._get_analysis_comments_serialize(
|
|
704
670
|
analysis_id=analysis_id,
|
|
705
|
-
authorization=authorization,
|
|
706
671
|
_request_auth=_request_auth,
|
|
707
672
|
_content_type=_content_type,
|
|
708
673
|
_headers=_headers,
|
|
@@ -728,7 +693,6 @@ class AnalysesCommentsApi:
|
|
|
728
693
|
def get_analysis_comments_with_http_info(
|
|
729
694
|
self,
|
|
730
695
|
analysis_id: StrictInt,
|
|
731
|
-
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
|
732
696
|
_request_timeout: Union[
|
|
733
697
|
None,
|
|
734
698
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -748,8 +712,6 @@ class AnalysesCommentsApi:
|
|
|
748
712
|
|
|
749
713
|
:param analysis_id: (required)
|
|
750
714
|
:type analysis_id: int
|
|
751
|
-
:param authorization: API Key bearer token
|
|
752
|
-
:type authorization: str
|
|
753
715
|
:param _request_timeout: timeout setting for this request. If one
|
|
754
716
|
number provided, it will be total request
|
|
755
717
|
timeout. It can also be a pair (tuple) of
|
|
@@ -774,7 +736,6 @@ class AnalysesCommentsApi:
|
|
|
774
736
|
|
|
775
737
|
_param = self._get_analysis_comments_serialize(
|
|
776
738
|
analysis_id=analysis_id,
|
|
777
|
-
authorization=authorization,
|
|
778
739
|
_request_auth=_request_auth,
|
|
779
740
|
_content_type=_content_type,
|
|
780
741
|
_headers=_headers,
|
|
@@ -800,7 +761,6 @@ class AnalysesCommentsApi:
|
|
|
800
761
|
def get_analysis_comments_without_preload_content(
|
|
801
762
|
self,
|
|
802
763
|
analysis_id: StrictInt,
|
|
803
|
-
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
|
804
764
|
_request_timeout: Union[
|
|
805
765
|
None,
|
|
806
766
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -820,8 +780,6 @@ class AnalysesCommentsApi:
|
|
|
820
780
|
|
|
821
781
|
:param analysis_id: (required)
|
|
822
782
|
:type analysis_id: int
|
|
823
|
-
:param authorization: API Key bearer token
|
|
824
|
-
:type authorization: str
|
|
825
783
|
:param _request_timeout: timeout setting for this request. If one
|
|
826
784
|
number provided, it will be total request
|
|
827
785
|
timeout. It can also be a pair (tuple) of
|
|
@@ -846,7 +804,6 @@ class AnalysesCommentsApi:
|
|
|
846
804
|
|
|
847
805
|
_param = self._get_analysis_comments_serialize(
|
|
848
806
|
analysis_id=analysis_id,
|
|
849
|
-
authorization=authorization,
|
|
850
807
|
_request_auth=_request_auth,
|
|
851
808
|
_content_type=_content_type,
|
|
852
809
|
_headers=_headers,
|
|
@@ -867,7 +824,6 @@ class AnalysesCommentsApi:
|
|
|
867
824
|
def _get_analysis_comments_serialize(
|
|
868
825
|
self,
|
|
869
826
|
analysis_id,
|
|
870
|
-
authorization,
|
|
871
827
|
_request_auth,
|
|
872
828
|
_content_type,
|
|
873
829
|
_headers,
|
|
@@ -893,8 +849,6 @@ class AnalysesCommentsApi:
|
|
|
893
849
|
_path_params['analysis_id'] = analysis_id
|
|
894
850
|
# process the query parameters
|
|
895
851
|
# process the header parameters
|
|
896
|
-
if authorization is not None:
|
|
897
|
-
_header_params['authorization'] = authorization
|
|
898
852
|
# process the form parameters
|
|
899
853
|
# process the body parameter
|
|
900
854
|
|
|
@@ -937,7 +891,6 @@ class AnalysesCommentsApi:
|
|
|
937
891
|
comment_id: Annotated[int, Field(strict=True, ge=1)],
|
|
938
892
|
analysis_id: StrictInt,
|
|
939
893
|
comment_update_request: CommentUpdateRequest,
|
|
940
|
-
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
|
941
894
|
_request_timeout: Union[
|
|
942
895
|
None,
|
|
943
896
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -961,8 +914,6 @@ class AnalysesCommentsApi:
|
|
|
961
914
|
:type analysis_id: int
|
|
962
915
|
:param comment_update_request: (required)
|
|
963
916
|
:type comment_update_request: CommentUpdateRequest
|
|
964
|
-
:param authorization: API Key bearer token
|
|
965
|
-
:type authorization: str
|
|
966
917
|
:param _request_timeout: timeout setting for this request. If one
|
|
967
918
|
number provided, it will be total request
|
|
968
919
|
timeout. It can also be a pair (tuple) of
|
|
@@ -989,7 +940,6 @@ class AnalysesCommentsApi:
|
|
|
989
940
|
comment_id=comment_id,
|
|
990
941
|
analysis_id=analysis_id,
|
|
991
942
|
comment_update_request=comment_update_request,
|
|
992
|
-
authorization=authorization,
|
|
993
943
|
_request_auth=_request_auth,
|
|
994
944
|
_content_type=_content_type,
|
|
995
945
|
_headers=_headers,
|
|
@@ -1019,7 +969,6 @@ class AnalysesCommentsApi:
|
|
|
1019
969
|
comment_id: Annotated[int, Field(strict=True, ge=1)],
|
|
1020
970
|
analysis_id: StrictInt,
|
|
1021
971
|
comment_update_request: CommentUpdateRequest,
|
|
1022
|
-
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
|
1023
972
|
_request_timeout: Union[
|
|
1024
973
|
None,
|
|
1025
974
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1043,8 +992,6 @@ class AnalysesCommentsApi:
|
|
|
1043
992
|
:type analysis_id: int
|
|
1044
993
|
:param comment_update_request: (required)
|
|
1045
994
|
:type comment_update_request: CommentUpdateRequest
|
|
1046
|
-
:param authorization: API Key bearer token
|
|
1047
|
-
:type authorization: str
|
|
1048
995
|
:param _request_timeout: timeout setting for this request. If one
|
|
1049
996
|
number provided, it will be total request
|
|
1050
997
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1071,7 +1018,6 @@ class AnalysesCommentsApi:
|
|
|
1071
1018
|
comment_id=comment_id,
|
|
1072
1019
|
analysis_id=analysis_id,
|
|
1073
1020
|
comment_update_request=comment_update_request,
|
|
1074
|
-
authorization=authorization,
|
|
1075
1021
|
_request_auth=_request_auth,
|
|
1076
1022
|
_content_type=_content_type,
|
|
1077
1023
|
_headers=_headers,
|
|
@@ -1101,7 +1047,6 @@ class AnalysesCommentsApi:
|
|
|
1101
1047
|
comment_id: Annotated[int, Field(strict=True, ge=1)],
|
|
1102
1048
|
analysis_id: StrictInt,
|
|
1103
1049
|
comment_update_request: CommentUpdateRequest,
|
|
1104
|
-
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
|
1105
1050
|
_request_timeout: Union[
|
|
1106
1051
|
None,
|
|
1107
1052
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1125,8 +1070,6 @@ class AnalysesCommentsApi:
|
|
|
1125
1070
|
:type analysis_id: int
|
|
1126
1071
|
:param comment_update_request: (required)
|
|
1127
1072
|
:type comment_update_request: CommentUpdateRequest
|
|
1128
|
-
:param authorization: API Key bearer token
|
|
1129
|
-
:type authorization: str
|
|
1130
1073
|
:param _request_timeout: timeout setting for this request. If one
|
|
1131
1074
|
number provided, it will be total request
|
|
1132
1075
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1153,7 +1096,6 @@ class AnalysesCommentsApi:
|
|
|
1153
1096
|
comment_id=comment_id,
|
|
1154
1097
|
analysis_id=analysis_id,
|
|
1155
1098
|
comment_update_request=comment_update_request,
|
|
1156
|
-
authorization=authorization,
|
|
1157
1099
|
_request_auth=_request_auth,
|
|
1158
1100
|
_content_type=_content_type,
|
|
1159
1101
|
_headers=_headers,
|
|
@@ -1178,7 +1120,6 @@ class AnalysesCommentsApi:
|
|
|
1178
1120
|
comment_id,
|
|
1179
1121
|
analysis_id,
|
|
1180
1122
|
comment_update_request,
|
|
1181
|
-
authorization,
|
|
1182
1123
|
_request_auth,
|
|
1183
1124
|
_content_type,
|
|
1184
1125
|
_headers,
|
|
@@ -1206,8 +1147,6 @@ class AnalysesCommentsApi:
|
|
|
1206
1147
|
_path_params['analysis_id'] = analysis_id
|
|
1207
1148
|
# process the query parameters
|
|
1208
1149
|
# process the header parameters
|
|
1209
|
-
if authorization is not None:
|
|
1210
|
-
_header_params['authorization'] = authorization
|
|
1211
1150
|
# process the form parameters
|
|
1212
1151
|
# process the body parameter
|
|
1213
1152
|
if comment_update_request is not None:
|