revengai 2.11.0__py3-none-any.whl → 2.11.7__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 +15 -1
- revengai/api/__init__.py +1 -0
- revengai/api/confidence_api.py +330 -0
- revengai/api_client.py +1 -1
- revengai/configuration.py +2 -2
- revengai/models/__init__.py +6 -0
- revengai/models/base_response_list_tag_origin_box_plot_confidence.py +129 -0
- revengai/models/box_plot_confidence.py +98 -0
- revengai/models/origin.py +42 -0
- revengai/models/tag_confidence_body.py +95 -0
- revengai/models/tag_origin_box_plot_confidence.py +96 -0
- revengai/models/tags.py +89 -0
- {revengai-2.11.0.dist-info → revengai-2.11.7.dist-info}/METADATA +8 -1
- {revengai-2.11.0.dist-info → revengai-2.11.7.dist-info}/RECORD +16 -9
- {revengai-2.11.0.dist-info → revengai-2.11.7.dist-info}/WHEEL +0 -0
- {revengai-2.11.0.dist-info → revengai-2.11.7.dist-info}/licenses/LICENSE.md +0 -0
revengai/__init__.py
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
__version__ = "v2.11.
|
|
16
|
+
__version__ = "v2.11.7"
|
|
17
17
|
|
|
18
18
|
# Define package exports
|
|
19
19
|
__all__ = [
|
|
@@ -25,6 +25,7 @@ __all__ = [
|
|
|
25
25
|
"AuthenticationUsersApi",
|
|
26
26
|
"BinariesApi",
|
|
27
27
|
"CollectionsApi",
|
|
28
|
+
"ConfidenceApi",
|
|
28
29
|
"ExternalSourcesApi",
|
|
29
30
|
"FirmwareApi",
|
|
30
31
|
"FunctionsAIDecompilationApi",
|
|
@@ -124,6 +125,7 @@ __all__ = [
|
|
|
124
125
|
"BaseResponseListDieMatch",
|
|
125
126
|
"BaseResponseListFunctionNameHistory",
|
|
126
127
|
"BaseResponseListSBOM",
|
|
128
|
+
"BaseResponseListTagOriginBoxPlotConfidence",
|
|
127
129
|
"BaseResponseListUserActivityResponse",
|
|
128
130
|
"BaseResponseLoginResponse",
|
|
129
131
|
"BaseResponseLogs",
|
|
@@ -156,6 +158,7 @@ __all__ = [
|
|
|
156
158
|
"BinaryTaskStatus",
|
|
157
159
|
"Block",
|
|
158
160
|
"BlockCommentsGenerationForFunctionResponse",
|
|
161
|
+
"BoxPlotConfidence",
|
|
159
162
|
"CalleeFunctionInfo",
|
|
160
163
|
"CalleesCallerFunctionsResponse",
|
|
161
164
|
"CallerFunctionInfo",
|
|
@@ -271,6 +274,7 @@ __all__ = [
|
|
|
271
274
|
"NetworkOverviewMetadata",
|
|
272
275
|
"NetworkOverviewResponse",
|
|
273
276
|
"Order",
|
|
277
|
+
"Origin",
|
|
274
278
|
"PDBDebugModel",
|
|
275
279
|
"PEModel",
|
|
276
280
|
"PaginationModel",
|
|
@@ -314,9 +318,12 @@ __all__ = [
|
|
|
314
318
|
"TTPSElement",
|
|
315
319
|
"TTPSOccurance",
|
|
316
320
|
"Tag",
|
|
321
|
+
"TagConfidenceBody",
|
|
322
|
+
"TagOriginBoxPlotConfidence",
|
|
317
323
|
"TagResponse",
|
|
318
324
|
"TagSearchResponse",
|
|
319
325
|
"TagSearchResult",
|
|
326
|
+
"Tags",
|
|
320
327
|
"TaskResponse",
|
|
321
328
|
"TaskStatus",
|
|
322
329
|
"TimestampModel",
|
|
@@ -341,6 +348,7 @@ from revengai.api.analyses_security_checks_api import AnalysesSecurityChecksApi
|
|
|
341
348
|
from revengai.api.authentication_users_api import AuthenticationUsersApi as AuthenticationUsersApi
|
|
342
349
|
from revengai.api.binaries_api import BinariesApi as BinariesApi
|
|
343
350
|
from revengai.api.collections_api import CollectionsApi as CollectionsApi
|
|
351
|
+
from revengai.api.confidence_api import ConfidenceApi as ConfidenceApi
|
|
344
352
|
from revengai.api.external_sources_api import ExternalSourcesApi as ExternalSourcesApi
|
|
345
353
|
from revengai.api.firmware_api import FirmwareApi as FirmwareApi
|
|
346
354
|
from revengai.api.functions_ai_decompilation_api import FunctionsAIDecompilationApi as FunctionsAIDecompilationApi
|
|
@@ -444,6 +452,7 @@ from revengai.models.base_response_list_comment_response import BaseResponseList
|
|
|
444
452
|
from revengai.models.base_response_list_die_match import BaseResponseListDieMatch as BaseResponseListDieMatch
|
|
445
453
|
from revengai.models.base_response_list_function_name_history import BaseResponseListFunctionNameHistory as BaseResponseListFunctionNameHistory
|
|
446
454
|
from revengai.models.base_response_list_sbom import BaseResponseListSBOM as BaseResponseListSBOM
|
|
455
|
+
from revengai.models.base_response_list_tag_origin_box_plot_confidence import BaseResponseListTagOriginBoxPlotConfidence as BaseResponseListTagOriginBoxPlotConfidence
|
|
447
456
|
from revengai.models.base_response_list_user_activity_response import BaseResponseListUserActivityResponse as BaseResponseListUserActivityResponse
|
|
448
457
|
from revengai.models.base_response_login_response import BaseResponseLoginResponse as BaseResponseLoginResponse
|
|
449
458
|
from revengai.models.base_response_logs import BaseResponseLogs as BaseResponseLogs
|
|
@@ -476,6 +485,7 @@ from revengai.models.binary_search_result import BinarySearchResult as BinarySea
|
|
|
476
485
|
from revengai.models.binary_task_status import BinaryTaskStatus as BinaryTaskStatus
|
|
477
486
|
from revengai.models.block import Block as Block
|
|
478
487
|
from revengai.models.block_comments_generation_for_function_response import BlockCommentsGenerationForFunctionResponse as BlockCommentsGenerationForFunctionResponse
|
|
488
|
+
from revengai.models.box_plot_confidence import BoxPlotConfidence as BoxPlotConfidence
|
|
479
489
|
from revengai.models.callee_function_info import CalleeFunctionInfo as CalleeFunctionInfo
|
|
480
490
|
from revengai.models.callees_caller_functions_response import CalleesCallerFunctionsResponse as CalleesCallerFunctionsResponse
|
|
481
491
|
from revengai.models.caller_function_info import CallerFunctionInfo as CallerFunctionInfo
|
|
@@ -591,6 +601,7 @@ from revengai.models.network_overview_dns_answer import NetworkOverviewDnsAnswer
|
|
|
591
601
|
from revengai.models.network_overview_metadata import NetworkOverviewMetadata as NetworkOverviewMetadata
|
|
592
602
|
from revengai.models.network_overview_response import NetworkOverviewResponse as NetworkOverviewResponse
|
|
593
603
|
from revengai.models.order import Order as Order
|
|
604
|
+
from revengai.models.origin import Origin as Origin
|
|
594
605
|
from revengai.models.pdb_debug_model import PDBDebugModel as PDBDebugModel
|
|
595
606
|
from revengai.models.pe_model import PEModel as PEModel
|
|
596
607
|
from revengai.models.pagination_model import PaginationModel as PaginationModel
|
|
@@ -634,9 +645,12 @@ from revengai.models.ttps_data import TTPSData as TTPSData
|
|
|
634
645
|
from revengai.models.ttps_element import TTPSElement as TTPSElement
|
|
635
646
|
from revengai.models.ttps_occurance import TTPSOccurance as TTPSOccurance
|
|
636
647
|
from revengai.models.tag import Tag as Tag
|
|
648
|
+
from revengai.models.tag_confidence_body import TagConfidenceBody as TagConfidenceBody
|
|
649
|
+
from revengai.models.tag_origin_box_plot_confidence import TagOriginBoxPlotConfidence as TagOriginBoxPlotConfidence
|
|
637
650
|
from revengai.models.tag_response import TagResponse as TagResponse
|
|
638
651
|
from revengai.models.tag_search_response import TagSearchResponse as TagSearchResponse
|
|
639
652
|
from revengai.models.tag_search_result import TagSearchResult as TagSearchResult
|
|
653
|
+
from revengai.models.tags import Tags as Tags
|
|
640
654
|
from revengai.models.task_response import TaskResponse as TaskResponse
|
|
641
655
|
from revengai.models.task_status import TaskStatus as TaskStatus
|
|
642
656
|
from revengai.models.timestamp_model import TimestampModel as TimestampModel
|
revengai/api/__init__.py
CHANGED
|
@@ -9,6 +9,7 @@ from revengai.api.analyses_security_checks_api import AnalysesSecurityChecksApi
|
|
|
9
9
|
from revengai.api.authentication_users_api import AuthenticationUsersApi
|
|
10
10
|
from revengai.api.binaries_api import BinariesApi
|
|
11
11
|
from revengai.api.collections_api import CollectionsApi
|
|
12
|
+
from revengai.api.confidence_api import ConfidenceApi
|
|
12
13
|
from revengai.api.external_sources_api import ExternalSourcesApi
|
|
13
14
|
from revengai.api.firmware_api import FirmwareApi
|
|
14
15
|
from revengai.api.functions_ai_decompilation_api import FunctionsAIDecompilationApi
|
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
RevEng.AI API
|
|
5
|
+
|
|
6
|
+
RevEng.AI is Similarity Search Engine for executable binaries
|
|
7
|
+
|
|
8
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
9
|
+
|
|
10
|
+
Do not edit the class manually.
|
|
11
|
+
""" # noqa: E501
|
|
12
|
+
|
|
13
|
+
import warnings
|
|
14
|
+
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
15
|
+
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
16
|
+
from typing_extensions import Annotated
|
|
17
|
+
|
|
18
|
+
from pydantic import Field, StrictInt
|
|
19
|
+
from typing_extensions import Annotated
|
|
20
|
+
from revengai.models.base_response_list_tag_origin_box_plot_confidence import BaseResponseListTagOriginBoxPlotConfidence
|
|
21
|
+
from revengai.models.tag_confidence_body import TagConfidenceBody
|
|
22
|
+
|
|
23
|
+
from revengai.api_client import ApiClient, RequestSerialized
|
|
24
|
+
from revengai.api_response import ApiResponse
|
|
25
|
+
from revengai.rest import RESTResponseType
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
class ConfidenceApi:
|
|
29
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
30
|
+
Ref: https://openapi-generator.tech
|
|
31
|
+
|
|
32
|
+
Do not edit the class manually.
|
|
33
|
+
"""
|
|
34
|
+
|
|
35
|
+
def __init__(self, api_client=None) -> None:
|
|
36
|
+
if api_client is None:
|
|
37
|
+
api_client = ApiClient.get_default()
|
|
38
|
+
self.api_client = api_client
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
@validate_call
|
|
42
|
+
def get_analysis_tag_score(
|
|
43
|
+
self,
|
|
44
|
+
analysis_id: Annotated[StrictInt, Field(description="The analysis to calculate the tag scores for")],
|
|
45
|
+
tag_confidence_body: TagConfidenceBody,
|
|
46
|
+
_request_timeout: Union[
|
|
47
|
+
None,
|
|
48
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
49
|
+
Tuple[
|
|
50
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
51
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
52
|
+
]
|
|
53
|
+
] = None,
|
|
54
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
55
|
+
_content_type: Optional[StrictStr] = None,
|
|
56
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
57
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
58
|
+
) -> BaseResponseListTagOriginBoxPlotConfidence:
|
|
59
|
+
"""Calculate Tag Confidence Score for an Analysis
|
|
60
|
+
|
|
61
|
+
Accepts a analysis ID and a list of tags, returns the confidence score for each tag in the list
|
|
62
|
+
|
|
63
|
+
:param analysis_id: The analysis to calculate the tag scores for (required)
|
|
64
|
+
:type analysis_id: int
|
|
65
|
+
:param tag_confidence_body: (required)
|
|
66
|
+
:type tag_confidence_body: TagConfidenceBody
|
|
67
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
68
|
+
number provided, it will be total request
|
|
69
|
+
timeout. It can also be a pair (tuple) of
|
|
70
|
+
(connection, read) timeouts.
|
|
71
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
72
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
73
|
+
request; this effectively ignores the
|
|
74
|
+
authentication in the spec for a single request.
|
|
75
|
+
:type _request_auth: dict, optional
|
|
76
|
+
:param _content_type: force content-type for the request.
|
|
77
|
+
:type _content_type: str, Optional
|
|
78
|
+
:param _headers: set to override the headers for a single
|
|
79
|
+
request; this effectively ignores the headers
|
|
80
|
+
in the spec for a single request.
|
|
81
|
+
:type _headers: dict, optional
|
|
82
|
+
:param _host_index: set to override the host_index for a single
|
|
83
|
+
request; this effectively ignores the host_index
|
|
84
|
+
in the spec for a single request.
|
|
85
|
+
:type _host_index: int, optional
|
|
86
|
+
:return: Returns the result object.
|
|
87
|
+
""" # noqa: E501
|
|
88
|
+
|
|
89
|
+
_param = self._get_analysis_tag_score_serialize(
|
|
90
|
+
analysis_id=analysis_id,
|
|
91
|
+
tag_confidence_body=tag_confidence_body,
|
|
92
|
+
_request_auth=_request_auth,
|
|
93
|
+
_content_type=_content_type,
|
|
94
|
+
_headers=_headers,
|
|
95
|
+
_host_index=_host_index
|
|
96
|
+
)
|
|
97
|
+
|
|
98
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
99
|
+
'200': "BaseResponseListTagOriginBoxPlotConfidence",
|
|
100
|
+
'422': "BaseResponse",
|
|
101
|
+
}
|
|
102
|
+
response_data = self.api_client.call_api(
|
|
103
|
+
*_param,
|
|
104
|
+
_request_timeout=_request_timeout
|
|
105
|
+
)
|
|
106
|
+
response_data.read()
|
|
107
|
+
return self.api_client.response_deserialize(
|
|
108
|
+
response_data=response_data,
|
|
109
|
+
response_types_map=_response_types_map,
|
|
110
|
+
).data
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
@validate_call
|
|
114
|
+
def get_analysis_tag_score_with_http_info(
|
|
115
|
+
self,
|
|
116
|
+
analysis_id: Annotated[StrictInt, Field(description="The analysis to calculate the tag scores for")],
|
|
117
|
+
tag_confidence_body: TagConfidenceBody,
|
|
118
|
+
_request_timeout: Union[
|
|
119
|
+
None,
|
|
120
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
121
|
+
Tuple[
|
|
122
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
123
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
124
|
+
]
|
|
125
|
+
] = None,
|
|
126
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
127
|
+
_content_type: Optional[StrictStr] = None,
|
|
128
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
129
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
130
|
+
) -> ApiResponse[BaseResponseListTagOriginBoxPlotConfidence]:
|
|
131
|
+
"""Calculate Tag Confidence Score for an Analysis
|
|
132
|
+
|
|
133
|
+
Accepts a analysis ID and a list of tags, returns the confidence score for each tag in the list
|
|
134
|
+
|
|
135
|
+
:param analysis_id: The analysis to calculate the tag scores for (required)
|
|
136
|
+
:type analysis_id: int
|
|
137
|
+
:param tag_confidence_body: (required)
|
|
138
|
+
:type tag_confidence_body: TagConfidenceBody
|
|
139
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
140
|
+
number provided, it will be total request
|
|
141
|
+
timeout. It can also be a pair (tuple) of
|
|
142
|
+
(connection, read) timeouts.
|
|
143
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
144
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
145
|
+
request; this effectively ignores the
|
|
146
|
+
authentication in the spec for a single request.
|
|
147
|
+
:type _request_auth: dict, optional
|
|
148
|
+
:param _content_type: force content-type for the request.
|
|
149
|
+
:type _content_type: str, Optional
|
|
150
|
+
:param _headers: set to override the headers for a single
|
|
151
|
+
request; this effectively ignores the headers
|
|
152
|
+
in the spec for a single request.
|
|
153
|
+
:type _headers: dict, optional
|
|
154
|
+
:param _host_index: set to override the host_index for a single
|
|
155
|
+
request; this effectively ignores the host_index
|
|
156
|
+
in the spec for a single request.
|
|
157
|
+
:type _host_index: int, optional
|
|
158
|
+
:return: Returns the result object.
|
|
159
|
+
""" # noqa: E501
|
|
160
|
+
|
|
161
|
+
_param = self._get_analysis_tag_score_serialize(
|
|
162
|
+
analysis_id=analysis_id,
|
|
163
|
+
tag_confidence_body=tag_confidence_body,
|
|
164
|
+
_request_auth=_request_auth,
|
|
165
|
+
_content_type=_content_type,
|
|
166
|
+
_headers=_headers,
|
|
167
|
+
_host_index=_host_index
|
|
168
|
+
)
|
|
169
|
+
|
|
170
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
171
|
+
'200': "BaseResponseListTagOriginBoxPlotConfidence",
|
|
172
|
+
'422': "BaseResponse",
|
|
173
|
+
}
|
|
174
|
+
response_data = self.api_client.call_api(
|
|
175
|
+
*_param,
|
|
176
|
+
_request_timeout=_request_timeout
|
|
177
|
+
)
|
|
178
|
+
response_data.read()
|
|
179
|
+
return self.api_client.response_deserialize(
|
|
180
|
+
response_data=response_data,
|
|
181
|
+
response_types_map=_response_types_map,
|
|
182
|
+
)
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
@validate_call
|
|
186
|
+
def get_analysis_tag_score_without_preload_content(
|
|
187
|
+
self,
|
|
188
|
+
analysis_id: Annotated[StrictInt, Field(description="The analysis to calculate the tag scores for")],
|
|
189
|
+
tag_confidence_body: TagConfidenceBody,
|
|
190
|
+
_request_timeout: Union[
|
|
191
|
+
None,
|
|
192
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
193
|
+
Tuple[
|
|
194
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
195
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
196
|
+
]
|
|
197
|
+
] = None,
|
|
198
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
199
|
+
_content_type: Optional[StrictStr] = None,
|
|
200
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
201
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
202
|
+
) -> RESTResponseType:
|
|
203
|
+
"""Calculate Tag Confidence Score for an Analysis
|
|
204
|
+
|
|
205
|
+
Accepts a analysis ID and a list of tags, returns the confidence score for each tag in the list
|
|
206
|
+
|
|
207
|
+
:param analysis_id: The analysis to calculate the tag scores for (required)
|
|
208
|
+
:type analysis_id: int
|
|
209
|
+
:param tag_confidence_body: (required)
|
|
210
|
+
:type tag_confidence_body: TagConfidenceBody
|
|
211
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
212
|
+
number provided, it will be total request
|
|
213
|
+
timeout. It can also be a pair (tuple) of
|
|
214
|
+
(connection, read) timeouts.
|
|
215
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
216
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
217
|
+
request; this effectively ignores the
|
|
218
|
+
authentication in the spec for a single request.
|
|
219
|
+
:type _request_auth: dict, optional
|
|
220
|
+
:param _content_type: force content-type for the request.
|
|
221
|
+
:type _content_type: str, Optional
|
|
222
|
+
:param _headers: set to override the headers for a single
|
|
223
|
+
request; this effectively ignores the headers
|
|
224
|
+
in the spec for a single request.
|
|
225
|
+
:type _headers: dict, optional
|
|
226
|
+
:param _host_index: set to override the host_index for a single
|
|
227
|
+
request; this effectively ignores the host_index
|
|
228
|
+
in the spec for a single request.
|
|
229
|
+
:type _host_index: int, optional
|
|
230
|
+
:return: Returns the result object.
|
|
231
|
+
""" # noqa: E501
|
|
232
|
+
|
|
233
|
+
_param = self._get_analysis_tag_score_serialize(
|
|
234
|
+
analysis_id=analysis_id,
|
|
235
|
+
tag_confidence_body=tag_confidence_body,
|
|
236
|
+
_request_auth=_request_auth,
|
|
237
|
+
_content_type=_content_type,
|
|
238
|
+
_headers=_headers,
|
|
239
|
+
_host_index=_host_index
|
|
240
|
+
)
|
|
241
|
+
|
|
242
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
243
|
+
'200': "BaseResponseListTagOriginBoxPlotConfidence",
|
|
244
|
+
'422': "BaseResponse",
|
|
245
|
+
}
|
|
246
|
+
response_data = self.api_client.call_api(
|
|
247
|
+
*_param,
|
|
248
|
+
_request_timeout=_request_timeout
|
|
249
|
+
)
|
|
250
|
+
return response_data.response
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
def _get_analysis_tag_score_serialize(
|
|
254
|
+
self,
|
|
255
|
+
analysis_id,
|
|
256
|
+
tag_confidence_body,
|
|
257
|
+
_request_auth,
|
|
258
|
+
_content_type,
|
|
259
|
+
_headers,
|
|
260
|
+
_host_index,
|
|
261
|
+
) -> RequestSerialized:
|
|
262
|
+
|
|
263
|
+
_host = None
|
|
264
|
+
|
|
265
|
+
_collection_formats: Dict[str, str] = {
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
_path_params: Dict[str, str] = {}
|
|
269
|
+
_query_params: List[Tuple[str, str]] = []
|
|
270
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
271
|
+
_form_params: List[Tuple[str, str]] = []
|
|
272
|
+
_files: Dict[
|
|
273
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
274
|
+
] = {}
|
|
275
|
+
_body_params: Optional[bytes] = None
|
|
276
|
+
|
|
277
|
+
# process the path parameters
|
|
278
|
+
if analysis_id is not None:
|
|
279
|
+
_path_params['analysis_id'] = analysis_id
|
|
280
|
+
# process the query parameters
|
|
281
|
+
# process the header parameters
|
|
282
|
+
# process the form parameters
|
|
283
|
+
# process the body parameter
|
|
284
|
+
if tag_confidence_body is not None:
|
|
285
|
+
_body_params = tag_confidence_body
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
# set the HTTP header `Accept`
|
|
289
|
+
if 'Accept' not in _header_params:
|
|
290
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
291
|
+
[
|
|
292
|
+
'application/json'
|
|
293
|
+
]
|
|
294
|
+
)
|
|
295
|
+
|
|
296
|
+
# set the HTTP header `Content-Type`
|
|
297
|
+
if _content_type:
|
|
298
|
+
_header_params['Content-Type'] = _content_type
|
|
299
|
+
else:
|
|
300
|
+
_default_content_type = (
|
|
301
|
+
self.api_client.select_header_content_type(
|
|
302
|
+
[
|
|
303
|
+
'application/json'
|
|
304
|
+
]
|
|
305
|
+
)
|
|
306
|
+
)
|
|
307
|
+
if _default_content_type is not None:
|
|
308
|
+
_header_params['Content-Type'] = _default_content_type
|
|
309
|
+
|
|
310
|
+
# authentication setting
|
|
311
|
+
_auth_settings: List[str] = [
|
|
312
|
+
'APIKey'
|
|
313
|
+
]
|
|
314
|
+
|
|
315
|
+
return self.api_client.param_serialize(
|
|
316
|
+
method='POST',
|
|
317
|
+
resource_path='/v2/confidence/analysis/{analysis_id}/tag_score',
|
|
318
|
+
path_params=_path_params,
|
|
319
|
+
query_params=_query_params,
|
|
320
|
+
header_params=_header_params,
|
|
321
|
+
body=_body_params,
|
|
322
|
+
post_params=_form_params,
|
|
323
|
+
files=_files,
|
|
324
|
+
auth_settings=_auth_settings,
|
|
325
|
+
collection_formats=_collection_formats,
|
|
326
|
+
_host=_host,
|
|
327
|
+
_request_auth=_request_auth
|
|
328
|
+
)
|
|
329
|
+
|
|
330
|
+
|
revengai/api_client.py
CHANGED
|
@@ -90,7 +90,7 @@ class ApiClient:
|
|
|
90
90
|
self.default_headers[header_name] = header_value
|
|
91
91
|
self.cookie = cookie
|
|
92
92
|
# Set default User-Agent.
|
|
93
|
-
self.user_agent = 'OpenAPI-Generator/v2.11.
|
|
93
|
+
self.user_agent = 'OpenAPI-Generator/v2.11.7/python'
|
|
94
94
|
self.client_side_validation = configuration.client_side_validation
|
|
95
95
|
|
|
96
96
|
def __enter__(self):
|
revengai/configuration.py
CHANGED
|
@@ -529,8 +529,8 @@ conf = revengai.Configuration(
|
|
|
529
529
|
return "Python SDK Debug Report:\n"\
|
|
530
530
|
"OS: {env}\n"\
|
|
531
531
|
"Python Version: {pyversion}\n"\
|
|
532
|
-
"Version of the API: v2.11.
|
|
533
|
-
"SDK Package Version: v2.11.
|
|
532
|
+
"Version of the API: v2.11.7\n"\
|
|
533
|
+
"SDK Package Version: v2.11.7".\
|
|
534
534
|
format(env=sys.platform, pyversion=sys.version)
|
|
535
535
|
|
|
536
536
|
def get_host_settings(self) -> List[HostSetting]:
|
revengai/models/__init__.py
CHANGED
|
@@ -92,6 +92,7 @@ from revengai.models.base_response_list_comment_response import BaseResponseList
|
|
|
92
92
|
from revengai.models.base_response_list_die_match import BaseResponseListDieMatch
|
|
93
93
|
from revengai.models.base_response_list_function_name_history import BaseResponseListFunctionNameHistory
|
|
94
94
|
from revengai.models.base_response_list_sbom import BaseResponseListSBOM
|
|
95
|
+
from revengai.models.base_response_list_tag_origin_box_plot_confidence import BaseResponseListTagOriginBoxPlotConfidence
|
|
95
96
|
from revengai.models.base_response_list_user_activity_response import BaseResponseListUserActivityResponse
|
|
96
97
|
from revengai.models.base_response_login_response import BaseResponseLoginResponse
|
|
97
98
|
from revengai.models.base_response_logs import BaseResponseLogs
|
|
@@ -124,6 +125,7 @@ from revengai.models.binary_search_result import BinarySearchResult
|
|
|
124
125
|
from revengai.models.binary_task_status import BinaryTaskStatus
|
|
125
126
|
from revengai.models.block import Block
|
|
126
127
|
from revengai.models.block_comments_generation_for_function_response import BlockCommentsGenerationForFunctionResponse
|
|
128
|
+
from revengai.models.box_plot_confidence import BoxPlotConfidence
|
|
127
129
|
from revengai.models.callee_function_info import CalleeFunctionInfo
|
|
128
130
|
from revengai.models.callees_caller_functions_response import CalleesCallerFunctionsResponse
|
|
129
131
|
from revengai.models.caller_function_info import CallerFunctionInfo
|
|
@@ -239,6 +241,7 @@ from revengai.models.network_overview_dns_answer import NetworkOverviewDnsAnswer
|
|
|
239
241
|
from revengai.models.network_overview_metadata import NetworkOverviewMetadata
|
|
240
242
|
from revengai.models.network_overview_response import NetworkOverviewResponse
|
|
241
243
|
from revengai.models.order import Order
|
|
244
|
+
from revengai.models.origin import Origin
|
|
242
245
|
from revengai.models.pdb_debug_model import PDBDebugModel
|
|
243
246
|
from revengai.models.pe_model import PEModel
|
|
244
247
|
from revengai.models.pagination_model import PaginationModel
|
|
@@ -282,9 +285,12 @@ from revengai.models.ttps_data import TTPSData
|
|
|
282
285
|
from revengai.models.ttps_element import TTPSElement
|
|
283
286
|
from revengai.models.ttps_occurance import TTPSOccurance
|
|
284
287
|
from revengai.models.tag import Tag
|
|
288
|
+
from revengai.models.tag_confidence_body import TagConfidenceBody
|
|
289
|
+
from revengai.models.tag_origin_box_plot_confidence import TagOriginBoxPlotConfidence
|
|
285
290
|
from revengai.models.tag_response import TagResponse
|
|
286
291
|
from revengai.models.tag_search_response import TagSearchResponse
|
|
287
292
|
from revengai.models.tag_search_result import TagSearchResult
|
|
293
|
+
from revengai.models.tags import Tags
|
|
288
294
|
from revengai.models.task_response import TaskResponse
|
|
289
295
|
from revengai.models.task_status import TaskStatus
|
|
290
296
|
from revengai.models.timestamp_model import TimestampModel
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
RevEng.AI API
|
|
5
|
+
|
|
6
|
+
RevEng.AI is Similarity Search Engine for executable binaries
|
|
7
|
+
|
|
8
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
9
|
+
|
|
10
|
+
Do not edit the class manually.
|
|
11
|
+
""" # noqa: E501
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from __future__ import annotations
|
|
15
|
+
import pprint
|
|
16
|
+
import re # noqa: F401
|
|
17
|
+
import json
|
|
18
|
+
|
|
19
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
|
|
20
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
21
|
+
from revengai.models.error_model import ErrorModel
|
|
22
|
+
from revengai.models.meta_model import MetaModel
|
|
23
|
+
from revengai.models.tag_origin_box_plot_confidence import TagOriginBoxPlotConfidence
|
|
24
|
+
from typing import Optional, Set
|
|
25
|
+
from typing_extensions import Self
|
|
26
|
+
|
|
27
|
+
class BaseResponseListTagOriginBoxPlotConfidence(BaseModel):
|
|
28
|
+
"""
|
|
29
|
+
BaseResponseListTagOriginBoxPlotConfidence
|
|
30
|
+
""" # noqa: E501
|
|
31
|
+
status: Optional[StrictBool] = Field(default=True, description="Response status on whether the request succeeded")
|
|
32
|
+
data: Optional[List[TagOriginBoxPlotConfidence]] = None
|
|
33
|
+
message: Optional[StrictStr] = None
|
|
34
|
+
errors: Optional[List[ErrorModel]] = None
|
|
35
|
+
meta: Optional[MetaModel] = Field(default=None, description="Metadata")
|
|
36
|
+
__properties: ClassVar[List[str]] = ["status", "data", "message", "errors", "meta"]
|
|
37
|
+
|
|
38
|
+
model_config = ConfigDict(
|
|
39
|
+
populate_by_name=True,
|
|
40
|
+
validate_assignment=True,
|
|
41
|
+
protected_namespaces=(),
|
|
42
|
+
)
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
def to_str(self) -> str:
|
|
46
|
+
"""Returns the string representation of the model using alias"""
|
|
47
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
48
|
+
|
|
49
|
+
def to_json(self) -> str:
|
|
50
|
+
"""Returns the JSON representation of the model using alias"""
|
|
51
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
52
|
+
return json.dumps(self.to_dict())
|
|
53
|
+
|
|
54
|
+
@classmethod
|
|
55
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
56
|
+
"""Create an instance of BaseResponseListTagOriginBoxPlotConfidence from a JSON string"""
|
|
57
|
+
return cls.from_dict(json.loads(json_str))
|
|
58
|
+
|
|
59
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
60
|
+
"""Return the dictionary representation of the model using alias.
|
|
61
|
+
|
|
62
|
+
This has the following differences from calling pydantic's
|
|
63
|
+
`self.model_dump(by_alias=True)`:
|
|
64
|
+
|
|
65
|
+
* `None` is only added to the output dict for nullable fields that
|
|
66
|
+
were set at model initialization. Other fields with value `None`
|
|
67
|
+
are ignored.
|
|
68
|
+
"""
|
|
69
|
+
excluded_fields: Set[str] = set([
|
|
70
|
+
])
|
|
71
|
+
|
|
72
|
+
_dict = self.model_dump(
|
|
73
|
+
by_alias=True,
|
|
74
|
+
exclude=excluded_fields,
|
|
75
|
+
exclude_none=True,
|
|
76
|
+
)
|
|
77
|
+
# override the default output from pydantic by calling `to_dict()` of each item in data (list)
|
|
78
|
+
_items = []
|
|
79
|
+
if self.data:
|
|
80
|
+
for _item_data in self.data:
|
|
81
|
+
if _item_data:
|
|
82
|
+
_items.append(_item_data.to_dict())
|
|
83
|
+
_dict['data'] = _items
|
|
84
|
+
# override the default output from pydantic by calling `to_dict()` of each item in errors (list)
|
|
85
|
+
_items = []
|
|
86
|
+
if self.errors:
|
|
87
|
+
for _item_errors in self.errors:
|
|
88
|
+
if _item_errors:
|
|
89
|
+
_items.append(_item_errors.to_dict())
|
|
90
|
+
_dict['errors'] = _items
|
|
91
|
+
# override the default output from pydantic by calling `to_dict()` of meta
|
|
92
|
+
if self.meta:
|
|
93
|
+
_dict['meta'] = self.meta.to_dict()
|
|
94
|
+
# set to None if data (nullable) is None
|
|
95
|
+
# and model_fields_set contains the field
|
|
96
|
+
if self.data is None and "data" in self.model_fields_set:
|
|
97
|
+
_dict['data'] = None
|
|
98
|
+
|
|
99
|
+
# set to None if message (nullable) is None
|
|
100
|
+
# and model_fields_set contains the field
|
|
101
|
+
if self.message is None and "message" in self.model_fields_set:
|
|
102
|
+
_dict['message'] = None
|
|
103
|
+
|
|
104
|
+
# set to None if errors (nullable) is None
|
|
105
|
+
# and model_fields_set contains the field
|
|
106
|
+
if self.errors is None and "errors" in self.model_fields_set:
|
|
107
|
+
_dict['errors'] = None
|
|
108
|
+
|
|
109
|
+
return _dict
|
|
110
|
+
|
|
111
|
+
@classmethod
|
|
112
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
113
|
+
"""Create an instance of BaseResponseListTagOriginBoxPlotConfidence from a dict"""
|
|
114
|
+
if obj is None:
|
|
115
|
+
return None
|
|
116
|
+
|
|
117
|
+
if not isinstance(obj, dict):
|
|
118
|
+
return cls.model_validate(obj)
|
|
119
|
+
|
|
120
|
+
_obj = cls.model_validate({
|
|
121
|
+
"status": obj.get("status") if obj.get("status") is not None else True,
|
|
122
|
+
"data": [TagOriginBoxPlotConfidence.from_dict(_item) for _item in obj["data"]] if obj.get("data") is not None else None,
|
|
123
|
+
"message": obj.get("message"),
|
|
124
|
+
"errors": [ErrorModel.from_dict(_item) for _item in obj["errors"]] if obj.get("errors") is not None else None,
|
|
125
|
+
"meta": MetaModel.from_dict(obj["meta"]) if obj.get("meta") is not None else None
|
|
126
|
+
})
|
|
127
|
+
return _obj
|
|
128
|
+
|
|
129
|
+
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
RevEng.AI API
|
|
5
|
+
|
|
6
|
+
RevEng.AI is Similarity Search Engine for executable binaries
|
|
7
|
+
|
|
8
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
9
|
+
|
|
10
|
+
Do not edit the class manually.
|
|
11
|
+
""" # noqa: E501
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from __future__ import annotations
|
|
15
|
+
import pprint
|
|
16
|
+
import re # noqa: F401
|
|
17
|
+
import json
|
|
18
|
+
|
|
19
|
+
from pydantic import BaseModel, ConfigDict, StrictFloat, StrictInt
|
|
20
|
+
from typing import Any, ClassVar, Dict, List, Union
|
|
21
|
+
from typing import Optional, Set
|
|
22
|
+
from typing_extensions import Self
|
|
23
|
+
|
|
24
|
+
class BoxPlotConfidence(BaseModel):
|
|
25
|
+
"""
|
|
26
|
+
Format for confidence - returned in the box plot format
|
|
27
|
+
""" # noqa: E501
|
|
28
|
+
min: Union[StrictFloat, StrictInt]
|
|
29
|
+
max: Union[StrictFloat, StrictInt]
|
|
30
|
+
average: Union[StrictFloat, StrictInt]
|
|
31
|
+
upper_quartile: Union[StrictFloat, StrictInt]
|
|
32
|
+
lower_quartile: Union[StrictFloat, StrictInt]
|
|
33
|
+
positive_count: StrictInt
|
|
34
|
+
negative_count: StrictInt
|
|
35
|
+
__properties: ClassVar[List[str]] = ["min", "max", "average", "upper_quartile", "lower_quartile", "positive_count", "negative_count"]
|
|
36
|
+
|
|
37
|
+
model_config = ConfigDict(
|
|
38
|
+
populate_by_name=True,
|
|
39
|
+
validate_assignment=True,
|
|
40
|
+
protected_namespaces=(),
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
def to_str(self) -> str:
|
|
45
|
+
"""Returns the string representation of the model using alias"""
|
|
46
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
47
|
+
|
|
48
|
+
def to_json(self) -> str:
|
|
49
|
+
"""Returns the JSON representation of the model using alias"""
|
|
50
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
51
|
+
return json.dumps(self.to_dict())
|
|
52
|
+
|
|
53
|
+
@classmethod
|
|
54
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
55
|
+
"""Create an instance of BoxPlotConfidence from a JSON string"""
|
|
56
|
+
return cls.from_dict(json.loads(json_str))
|
|
57
|
+
|
|
58
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
59
|
+
"""Return the dictionary representation of the model using alias.
|
|
60
|
+
|
|
61
|
+
This has the following differences from calling pydantic's
|
|
62
|
+
`self.model_dump(by_alias=True)`:
|
|
63
|
+
|
|
64
|
+
* `None` is only added to the output dict for nullable fields that
|
|
65
|
+
were set at model initialization. Other fields with value `None`
|
|
66
|
+
are ignored.
|
|
67
|
+
"""
|
|
68
|
+
excluded_fields: Set[str] = set([
|
|
69
|
+
])
|
|
70
|
+
|
|
71
|
+
_dict = self.model_dump(
|
|
72
|
+
by_alias=True,
|
|
73
|
+
exclude=excluded_fields,
|
|
74
|
+
exclude_none=True,
|
|
75
|
+
)
|
|
76
|
+
return _dict
|
|
77
|
+
|
|
78
|
+
@classmethod
|
|
79
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
80
|
+
"""Create an instance of BoxPlotConfidence from a dict"""
|
|
81
|
+
if obj is None:
|
|
82
|
+
return None
|
|
83
|
+
|
|
84
|
+
if not isinstance(obj, dict):
|
|
85
|
+
return cls.model_validate(obj)
|
|
86
|
+
|
|
87
|
+
_obj = cls.model_validate({
|
|
88
|
+
"min": obj.get("min"),
|
|
89
|
+
"max": obj.get("max"),
|
|
90
|
+
"average": obj.get("average"),
|
|
91
|
+
"upper_quartile": obj.get("upper_quartile"),
|
|
92
|
+
"lower_quartile": obj.get("lower_quartile"),
|
|
93
|
+
"positive_count": obj.get("positive_count"),
|
|
94
|
+
"negative_count": obj.get("negative_count")
|
|
95
|
+
})
|
|
96
|
+
return _obj
|
|
97
|
+
|
|
98
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
RevEng.AI API
|
|
5
|
+
|
|
6
|
+
RevEng.AI is Similarity Search Engine for executable binaries
|
|
7
|
+
|
|
8
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
9
|
+
|
|
10
|
+
Do not edit the class manually.
|
|
11
|
+
""" # noqa: E501
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from __future__ import annotations
|
|
15
|
+
import json
|
|
16
|
+
from enum import Enum
|
|
17
|
+
from typing_extensions import Self
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class Origin(str, Enum):
|
|
21
|
+
"""
|
|
22
|
+
Origin
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
"""
|
|
26
|
+
allowed enum values
|
|
27
|
+
"""
|
|
28
|
+
REV_ENG_MINUS_MALWARE = 'RevEng-Malware'
|
|
29
|
+
REV_ENG_MINUS_LIBRARY = 'RevEng-Library'
|
|
30
|
+
REV_ENG_MINUS_BENIGN = 'RevEng-Benign'
|
|
31
|
+
REVENG = 'RevEng'
|
|
32
|
+
REV_ENG_MINUS_HEURISTIC = 'RevEng-Heuristic'
|
|
33
|
+
REV_ENG_MINUS_UNKNOWN = 'RevEng-Unknown'
|
|
34
|
+
VIRUSTOTAL = 'VirusTotal'
|
|
35
|
+
MALWAREBAZAAR = 'MalwareBazaar'
|
|
36
|
+
|
|
37
|
+
@classmethod
|
|
38
|
+
def from_json(cls, json_str: str) -> Self:
|
|
39
|
+
"""Create an instance of Origin from a JSON string"""
|
|
40
|
+
return cls(json.loads(json_str))
|
|
41
|
+
|
|
42
|
+
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
RevEng.AI API
|
|
5
|
+
|
|
6
|
+
RevEng.AI is Similarity Search Engine for executable binaries
|
|
7
|
+
|
|
8
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
9
|
+
|
|
10
|
+
Do not edit the class manually.
|
|
11
|
+
""" # noqa: E501
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from __future__ import annotations
|
|
15
|
+
import pprint
|
|
16
|
+
import re # noqa: F401
|
|
17
|
+
import json
|
|
18
|
+
|
|
19
|
+
from pydantic import BaseModel, ConfigDict, Field
|
|
20
|
+
from typing import Any, ClassVar, Dict, List
|
|
21
|
+
from typing_extensions import Annotated
|
|
22
|
+
from revengai.models.tags import Tags
|
|
23
|
+
from typing import Optional, Set
|
|
24
|
+
from typing_extensions import Self
|
|
25
|
+
|
|
26
|
+
class TagConfidenceBody(BaseModel):
|
|
27
|
+
"""
|
|
28
|
+
TagConfidenceBody
|
|
29
|
+
""" # noqa: E501
|
|
30
|
+
tags: Annotated[List[Tags], Field(min_length=1, max_length=10)]
|
|
31
|
+
__properties: ClassVar[List[str]] = ["tags"]
|
|
32
|
+
|
|
33
|
+
model_config = ConfigDict(
|
|
34
|
+
populate_by_name=True,
|
|
35
|
+
validate_assignment=True,
|
|
36
|
+
protected_namespaces=(),
|
|
37
|
+
)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def to_str(self) -> str:
|
|
41
|
+
"""Returns the string representation of the model using alias"""
|
|
42
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
43
|
+
|
|
44
|
+
def to_json(self) -> str:
|
|
45
|
+
"""Returns the JSON representation of the model using alias"""
|
|
46
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
47
|
+
return json.dumps(self.to_dict())
|
|
48
|
+
|
|
49
|
+
@classmethod
|
|
50
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
51
|
+
"""Create an instance of TagConfidenceBody from a JSON string"""
|
|
52
|
+
return cls.from_dict(json.loads(json_str))
|
|
53
|
+
|
|
54
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
55
|
+
"""Return the dictionary representation of the model using alias.
|
|
56
|
+
|
|
57
|
+
This has the following differences from calling pydantic's
|
|
58
|
+
`self.model_dump(by_alias=True)`:
|
|
59
|
+
|
|
60
|
+
* `None` is only added to the output dict for nullable fields that
|
|
61
|
+
were set at model initialization. Other fields with value `None`
|
|
62
|
+
are ignored.
|
|
63
|
+
"""
|
|
64
|
+
excluded_fields: Set[str] = set([
|
|
65
|
+
])
|
|
66
|
+
|
|
67
|
+
_dict = self.model_dump(
|
|
68
|
+
by_alias=True,
|
|
69
|
+
exclude=excluded_fields,
|
|
70
|
+
exclude_none=True,
|
|
71
|
+
)
|
|
72
|
+
# override the default output from pydantic by calling `to_dict()` of each item in tags (list)
|
|
73
|
+
_items = []
|
|
74
|
+
if self.tags:
|
|
75
|
+
for _item_tags in self.tags:
|
|
76
|
+
if _item_tags:
|
|
77
|
+
_items.append(_item_tags.to_dict())
|
|
78
|
+
_dict['tags'] = _items
|
|
79
|
+
return _dict
|
|
80
|
+
|
|
81
|
+
@classmethod
|
|
82
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
83
|
+
"""Create an instance of TagConfidenceBody from a dict"""
|
|
84
|
+
if obj is None:
|
|
85
|
+
return None
|
|
86
|
+
|
|
87
|
+
if not isinstance(obj, dict):
|
|
88
|
+
return cls.model_validate(obj)
|
|
89
|
+
|
|
90
|
+
_obj = cls.model_validate({
|
|
91
|
+
"tags": [Tags.from_dict(_item) for _item in obj["tags"]] if obj.get("tags") is not None else None
|
|
92
|
+
})
|
|
93
|
+
return _obj
|
|
94
|
+
|
|
95
|
+
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
RevEng.AI API
|
|
5
|
+
|
|
6
|
+
RevEng.AI is Similarity Search Engine for executable binaries
|
|
7
|
+
|
|
8
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
9
|
+
|
|
10
|
+
Do not edit the class manually.
|
|
11
|
+
""" # noqa: E501
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from __future__ import annotations
|
|
15
|
+
import pprint
|
|
16
|
+
import re # noqa: F401
|
|
17
|
+
import json
|
|
18
|
+
|
|
19
|
+
from pydantic import BaseModel, ConfigDict
|
|
20
|
+
from typing import Any, ClassVar, Dict, List
|
|
21
|
+
from revengai.models.box_plot_confidence import BoxPlotConfidence
|
|
22
|
+
from revengai.models.tags import Tags
|
|
23
|
+
from typing import Optional, Set
|
|
24
|
+
from typing_extensions import Self
|
|
25
|
+
|
|
26
|
+
class TagOriginBoxPlotConfidence(BaseModel):
|
|
27
|
+
"""
|
|
28
|
+
TagOriginBoxPlotConfidence
|
|
29
|
+
""" # noqa: E501
|
|
30
|
+
tag: Tags
|
|
31
|
+
box_plot: BoxPlotConfidence
|
|
32
|
+
__properties: ClassVar[List[str]] = ["tag", "box_plot"]
|
|
33
|
+
|
|
34
|
+
model_config = ConfigDict(
|
|
35
|
+
populate_by_name=True,
|
|
36
|
+
validate_assignment=True,
|
|
37
|
+
protected_namespaces=(),
|
|
38
|
+
)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def to_str(self) -> str:
|
|
42
|
+
"""Returns the string representation of the model using alias"""
|
|
43
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
44
|
+
|
|
45
|
+
def to_json(self) -> str:
|
|
46
|
+
"""Returns the JSON representation of the model using alias"""
|
|
47
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
48
|
+
return json.dumps(self.to_dict())
|
|
49
|
+
|
|
50
|
+
@classmethod
|
|
51
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
52
|
+
"""Create an instance of TagOriginBoxPlotConfidence from a JSON string"""
|
|
53
|
+
return cls.from_dict(json.loads(json_str))
|
|
54
|
+
|
|
55
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
56
|
+
"""Return the dictionary representation of the model using alias.
|
|
57
|
+
|
|
58
|
+
This has the following differences from calling pydantic's
|
|
59
|
+
`self.model_dump(by_alias=True)`:
|
|
60
|
+
|
|
61
|
+
* `None` is only added to the output dict for nullable fields that
|
|
62
|
+
were set at model initialization. Other fields with value `None`
|
|
63
|
+
are ignored.
|
|
64
|
+
"""
|
|
65
|
+
excluded_fields: Set[str] = set([
|
|
66
|
+
])
|
|
67
|
+
|
|
68
|
+
_dict = self.model_dump(
|
|
69
|
+
by_alias=True,
|
|
70
|
+
exclude=excluded_fields,
|
|
71
|
+
exclude_none=True,
|
|
72
|
+
)
|
|
73
|
+
# override the default output from pydantic by calling `to_dict()` of tag
|
|
74
|
+
if self.tag:
|
|
75
|
+
_dict['tag'] = self.tag.to_dict()
|
|
76
|
+
# override the default output from pydantic by calling `to_dict()` of box_plot
|
|
77
|
+
if self.box_plot:
|
|
78
|
+
_dict['box_plot'] = self.box_plot.to_dict()
|
|
79
|
+
return _dict
|
|
80
|
+
|
|
81
|
+
@classmethod
|
|
82
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
83
|
+
"""Create an instance of TagOriginBoxPlotConfidence from a dict"""
|
|
84
|
+
if obj is None:
|
|
85
|
+
return None
|
|
86
|
+
|
|
87
|
+
if not isinstance(obj, dict):
|
|
88
|
+
return cls.model_validate(obj)
|
|
89
|
+
|
|
90
|
+
_obj = cls.model_validate({
|
|
91
|
+
"tag": Tags.from_dict(obj["tag"]) if obj.get("tag") is not None else None,
|
|
92
|
+
"box_plot": BoxPlotConfidence.from_dict(obj["box_plot"]) if obj.get("box_plot") is not None else None
|
|
93
|
+
})
|
|
94
|
+
return _obj
|
|
95
|
+
|
|
96
|
+
|
revengai/models/tags.py
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
RevEng.AI API
|
|
5
|
+
|
|
6
|
+
RevEng.AI is Similarity Search Engine for executable binaries
|
|
7
|
+
|
|
8
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
9
|
+
|
|
10
|
+
Do not edit the class manually.
|
|
11
|
+
""" # noqa: E501
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from __future__ import annotations
|
|
15
|
+
import pprint
|
|
16
|
+
import re # noqa: F401
|
|
17
|
+
import json
|
|
18
|
+
|
|
19
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
20
|
+
from typing import Any, ClassVar, Dict, List
|
|
21
|
+
from revengai.models.origin import Origin
|
|
22
|
+
from typing import Optional, Set
|
|
23
|
+
from typing_extensions import Self
|
|
24
|
+
|
|
25
|
+
class Tags(BaseModel):
|
|
26
|
+
"""
|
|
27
|
+
Tags
|
|
28
|
+
""" # noqa: E501
|
|
29
|
+
tag: StrictStr = Field(description="The tag name")
|
|
30
|
+
origin: Origin = Field(description="The origin of the tag")
|
|
31
|
+
__properties: ClassVar[List[str]] = ["tag", "origin"]
|
|
32
|
+
|
|
33
|
+
model_config = ConfigDict(
|
|
34
|
+
populate_by_name=True,
|
|
35
|
+
validate_assignment=True,
|
|
36
|
+
protected_namespaces=(),
|
|
37
|
+
)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def to_str(self) -> str:
|
|
41
|
+
"""Returns the string representation of the model using alias"""
|
|
42
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
43
|
+
|
|
44
|
+
def to_json(self) -> str:
|
|
45
|
+
"""Returns the JSON representation of the model using alias"""
|
|
46
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
47
|
+
return json.dumps(self.to_dict())
|
|
48
|
+
|
|
49
|
+
@classmethod
|
|
50
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
51
|
+
"""Create an instance of Tags from a JSON string"""
|
|
52
|
+
return cls.from_dict(json.loads(json_str))
|
|
53
|
+
|
|
54
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
55
|
+
"""Return the dictionary representation of the model using alias.
|
|
56
|
+
|
|
57
|
+
This has the following differences from calling pydantic's
|
|
58
|
+
`self.model_dump(by_alias=True)`:
|
|
59
|
+
|
|
60
|
+
* `None` is only added to the output dict for nullable fields that
|
|
61
|
+
were set at model initialization. Other fields with value `None`
|
|
62
|
+
are ignored.
|
|
63
|
+
"""
|
|
64
|
+
excluded_fields: Set[str] = set([
|
|
65
|
+
])
|
|
66
|
+
|
|
67
|
+
_dict = self.model_dump(
|
|
68
|
+
by_alias=True,
|
|
69
|
+
exclude=excluded_fields,
|
|
70
|
+
exclude_none=True,
|
|
71
|
+
)
|
|
72
|
+
return _dict
|
|
73
|
+
|
|
74
|
+
@classmethod
|
|
75
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
76
|
+
"""Create an instance of Tags from a dict"""
|
|
77
|
+
if obj is None:
|
|
78
|
+
return None
|
|
79
|
+
|
|
80
|
+
if not isinstance(obj, dict):
|
|
81
|
+
return cls.model_validate(obj)
|
|
82
|
+
|
|
83
|
+
_obj = cls.model_validate({
|
|
84
|
+
"tag": obj.get("tag"),
|
|
85
|
+
"origin": obj.get("origin")
|
|
86
|
+
})
|
|
87
|
+
return _obj
|
|
88
|
+
|
|
89
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: revengai
|
|
3
|
-
Version: 2.11.
|
|
3
|
+
Version: 2.11.7
|
|
4
4
|
Summary: RevEng.AI API
|
|
5
5
|
Project-URL: Repository, https://github.com/RevEngAI/sdk-python
|
|
6
6
|
License-Expression: MIT
|
|
@@ -110,6 +110,7 @@ Class | Method | HTTP request | Description
|
|
|
110
110
|
*CollectionsApi* | [**update_collection**](docs/CollectionsApi.md#update_collection) | **PATCH** /v2/collections/{collection_id} | Updates a collection
|
|
111
111
|
*CollectionsApi* | [**update_collection_binaries**](docs/CollectionsApi.md#update_collection_binaries) | **PATCH** /v2/collections/{collection_id}/binaries | Updates a collection binaries
|
|
112
112
|
*CollectionsApi* | [**update_collection_tags**](docs/CollectionsApi.md#update_collection_tags) | **PATCH** /v2/collections/{collection_id}/tags | Updates a collection tags
|
|
113
|
+
*ConfidenceApi* | [**get_analysis_tag_score**](docs/ConfidenceApi.md#get_analysis_tag_score) | **POST** /v2/confidence/analysis/{analysis_id}/tag_score | Calculate Tag Confidence Score for an Analysis
|
|
113
114
|
*ExternalSourcesApi* | [**create_external_task_mb**](docs/ExternalSourcesApi.md#create_external_task_mb) | **POST** /v2/analysis/{analysis_id}/external/mb | Pulls data from VirusTotal
|
|
114
115
|
*ExternalSourcesApi* | [**create_external_task_vt**](docs/ExternalSourcesApi.md#create_external_task_vt) | **POST** /v2/analysis/{analysis_id}/external/vt | Pulls data from VirusTotal
|
|
115
116
|
*ExternalSourcesApi* | [**get_mb_data**](docs/ExternalSourcesApi.md#get_mb_data) | **GET** /v2/analysis/{analysis_id}/external/mb | Get MalwareBazaar data
|
|
@@ -248,6 +249,7 @@ Class | Method | HTTP request | Description
|
|
|
248
249
|
- [BaseResponseListDieMatch](docs/BaseResponseListDieMatch.md)
|
|
249
250
|
- [BaseResponseListFunctionNameHistory](docs/BaseResponseListFunctionNameHistory.md)
|
|
250
251
|
- [BaseResponseListSBOM](docs/BaseResponseListSBOM.md)
|
|
252
|
+
- [BaseResponseListTagOriginBoxPlotConfidence](docs/BaseResponseListTagOriginBoxPlotConfidence.md)
|
|
251
253
|
- [BaseResponseListUserActivityResponse](docs/BaseResponseListUserActivityResponse.md)
|
|
252
254
|
- [BaseResponseLoginResponse](docs/BaseResponseLoginResponse.md)
|
|
253
255
|
- [BaseResponseLogs](docs/BaseResponseLogs.md)
|
|
@@ -280,6 +282,7 @@ Class | Method | HTTP request | Description
|
|
|
280
282
|
- [BinaryTaskStatus](docs/BinaryTaskStatus.md)
|
|
281
283
|
- [Block](docs/Block.md)
|
|
282
284
|
- [BlockCommentsGenerationForFunctionResponse](docs/BlockCommentsGenerationForFunctionResponse.md)
|
|
285
|
+
- [BoxPlotConfidence](docs/BoxPlotConfidence.md)
|
|
283
286
|
- [CalleeFunctionInfo](docs/CalleeFunctionInfo.md)
|
|
284
287
|
- [CalleesCallerFunctionsResponse](docs/CalleesCallerFunctionsResponse.md)
|
|
285
288
|
- [CallerFunctionInfo](docs/CallerFunctionInfo.md)
|
|
@@ -395,6 +398,7 @@ Class | Method | HTTP request | Description
|
|
|
395
398
|
- [NetworkOverviewMetadata](docs/NetworkOverviewMetadata.md)
|
|
396
399
|
- [NetworkOverviewResponse](docs/NetworkOverviewResponse.md)
|
|
397
400
|
- [Order](docs/Order.md)
|
|
401
|
+
- [Origin](docs/Origin.md)
|
|
398
402
|
- [PDBDebugModel](docs/PDBDebugModel.md)
|
|
399
403
|
- [PEModel](docs/PEModel.md)
|
|
400
404
|
- [PaginationModel](docs/PaginationModel.md)
|
|
@@ -438,9 +442,12 @@ Class | Method | HTTP request | Description
|
|
|
438
442
|
- [TTPSElement](docs/TTPSElement.md)
|
|
439
443
|
- [TTPSOccurance](docs/TTPSOccurance.md)
|
|
440
444
|
- [Tag](docs/Tag.md)
|
|
445
|
+
- [TagConfidenceBody](docs/TagConfidenceBody.md)
|
|
446
|
+
- [TagOriginBoxPlotConfidence](docs/TagOriginBoxPlotConfidence.md)
|
|
441
447
|
- [TagResponse](docs/TagResponse.md)
|
|
442
448
|
- [TagSearchResponse](docs/TagSearchResponse.md)
|
|
443
449
|
- [TagSearchResult](docs/TagSearchResult.md)
|
|
450
|
+
- [Tags](docs/Tags.md)
|
|
444
451
|
- [TaskResponse](docs/TaskResponse.md)
|
|
445
452
|
- [TaskStatus](docs/TaskStatus.md)
|
|
446
453
|
- [TimestampModel](docs/TimestampModel.md)
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
revengai/__init__.py,sha256=
|
|
2
|
-
revengai/api_client.py,sha256=
|
|
1
|
+
revengai/__init__.py,sha256=H16cEdChhWjPXot4CkZHDhIPS_9j-Jd9teT_hbKKlzM,40771
|
|
2
|
+
revengai/api_client.py,sha256=iNkjcrEw1dpRydunWmmk-AnhJfH12JdLwzrkQwxA94o,27670
|
|
3
3
|
revengai/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
4
|
-
revengai/configuration.py,sha256=
|
|
4
|
+
revengai/configuration.py,sha256=t1LvDd34FRlcwf4GO_jTd4tI_MKeX4bbwkU-KLtD314,18749
|
|
5
5
|
revengai/exceptions.py,sha256=IvdI9ZIZ9b2lSSKtIKMQDlG-5UPAedrjm3U4xfmGkso,6385
|
|
6
6
|
revengai/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
revengai/rest.py,sha256=T6Q2dcazhntqm288H33BKC1hf8NVdvmQWgaymlJo158,9376
|
|
8
|
-
revengai/api/__init__.py,sha256=
|
|
8
|
+
revengai/api/__init__.py,sha256=ercHI6-ZXgrfZ-crplF-fSQbSXY4xPellnIkvTt68uc,1320
|
|
9
9
|
revengai/api/analyses_comments_api.py,sha256=p_3N8KmHSBsBtsiW0rAc_LtsM-X3NOJEP86-9VUknoc,46292
|
|
10
10
|
revengai/api/analyses_core_api.py,sha256=DuECcqwtVeUpk1oPaPz35OFf6ezJ2lP2bG6vfwbKK_Q,160577
|
|
11
11
|
revengai/api/analyses_dynamic_execution_api.py,sha256=N1SlAlsokt8us_x11tJpjK5GSAk-kuEECNO9KqtO0dI,71948
|
|
@@ -14,6 +14,7 @@ revengai/api/analyses_security_checks_api.py,sha256=YqdVI96mNOb7yyCX2gm3sDABbNr7
|
|
|
14
14
|
revengai/api/authentication_users_api.py,sha256=V2J0OB6nqHvAXfxsPa3rTzTrHVLt2N9VNqyjOZpYwis,50428
|
|
15
15
|
revengai/api/binaries_api.py,sha256=dnMTtqXH1huJKE7u2oTdnr9bleU0Gl-XwNwu4gwd1Y0,61182
|
|
16
16
|
revengai/api/collections_api.py,sha256=M5HSv8acfZAd0ool2yaLCPDIvOPVdPb99S91X82A9Ag,84022
|
|
17
|
+
revengai/api/confidence_api.py,sha256=PCnlazE5M6Gvc6oRqQcWfRJRkTXdgzQ3K-6u8MiZ-oM,13154
|
|
17
18
|
revengai/api/external_sources_api.py,sha256=A5VaijGn6ZwdoymwyhrQlLB0g83CwIg_fEwcDRTCUFw,61041
|
|
18
19
|
revengai/api/firmware_api.py,sha256=FqBqNseoyuwsvc4tAh7Uz2vIO0OSgBg2O8PkyfxLG1A,22481
|
|
19
20
|
revengai/api/functions_ai_decompilation_api.py,sha256=meV4wSMsIgozFFKSK9vrH9RqAif3KaMgMMyp49DFTU0,104419
|
|
@@ -24,7 +25,7 @@ revengai/api/functions_decompilation_api.py,sha256=93tId0XHIUo8zPdCwoFShyvZPbptn
|
|
|
24
25
|
revengai/api/functions_renaming_history_api.py,sha256=2VuhjQliFO0rDcwmnl4s5BA36xgEtps2_qZdsqQI6hw,44111
|
|
25
26
|
revengai/api/models_api.py,sha256=jZ1wY48GT0JsxY-DgcwkxF5uyQTqygUYOuF8De0BQnw,10402
|
|
26
27
|
revengai/api/search_api.py,sha256=WQslQMX-fExlxONkJVy4MMfQ0VnDxqzJumYc9dbcRp0,63402
|
|
27
|
-
revengai/models/__init__.py,sha256=
|
|
28
|
+
revengai/models/__init__.py,sha256=6h20K0g1uP2y4CofAJqqx3Wa2dV9X3Aqsl-u4ynTXWM,21946
|
|
28
29
|
revengai/models/addr.py,sha256=-2N-UQsOiZ0eyEAQ7ssk0of8W2fBrXeYdTZXuVt3SZs,4787
|
|
29
30
|
revengai/models/ai_decompilation_rating.py,sha256=gyay27QJwToUNtK9NARyw731Sg8GFRTufGGUABVYyfo,722
|
|
30
31
|
revengai/models/ai_unstrip_request.py,sha256=loSXNdHATJmY5yttiUCE-lLEOkuE63qVDTz8U0eCAIc,2596
|
|
@@ -105,6 +106,7 @@ revengai/models/base_response_list_comment_response.py,sha256=-N53kILKxC-Tf2KIXM
|
|
|
105
106
|
revengai/models/base_response_list_die_match.py,sha256=pT--3OhsfLThX-c6BwVy71sAFOeexgEI5fbDQGul5uA,4767
|
|
106
107
|
revengai/models/base_response_list_function_name_history.py,sha256=aohU51HD96KIGdf1XMggEcycfotiN-VQB0UG90Kihho,4856
|
|
107
108
|
revengai/models/base_response_list_sbom.py,sha256=WHmzxBhDBldMSbdd0LkSpAKQDOseGnmC10jrGfqVdz8,4734
|
|
109
|
+
revengai/models/base_response_list_tag_origin_box_plot_confidence.py,sha256=EOr500dSd9wqwWWYauNOJmtCyJ4CApqDx31FF69R7qU,4914
|
|
108
110
|
revengai/models/base_response_list_user_activity_response.py,sha256=-7l80h4KNMWM-MXMyKrcZirYPdDqnSeSqfNJSDhxWPM,4864
|
|
109
111
|
revengai/models/base_response_login_response.py,sha256=bokYfC5m26hdJj-BcQg49koEPLG9WOJdIOmsRSQF2kY,4609
|
|
110
112
|
revengai/models/base_response_logs.py,sha256=l5cMI9T5dCd0RdAjbAJ3-LfFO6hhJh12bs08cBp3sps,4536
|
|
@@ -137,6 +139,7 @@ revengai/models/binary_search_result.py,sha256=y2T6qBDMvdLtyfRIBzlFMs6hCdMZqQfoF
|
|
|
137
139
|
revengai/models/binary_task_status.py,sha256=hHEJcio8AYxUZBFg3WB4dyEcynczzCEIXxTtEGSlDLQ,765
|
|
138
140
|
revengai/models/block.py,sha256=zeccSEWdoStw5Dfx3TSv4AJV3IoQ7GNhrM7_5HJF9zA,2394
|
|
139
141
|
revengai/models/block_comments_generation_for_function_response.py,sha256=sVr84JNBPYxYxoLIJct7NVbHyqa_-eFXdX2pKb7zFMg,2538
|
|
142
|
+
revengai/models/box_plot_confidence.py,sha256=sbAJu7dTJT-g2cNQeJEK_VxaCASP3fHyXzyU_u9f3Z8,3110
|
|
140
143
|
revengai/models/callee_function_info.py,sha256=nxFhenG0rxNMmg6TZX_3ktA4oFBM_ft5__gatMJQ0EE,3799
|
|
141
144
|
revengai/models/callees_caller_functions_response.py,sha256=iFbmAywCAlWTohtDCchXoTTIbdWEZuyenx_3ZJqnUjY,3841
|
|
142
145
|
revengai/models/caller_function_info.py,sha256=SFc6kXDjrwbKk0Qx-pfdkECbhP3MDmAGpAAjfJ11EQE,3801
|
|
@@ -252,6 +255,7 @@ revengai/models/network_overview_dns_answer.py,sha256=-kL0ZdVz2xIxp5wOVsJre7Nh04
|
|
|
252
255
|
revengai/models/network_overview_metadata.py,sha256=4DXVzlPtPTcJuglqx2Zt9SV_0Ad82Z5T9W8sMuAfqmg,2929
|
|
253
256
|
revengai/models/network_overview_response.py,sha256=DEP57l6n7BpNQkMbJfNthU5Y1di4kzWcAbygSNsOzmo,3490
|
|
254
257
|
revengai/models/order.py,sha256=QXGXbyi5sU33Klxv3BWiDIK9HiT8ZhJHfxo2Ae1YTL0,632
|
|
258
|
+
revengai/models/origin.py,sha256=RKqKqeo5as1whrA8SbiSxVu2MXD42rR9aV1Qdui0E4g,916
|
|
255
259
|
revengai/models/pagination_model.py,sha256=Q6QeUrhuxkLqwaaI2VDbhTU3B2X8eRm6jTuLJJYG8T4,2617
|
|
256
260
|
revengai/models/params.py,sha256=e42OqJBtg2HYYbsIVzAkIvLkTHTvMMUTu2Gr2-b-g-I,3543
|
|
257
261
|
revengai/models/pdb_debug_model.py,sha256=rfOznNYCYy7ALHfgGdJi5_0vbKN3l_cenq7sZCMaZ4U,2963
|
|
@@ -290,9 +294,12 @@ revengai/models/structure.py,sha256=RbXBB7yS2R1_nEoPTjPe-nk0aNHXil1zBqDPXd80VU0,
|
|
|
290
294
|
revengai/models/structure_member.py,sha256=7sziErgaMiBw3Trib5V9ngLvr7O_segwePS7xnVPFko,3193
|
|
291
295
|
revengai/models/symbols.py,sha256=gbYM4MlO1hqPK1G5AJPxX5xAvhj92gYb5qdHn4WspzE,3271
|
|
292
296
|
revengai/models/tag.py,sha256=Of0MVVngcaf-oVoZ0nT9_AkoeTE-VxtiscEnMD5CC3o,2342
|
|
297
|
+
revengai/models/tag_confidence_body.py,sha256=3aCx9HN8P0wpr0cNQ4PC-Kz_7R4lT3P--GhRuDUTH5s,2902
|
|
298
|
+
revengai/models/tag_origin_box_plot_confidence.py,sha256=6ZTJDf0W5p180bbysf72VyxDbFm6_rTY-RjRNTxoDuA,3047
|
|
293
299
|
revengai/models/tag_response.py,sha256=-2YB180x22lRejqmPR-zg0HzfxRl_uHiUJuyz90Z274,2530
|
|
294
300
|
revengai/models/tag_search_response.py,sha256=Bk4orvke07_BU2iEAeV6MbCSiUhHITWHb4WAZI1Vm5s,2946
|
|
295
301
|
revengai/models/tag_search_result.py,sha256=mzWXjPT7T53QQxHxHove0RYOsjHuW3Tx9j3wfGpuuqw,2561
|
|
302
|
+
revengai/models/tags.py,sha256=ELagEKS9iZ-RwXu8tnASzc7nKX5W3JZ0a0r3EBWm3xA,2542
|
|
296
303
|
revengai/models/task_response.py,sha256=pxTT0ISfkN3ZsrHUoGLglmyBefBlB19vGbC4cGT_dhY,2818
|
|
297
304
|
revengai/models/task_status.py,sha256=NddxpoEoK-NzYBtz-3XljWbi7CIjfgDNJYIb2qetzXc,747
|
|
298
305
|
revengai/models/timestamp_model.py,sha256=QBoOHswy0WNKVfqu-QJOS1I8FyMWY31U1juCBuYwNxk,2640
|
|
@@ -311,7 +318,7 @@ revengai/models/vulnerabilities.py,sha256=9t6uoZd3svWyfcZJjmj6zP731Dp47Apb25y8Qt
|
|
|
311
318
|
revengai/models/vulnerability.py,sha256=P7rAOAYU5JLLpcRr824-YJgZba5kPb_J9ALV3tSNfLQ,3688
|
|
312
319
|
revengai/models/vulnerability_type.py,sha256=SyOgfMmELYYc_H84oPkikBpjwngtG5Qw9Q_86a2TPr8,866
|
|
313
320
|
revengai/models/workspace.py,sha256=chjU62GFvByEmaNd6luMNQVQLP3wlPx1zJgGJ_yyMLA,676
|
|
314
|
-
revengai-2.11.
|
|
315
|
-
revengai-2.11.
|
|
316
|
-
revengai-2.11.
|
|
317
|
-
revengai-2.11.
|
|
321
|
+
revengai-2.11.7.dist-info/METADATA,sha256=9lkH98Q4eLsyqMid3Uq0zMrfG-arTJhvXt-lrFYpy34,39203
|
|
322
|
+
revengai-2.11.7.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
323
|
+
revengai-2.11.7.dist-info/licenses/LICENSE.md,sha256=z1S-x9w52sZDqbFdJi0kL5-FLP5CR2aQA0kW8m6scaw,1052
|
|
324
|
+
revengai-2.11.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|