revengai 1.94.0__py3-none-any.whl → 1.96.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.96.0.dist-info}/METADATA +4 -2
- {revengai-1.94.0.dist-info → revengai-1.96.0.dist-info}/RECORD +26 -25
- revengai-1.96.0.dist-info/licenses/LICENSE.md +19 -0
- {revengai-1.94.0.dist-info → revengai-1.96.0.dist-info}/WHEEL +0 -0
|
@@ -15,9 +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
|
|
19
|
-
from typing import Optional
|
|
20
|
-
from typing_extensions import Annotated
|
|
18
|
+
from pydantic import StrictInt
|
|
21
19
|
from revengai.models.base_response_block_comments_generation_for_function_response import BaseResponseBlockCommentsGenerationForFunctionResponse
|
|
22
20
|
from revengai.models.base_response_block_comments_overview_generation_response import BaseResponseBlockCommentsOverviewGenerationResponse
|
|
23
21
|
from revengai.models.block import Block
|
|
@@ -45,7 +43,6 @@ class FunctionsBlockCommentsApi:
|
|
|
45
43
|
self,
|
|
46
44
|
function_id: StrictInt,
|
|
47
45
|
block: Block,
|
|
48
|
-
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
|
49
46
|
_request_timeout: Union[
|
|
50
47
|
None,
|
|
51
48
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -66,8 +63,6 @@ class FunctionsBlockCommentsApi:
|
|
|
66
63
|
:type function_id: int
|
|
67
64
|
:param block: (required)
|
|
68
65
|
:type block: Block
|
|
69
|
-
:param authorization: API Key bearer token
|
|
70
|
-
:type authorization: str
|
|
71
66
|
:param _request_timeout: timeout setting for this request. If one
|
|
72
67
|
number provided, it will be total request
|
|
73
68
|
timeout. It can also be a pair (tuple) of
|
|
@@ -93,7 +88,6 @@ class FunctionsBlockCommentsApi:
|
|
|
93
88
|
_param = self._generate_block_comments_for_block_in_function_serialize(
|
|
94
89
|
function_id=function_id,
|
|
95
90
|
block=block,
|
|
96
|
-
authorization=authorization,
|
|
97
91
|
_request_auth=_request_auth,
|
|
98
92
|
_content_type=_content_type,
|
|
99
93
|
_headers=_headers,
|
|
@@ -120,7 +114,6 @@ class FunctionsBlockCommentsApi:
|
|
|
120
114
|
self,
|
|
121
115
|
function_id: StrictInt,
|
|
122
116
|
block: Block,
|
|
123
|
-
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
|
124
117
|
_request_timeout: Union[
|
|
125
118
|
None,
|
|
126
119
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -141,8 +134,6 @@ class FunctionsBlockCommentsApi:
|
|
|
141
134
|
:type function_id: int
|
|
142
135
|
:param block: (required)
|
|
143
136
|
:type block: Block
|
|
144
|
-
:param authorization: API Key bearer token
|
|
145
|
-
:type authorization: str
|
|
146
137
|
:param _request_timeout: timeout setting for this request. If one
|
|
147
138
|
number provided, it will be total request
|
|
148
139
|
timeout. It can also be a pair (tuple) of
|
|
@@ -168,7 +159,6 @@ class FunctionsBlockCommentsApi:
|
|
|
168
159
|
_param = self._generate_block_comments_for_block_in_function_serialize(
|
|
169
160
|
function_id=function_id,
|
|
170
161
|
block=block,
|
|
171
|
-
authorization=authorization,
|
|
172
162
|
_request_auth=_request_auth,
|
|
173
163
|
_content_type=_content_type,
|
|
174
164
|
_headers=_headers,
|
|
@@ -195,7 +185,6 @@ class FunctionsBlockCommentsApi:
|
|
|
195
185
|
self,
|
|
196
186
|
function_id: StrictInt,
|
|
197
187
|
block: Block,
|
|
198
|
-
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
|
199
188
|
_request_timeout: Union[
|
|
200
189
|
None,
|
|
201
190
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -216,8 +205,6 @@ class FunctionsBlockCommentsApi:
|
|
|
216
205
|
:type function_id: int
|
|
217
206
|
:param block: (required)
|
|
218
207
|
:type block: Block
|
|
219
|
-
:param authorization: API Key bearer token
|
|
220
|
-
:type authorization: str
|
|
221
208
|
:param _request_timeout: timeout setting for this request. If one
|
|
222
209
|
number provided, it will be total request
|
|
223
210
|
timeout. It can also be a pair (tuple) of
|
|
@@ -243,7 +230,6 @@ class FunctionsBlockCommentsApi:
|
|
|
243
230
|
_param = self._generate_block_comments_for_block_in_function_serialize(
|
|
244
231
|
function_id=function_id,
|
|
245
232
|
block=block,
|
|
246
|
-
authorization=authorization,
|
|
247
233
|
_request_auth=_request_auth,
|
|
248
234
|
_content_type=_content_type,
|
|
249
235
|
_headers=_headers,
|
|
@@ -265,7 +251,6 @@ class FunctionsBlockCommentsApi:
|
|
|
265
251
|
self,
|
|
266
252
|
function_id,
|
|
267
253
|
block,
|
|
268
|
-
authorization,
|
|
269
254
|
_request_auth,
|
|
270
255
|
_content_type,
|
|
271
256
|
_headers,
|
|
@@ -291,8 +276,6 @@ class FunctionsBlockCommentsApi:
|
|
|
291
276
|
_path_params['function_id'] = function_id
|
|
292
277
|
# process the query parameters
|
|
293
278
|
# process the header parameters
|
|
294
|
-
if authorization is not None:
|
|
295
|
-
_header_params['authorization'] = authorization
|
|
296
279
|
# process the form parameters
|
|
297
280
|
# process the body parameter
|
|
298
281
|
if block is not None:
|
|
@@ -348,7 +331,6 @@ class FunctionsBlockCommentsApi:
|
|
|
348
331
|
def generate_block_comments_for_function(
|
|
349
332
|
self,
|
|
350
333
|
function_id: StrictInt,
|
|
351
|
-
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
|
352
334
|
_request_timeout: Union[
|
|
353
335
|
None,
|
|
354
336
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -367,8 +349,6 @@ class FunctionsBlockCommentsApi:
|
|
|
367
349
|
|
|
368
350
|
:param function_id: (required)
|
|
369
351
|
:type function_id: int
|
|
370
|
-
:param authorization: API Key bearer token
|
|
371
|
-
:type authorization: str
|
|
372
352
|
:param _request_timeout: timeout setting for this request. If one
|
|
373
353
|
number provided, it will be total request
|
|
374
354
|
timeout. It can also be a pair (tuple) of
|
|
@@ -393,7 +373,6 @@ class FunctionsBlockCommentsApi:
|
|
|
393
373
|
|
|
394
374
|
_param = self._generate_block_comments_for_function_serialize(
|
|
395
375
|
function_id=function_id,
|
|
396
|
-
authorization=authorization,
|
|
397
376
|
_request_auth=_request_auth,
|
|
398
377
|
_content_type=_content_type,
|
|
399
378
|
_headers=_headers,
|
|
@@ -419,7 +398,6 @@ class FunctionsBlockCommentsApi:
|
|
|
419
398
|
def generate_block_comments_for_function_with_http_info(
|
|
420
399
|
self,
|
|
421
400
|
function_id: StrictInt,
|
|
422
|
-
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
|
423
401
|
_request_timeout: Union[
|
|
424
402
|
None,
|
|
425
403
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -438,8 +416,6 @@ class FunctionsBlockCommentsApi:
|
|
|
438
416
|
|
|
439
417
|
:param function_id: (required)
|
|
440
418
|
:type function_id: int
|
|
441
|
-
:param authorization: API Key bearer token
|
|
442
|
-
:type authorization: str
|
|
443
419
|
:param _request_timeout: timeout setting for this request. If one
|
|
444
420
|
number provided, it will be total request
|
|
445
421
|
timeout. It can also be a pair (tuple) of
|
|
@@ -464,7 +440,6 @@ class FunctionsBlockCommentsApi:
|
|
|
464
440
|
|
|
465
441
|
_param = self._generate_block_comments_for_function_serialize(
|
|
466
442
|
function_id=function_id,
|
|
467
|
-
authorization=authorization,
|
|
468
443
|
_request_auth=_request_auth,
|
|
469
444
|
_content_type=_content_type,
|
|
470
445
|
_headers=_headers,
|
|
@@ -490,7 +465,6 @@ class FunctionsBlockCommentsApi:
|
|
|
490
465
|
def generate_block_comments_for_function_without_preload_content(
|
|
491
466
|
self,
|
|
492
467
|
function_id: StrictInt,
|
|
493
|
-
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
|
494
468
|
_request_timeout: Union[
|
|
495
469
|
None,
|
|
496
470
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -509,8 +483,6 @@ class FunctionsBlockCommentsApi:
|
|
|
509
483
|
|
|
510
484
|
:param function_id: (required)
|
|
511
485
|
:type function_id: int
|
|
512
|
-
:param authorization: API Key bearer token
|
|
513
|
-
:type authorization: str
|
|
514
486
|
:param _request_timeout: timeout setting for this request. If one
|
|
515
487
|
number provided, it will be total request
|
|
516
488
|
timeout. It can also be a pair (tuple) of
|
|
@@ -535,7 +507,6 @@ class FunctionsBlockCommentsApi:
|
|
|
535
507
|
|
|
536
508
|
_param = self._generate_block_comments_for_function_serialize(
|
|
537
509
|
function_id=function_id,
|
|
538
|
-
authorization=authorization,
|
|
539
510
|
_request_auth=_request_auth,
|
|
540
511
|
_content_type=_content_type,
|
|
541
512
|
_headers=_headers,
|
|
@@ -556,7 +527,6 @@ class FunctionsBlockCommentsApi:
|
|
|
556
527
|
def _generate_block_comments_for_function_serialize(
|
|
557
528
|
self,
|
|
558
529
|
function_id,
|
|
559
|
-
authorization,
|
|
560
530
|
_request_auth,
|
|
561
531
|
_content_type,
|
|
562
532
|
_headers,
|
|
@@ -582,8 +552,6 @@ class FunctionsBlockCommentsApi:
|
|
|
582
552
|
_path_params['function_id'] = function_id
|
|
583
553
|
# process the query parameters
|
|
584
554
|
# process the header parameters
|
|
585
|
-
if authorization is not None:
|
|
586
|
-
_header_params['authorization'] = authorization
|
|
587
555
|
# process the form parameters
|
|
588
556
|
# process the body parameter
|
|
589
557
|
|
|
@@ -624,7 +592,6 @@ class FunctionsBlockCommentsApi:
|
|
|
624
592
|
def generate_overview_comment_for_function(
|
|
625
593
|
self,
|
|
626
594
|
function_id: StrictInt,
|
|
627
|
-
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
|
628
595
|
_request_timeout: Union[
|
|
629
596
|
None,
|
|
630
597
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -643,8 +610,6 @@ class FunctionsBlockCommentsApi:
|
|
|
643
610
|
|
|
644
611
|
:param function_id: (required)
|
|
645
612
|
:type function_id: int
|
|
646
|
-
:param authorization: API Key bearer token
|
|
647
|
-
:type authorization: str
|
|
648
613
|
:param _request_timeout: timeout setting for this request. If one
|
|
649
614
|
number provided, it will be total request
|
|
650
615
|
timeout. It can also be a pair (tuple) of
|
|
@@ -669,7 +634,6 @@ class FunctionsBlockCommentsApi:
|
|
|
669
634
|
|
|
670
635
|
_param = self._generate_overview_comment_for_function_serialize(
|
|
671
636
|
function_id=function_id,
|
|
672
|
-
authorization=authorization,
|
|
673
637
|
_request_auth=_request_auth,
|
|
674
638
|
_content_type=_content_type,
|
|
675
639
|
_headers=_headers,
|
|
@@ -695,7 +659,6 @@ class FunctionsBlockCommentsApi:
|
|
|
695
659
|
def generate_overview_comment_for_function_with_http_info(
|
|
696
660
|
self,
|
|
697
661
|
function_id: StrictInt,
|
|
698
|
-
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
|
699
662
|
_request_timeout: Union[
|
|
700
663
|
None,
|
|
701
664
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -714,8 +677,6 @@ class FunctionsBlockCommentsApi:
|
|
|
714
677
|
|
|
715
678
|
:param function_id: (required)
|
|
716
679
|
:type function_id: int
|
|
717
|
-
:param authorization: API Key bearer token
|
|
718
|
-
:type authorization: str
|
|
719
680
|
:param _request_timeout: timeout setting for this request. If one
|
|
720
681
|
number provided, it will be total request
|
|
721
682
|
timeout. It can also be a pair (tuple) of
|
|
@@ -740,7 +701,6 @@ class FunctionsBlockCommentsApi:
|
|
|
740
701
|
|
|
741
702
|
_param = self._generate_overview_comment_for_function_serialize(
|
|
742
703
|
function_id=function_id,
|
|
743
|
-
authorization=authorization,
|
|
744
704
|
_request_auth=_request_auth,
|
|
745
705
|
_content_type=_content_type,
|
|
746
706
|
_headers=_headers,
|
|
@@ -766,7 +726,6 @@ class FunctionsBlockCommentsApi:
|
|
|
766
726
|
def generate_overview_comment_for_function_without_preload_content(
|
|
767
727
|
self,
|
|
768
728
|
function_id: StrictInt,
|
|
769
|
-
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
|
770
729
|
_request_timeout: Union[
|
|
771
730
|
None,
|
|
772
731
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -785,8 +744,6 @@ class FunctionsBlockCommentsApi:
|
|
|
785
744
|
|
|
786
745
|
:param function_id: (required)
|
|
787
746
|
:type function_id: int
|
|
788
|
-
:param authorization: API Key bearer token
|
|
789
|
-
:type authorization: str
|
|
790
747
|
:param _request_timeout: timeout setting for this request. If one
|
|
791
748
|
number provided, it will be total request
|
|
792
749
|
timeout. It can also be a pair (tuple) of
|
|
@@ -811,7 +768,6 @@ class FunctionsBlockCommentsApi:
|
|
|
811
768
|
|
|
812
769
|
_param = self._generate_overview_comment_for_function_serialize(
|
|
813
770
|
function_id=function_id,
|
|
814
|
-
authorization=authorization,
|
|
815
771
|
_request_auth=_request_auth,
|
|
816
772
|
_content_type=_content_type,
|
|
817
773
|
_headers=_headers,
|
|
@@ -832,7 +788,6 @@ class FunctionsBlockCommentsApi:
|
|
|
832
788
|
def _generate_overview_comment_for_function_serialize(
|
|
833
789
|
self,
|
|
834
790
|
function_id,
|
|
835
|
-
authorization,
|
|
836
791
|
_request_auth,
|
|
837
792
|
_content_type,
|
|
838
793
|
_headers,
|
|
@@ -858,8 +813,6 @@ class FunctionsBlockCommentsApi:
|
|
|
858
813
|
_path_params['function_id'] = function_id
|
|
859
814
|
# process the query parameters
|
|
860
815
|
# process the header parameters
|
|
861
|
-
if authorization is not None:
|
|
862
|
-
_header_params['authorization'] = authorization
|
|
863
816
|
# process the form parameters
|
|
864
817
|
# process the body parameter
|
|
865
818
|
|