revengai 1.75.0__py3-none-any.whl → 1.78.1__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 +9 -1
- revengai/api/__init__.py +1 -0
- revengai/api/default_api.py +317 -0
- revengai/api_client.py +1 -1
- revengai/configuration.py +2 -2
- revengai/models/__init__.py +3 -0
- revengai/models/analysis_function_mapping.py +90 -0
- revengai/models/base_response_analysis_function_mapping.py +125 -0
- revengai/models/function_mapping.py +88 -0
- {revengai-1.75.0.dist-info → revengai-1.78.1.dist-info}/METADATA +5 -1
- {revengai-1.75.0.dist-info → revengai-1.78.1.dist-info}/RECORD +12 -8
- {revengai-1.75.0.dist-info → revengai-1.78.1.dist-info}/WHEEL +0 -0
revengai/__init__.py
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
__version__ = "v1.
|
|
16
|
+
__version__ = "v1.78.1"
|
|
17
17
|
|
|
18
18
|
# Define package exports
|
|
19
19
|
__all__ = [
|
|
@@ -37,6 +37,7 @@ __all__ = [
|
|
|
37
37
|
"FunctionsThreatScoreApi",
|
|
38
38
|
"ModelsApi",
|
|
39
39
|
"SearchApi",
|
|
40
|
+
"DefaultApi",
|
|
40
41
|
"ApiResponse",
|
|
41
42
|
"ApiClient",
|
|
42
43
|
"Configuration",
|
|
@@ -55,6 +56,7 @@ __all__ = [
|
|
|
55
56
|
"AnalysisCreateRequest",
|
|
56
57
|
"AnalysisCreateResponse",
|
|
57
58
|
"AnalysisDetailResponse",
|
|
59
|
+
"AnalysisFunctionMapping",
|
|
58
60
|
"AnalysisFunctions",
|
|
59
61
|
"AnalysisRecord",
|
|
60
62
|
"AnalysisScope",
|
|
@@ -79,6 +81,7 @@ __all__ = [
|
|
|
79
81
|
"BaseResponse",
|
|
80
82
|
"BaseResponseAnalysisCreateResponse",
|
|
81
83
|
"BaseResponseAnalysisDetailResponse",
|
|
84
|
+
"BaseResponseAnalysisFunctionMapping",
|
|
82
85
|
"BaseResponseAnalysisFunctions",
|
|
83
86
|
"BaseResponseAnalysisStringsResponse",
|
|
84
87
|
"BaseResponseAnalysisTags",
|
|
@@ -238,6 +241,7 @@ __all__ = [
|
|
|
238
241
|
"FunctionInfoInputFuncDepsInner",
|
|
239
242
|
"FunctionInfoOutput",
|
|
240
243
|
"FunctionLocalVariableResponse",
|
|
244
|
+
"FunctionMapping",
|
|
241
245
|
"FunctionMappingFull",
|
|
242
246
|
"FunctionNameConfidenceBody",
|
|
243
247
|
"FunctionNameHistory",
|
|
@@ -376,6 +380,7 @@ from revengai.api.functions_renaming_history_api import FunctionsRenamingHistory
|
|
|
376
380
|
from revengai.api.functions_threat_score_api import FunctionsThreatScoreApi as FunctionsThreatScoreApi
|
|
377
381
|
from revengai.api.models_api import ModelsApi as ModelsApi
|
|
378
382
|
from revengai.api.search_api import SearchApi as SearchApi
|
|
383
|
+
from revengai.api.default_api import DefaultApi as DefaultApi
|
|
379
384
|
|
|
380
385
|
# import ApiClient
|
|
381
386
|
from revengai.api_response import ApiResponse as ApiResponse
|
|
@@ -398,6 +403,7 @@ from revengai.models.analysis_config import AnalysisConfig as AnalysisConfig
|
|
|
398
403
|
from revengai.models.analysis_create_request import AnalysisCreateRequest as AnalysisCreateRequest
|
|
399
404
|
from revengai.models.analysis_create_response import AnalysisCreateResponse as AnalysisCreateResponse
|
|
400
405
|
from revengai.models.analysis_detail_response import AnalysisDetailResponse as AnalysisDetailResponse
|
|
406
|
+
from revengai.models.analysis_function_mapping import AnalysisFunctionMapping as AnalysisFunctionMapping
|
|
401
407
|
from revengai.models.analysis_functions import AnalysisFunctions as AnalysisFunctions
|
|
402
408
|
from revengai.models.analysis_record import AnalysisRecord as AnalysisRecord
|
|
403
409
|
from revengai.models.analysis_scope import AnalysisScope as AnalysisScope
|
|
@@ -422,6 +428,7 @@ from revengai.models.auto_unstrip_response import AutoUnstripResponse as AutoUns
|
|
|
422
428
|
from revengai.models.base_response import BaseResponse as BaseResponse
|
|
423
429
|
from revengai.models.base_response_analysis_create_response import BaseResponseAnalysisCreateResponse as BaseResponseAnalysisCreateResponse
|
|
424
430
|
from revengai.models.base_response_analysis_detail_response import BaseResponseAnalysisDetailResponse as BaseResponseAnalysisDetailResponse
|
|
431
|
+
from revengai.models.base_response_analysis_function_mapping import BaseResponseAnalysisFunctionMapping as BaseResponseAnalysisFunctionMapping
|
|
425
432
|
from revengai.models.base_response_analysis_functions import BaseResponseAnalysisFunctions as BaseResponseAnalysisFunctions
|
|
426
433
|
from revengai.models.base_response_analysis_strings_response import BaseResponseAnalysisStringsResponse as BaseResponseAnalysisStringsResponse
|
|
427
434
|
from revengai.models.base_response_analysis_tags import BaseResponseAnalysisTags as BaseResponseAnalysisTags
|
|
@@ -581,6 +588,7 @@ from revengai.models.function_info_input import FunctionInfoInput as FunctionInf
|
|
|
581
588
|
from revengai.models.function_info_input_func_deps_inner import FunctionInfoInputFuncDepsInner as FunctionInfoInputFuncDepsInner
|
|
582
589
|
from revengai.models.function_info_output import FunctionInfoOutput as FunctionInfoOutput
|
|
583
590
|
from revengai.models.function_local_variable_response import FunctionLocalVariableResponse as FunctionLocalVariableResponse
|
|
591
|
+
from revengai.models.function_mapping import FunctionMapping as FunctionMapping
|
|
584
592
|
from revengai.models.function_mapping_full import FunctionMappingFull as FunctionMappingFull
|
|
585
593
|
from revengai.models.function_name_confidence_body import FunctionNameConfidenceBody as FunctionNameConfidenceBody
|
|
586
594
|
from revengai.models.function_name_history import FunctionNameHistory as FunctionNameHistory
|
revengai/api/__init__.py
CHANGED
|
@@ -21,4 +21,5 @@ from revengai.api.functions_renaming_history_api import FunctionsRenamingHistory
|
|
|
21
21
|
from revengai.api.functions_threat_score_api import FunctionsThreatScoreApi
|
|
22
22
|
from revengai.api.models_api import ModelsApi
|
|
23
23
|
from revengai.api.search_api import SearchApi
|
|
24
|
+
from revengai.api.default_api import DefaultApi
|
|
24
25
|
|
|
@@ -0,0 +1,317 @@
|
|
|
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, StrictStr
|
|
19
|
+
from typing import Optional
|
|
20
|
+
from typing_extensions import Annotated
|
|
21
|
+
from revengai.models.base_response_analysis_function_mapping import BaseResponseAnalysisFunctionMapping
|
|
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 DefaultApi:
|
|
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_function_map(
|
|
43
|
+
self,
|
|
44
|
+
analysis_id: StrictInt,
|
|
45
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
|
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
|
+
) -> BaseResponseAnalysisFunctionMapping:
|
|
59
|
+
"""Get Analysis Function Map
|
|
60
|
+
|
|
61
|
+
Returns the a map of function ids to function addresses for the analysis, and it's inverse.
|
|
62
|
+
|
|
63
|
+
:param analysis_id: (required)
|
|
64
|
+
:type analysis_id: int
|
|
65
|
+
:param authorization: API Key bearer token
|
|
66
|
+
:type authorization: str
|
|
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_function_map_serialize(
|
|
90
|
+
analysis_id=analysis_id,
|
|
91
|
+
authorization=authorization,
|
|
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': "BaseResponseAnalysisFunctionMapping",
|
|
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_function_map_with_http_info(
|
|
115
|
+
self,
|
|
116
|
+
analysis_id: StrictInt,
|
|
117
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
|
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[BaseResponseAnalysisFunctionMapping]:
|
|
131
|
+
"""Get Analysis Function Map
|
|
132
|
+
|
|
133
|
+
Returns the a map of function ids to function addresses for the analysis, and it's inverse.
|
|
134
|
+
|
|
135
|
+
:param analysis_id: (required)
|
|
136
|
+
:type analysis_id: int
|
|
137
|
+
:param authorization: API Key bearer token
|
|
138
|
+
:type authorization: str
|
|
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_function_map_serialize(
|
|
162
|
+
analysis_id=analysis_id,
|
|
163
|
+
authorization=authorization,
|
|
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': "BaseResponseAnalysisFunctionMapping",
|
|
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_function_map_without_preload_content(
|
|
187
|
+
self,
|
|
188
|
+
analysis_id: StrictInt,
|
|
189
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
|
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
|
+
"""Get Analysis Function Map
|
|
204
|
+
|
|
205
|
+
Returns the a map of function ids to function addresses for the analysis, and it's inverse.
|
|
206
|
+
|
|
207
|
+
:param analysis_id: (required)
|
|
208
|
+
:type analysis_id: int
|
|
209
|
+
:param authorization: API Key bearer token
|
|
210
|
+
:type authorization: str
|
|
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_function_map_serialize(
|
|
234
|
+
analysis_id=analysis_id,
|
|
235
|
+
authorization=authorization,
|
|
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': "BaseResponseAnalysisFunctionMapping",
|
|
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_function_map_serialize(
|
|
254
|
+
self,
|
|
255
|
+
analysis_id,
|
|
256
|
+
authorization,
|
|
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
|
+
if authorization is not None:
|
|
283
|
+
_header_params['authorization'] = authorization
|
|
284
|
+
# process the form parameters
|
|
285
|
+
# process the body parameter
|
|
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
|
+
|
|
297
|
+
# authentication setting
|
|
298
|
+
_auth_settings: List[str] = [
|
|
299
|
+
'APIKey'
|
|
300
|
+
]
|
|
301
|
+
|
|
302
|
+
return self.api_client.param_serialize(
|
|
303
|
+
method='GET',
|
|
304
|
+
resource_path='/v2/analyses/{analysis_id}/func_maps',
|
|
305
|
+
path_params=_path_params,
|
|
306
|
+
query_params=_query_params,
|
|
307
|
+
header_params=_header_params,
|
|
308
|
+
body=_body_params,
|
|
309
|
+
post_params=_form_params,
|
|
310
|
+
files=_files,
|
|
311
|
+
auth_settings=_auth_settings,
|
|
312
|
+
collection_formats=_collection_formats,
|
|
313
|
+
_host=_host,
|
|
314
|
+
_request_auth=_request_auth
|
|
315
|
+
)
|
|
316
|
+
|
|
317
|
+
|
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/v1.
|
|
93
|
+
self.user_agent = 'OpenAPI-Generator/v1.78.1/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: v1.
|
|
533
|
-
"SDK Package Version: v1.
|
|
532
|
+
"Version of the API: v1.78.1\n"\
|
|
533
|
+
"SDK Package Version: v1.78.1".\
|
|
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
|
@@ -21,6 +21,7 @@ from revengai.models.analysis_config import AnalysisConfig
|
|
|
21
21
|
from revengai.models.analysis_create_request import AnalysisCreateRequest
|
|
22
22
|
from revengai.models.analysis_create_response import AnalysisCreateResponse
|
|
23
23
|
from revengai.models.analysis_detail_response import AnalysisDetailResponse
|
|
24
|
+
from revengai.models.analysis_function_mapping import AnalysisFunctionMapping
|
|
24
25
|
from revengai.models.analysis_functions import AnalysisFunctions
|
|
25
26
|
from revengai.models.analysis_record import AnalysisRecord
|
|
26
27
|
from revengai.models.analysis_scope import AnalysisScope
|
|
@@ -45,6 +46,7 @@ from revengai.models.auto_unstrip_response import AutoUnstripResponse
|
|
|
45
46
|
from revengai.models.base_response import BaseResponse
|
|
46
47
|
from revengai.models.base_response_analysis_create_response import BaseResponseAnalysisCreateResponse
|
|
47
48
|
from revengai.models.base_response_analysis_detail_response import BaseResponseAnalysisDetailResponse
|
|
49
|
+
from revengai.models.base_response_analysis_function_mapping import BaseResponseAnalysisFunctionMapping
|
|
48
50
|
from revengai.models.base_response_analysis_functions import BaseResponseAnalysisFunctions
|
|
49
51
|
from revengai.models.base_response_analysis_strings_response import BaseResponseAnalysisStringsResponse
|
|
50
52
|
from revengai.models.base_response_analysis_tags import BaseResponseAnalysisTags
|
|
@@ -204,6 +206,7 @@ from revengai.models.function_info_input import FunctionInfoInput
|
|
|
204
206
|
from revengai.models.function_info_input_func_deps_inner import FunctionInfoInputFuncDepsInner
|
|
205
207
|
from revengai.models.function_info_output import FunctionInfoOutput
|
|
206
208
|
from revengai.models.function_local_variable_response import FunctionLocalVariableResponse
|
|
209
|
+
from revengai.models.function_mapping import FunctionMapping
|
|
207
210
|
from revengai.models.function_mapping_full import FunctionMappingFull
|
|
208
211
|
from revengai.models.function_name_confidence_body import FunctionNameConfidenceBody
|
|
209
212
|
from revengai.models.function_name_history import FunctionNameHistory
|
|
@@ -0,0 +1,90 @@
|
|
|
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 revengai.models.function_mapping import FunctionMapping
|
|
22
|
+
from typing import Optional, Set
|
|
23
|
+
from typing_extensions import Self
|
|
24
|
+
|
|
25
|
+
class AnalysisFunctionMapping(BaseModel):
|
|
26
|
+
"""
|
|
27
|
+
AnalysisFunctionMapping
|
|
28
|
+
""" # noqa: E501
|
|
29
|
+
function_maps: FunctionMapping = Field(description="A map of function ids to function addresses for the analysis, and it's inverse.")
|
|
30
|
+
__properties: ClassVar[List[str]] = ["function_maps"]
|
|
31
|
+
|
|
32
|
+
model_config = ConfigDict(
|
|
33
|
+
populate_by_name=True,
|
|
34
|
+
validate_assignment=True,
|
|
35
|
+
protected_namespaces=(),
|
|
36
|
+
)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
def to_str(self) -> str:
|
|
40
|
+
"""Returns the string representation of the model using alias"""
|
|
41
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
42
|
+
|
|
43
|
+
def to_json(self) -> str:
|
|
44
|
+
"""Returns the JSON representation of the model using alias"""
|
|
45
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
46
|
+
return json.dumps(self.to_dict())
|
|
47
|
+
|
|
48
|
+
@classmethod
|
|
49
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
50
|
+
"""Create an instance of AnalysisFunctionMapping from a JSON string"""
|
|
51
|
+
return cls.from_dict(json.loads(json_str))
|
|
52
|
+
|
|
53
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
54
|
+
"""Return the dictionary representation of the model using alias.
|
|
55
|
+
|
|
56
|
+
This has the following differences from calling pydantic's
|
|
57
|
+
`self.model_dump(by_alias=True)`:
|
|
58
|
+
|
|
59
|
+
* `None` is only added to the output dict for nullable fields that
|
|
60
|
+
were set at model initialization. Other fields with value `None`
|
|
61
|
+
are ignored.
|
|
62
|
+
"""
|
|
63
|
+
excluded_fields: Set[str] = set([
|
|
64
|
+
])
|
|
65
|
+
|
|
66
|
+
_dict = self.model_dump(
|
|
67
|
+
by_alias=True,
|
|
68
|
+
exclude=excluded_fields,
|
|
69
|
+
exclude_none=True,
|
|
70
|
+
)
|
|
71
|
+
# override the default output from pydantic by calling `to_dict()` of function_maps
|
|
72
|
+
if self.function_maps:
|
|
73
|
+
_dict['function_maps'] = self.function_maps.to_dict()
|
|
74
|
+
return _dict
|
|
75
|
+
|
|
76
|
+
@classmethod
|
|
77
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
78
|
+
"""Create an instance of AnalysisFunctionMapping from a dict"""
|
|
79
|
+
if obj is None:
|
|
80
|
+
return None
|
|
81
|
+
|
|
82
|
+
if not isinstance(obj, dict):
|
|
83
|
+
return cls.model_validate(obj)
|
|
84
|
+
|
|
85
|
+
_obj = cls.model_validate({
|
|
86
|
+
"function_maps": FunctionMapping.from_dict(obj["function_maps"]) if obj.get("function_maps") is not None else None
|
|
87
|
+
})
|
|
88
|
+
return _obj
|
|
89
|
+
|
|
90
|
+
|
|
@@ -0,0 +1,125 @@
|
|
|
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.analysis_function_mapping import AnalysisFunctionMapping
|
|
22
|
+
from revengai.models.error_model import ErrorModel
|
|
23
|
+
from revengai.models.meta_model import MetaModel
|
|
24
|
+
from typing import Optional, Set
|
|
25
|
+
from typing_extensions import Self
|
|
26
|
+
|
|
27
|
+
class BaseResponseAnalysisFunctionMapping(BaseModel):
|
|
28
|
+
"""
|
|
29
|
+
BaseResponseAnalysisFunctionMapping
|
|
30
|
+
""" # noqa: E501
|
|
31
|
+
status: Optional[StrictBool] = Field(default=True, description="Response status on whether the request succeeded")
|
|
32
|
+
data: Optional[AnalysisFunctionMapping] = 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 BaseResponseAnalysisFunctionMapping 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 data
|
|
78
|
+
if self.data:
|
|
79
|
+
_dict['data'] = self.data.to_dict()
|
|
80
|
+
# override the default output from pydantic by calling `to_dict()` of each item in errors (list)
|
|
81
|
+
_items = []
|
|
82
|
+
if self.errors:
|
|
83
|
+
for _item_errors in self.errors:
|
|
84
|
+
if _item_errors:
|
|
85
|
+
_items.append(_item_errors.to_dict())
|
|
86
|
+
_dict['errors'] = _items
|
|
87
|
+
# override the default output from pydantic by calling `to_dict()` of meta
|
|
88
|
+
if self.meta:
|
|
89
|
+
_dict['meta'] = self.meta.to_dict()
|
|
90
|
+
# set to None if data (nullable) is None
|
|
91
|
+
# and model_fields_set contains the field
|
|
92
|
+
if self.data is None and "data" in self.model_fields_set:
|
|
93
|
+
_dict['data'] = None
|
|
94
|
+
|
|
95
|
+
# set to None if message (nullable) is None
|
|
96
|
+
# and model_fields_set contains the field
|
|
97
|
+
if self.message is None and "message" in self.model_fields_set:
|
|
98
|
+
_dict['message'] = None
|
|
99
|
+
|
|
100
|
+
# set to None if errors (nullable) is None
|
|
101
|
+
# and model_fields_set contains the field
|
|
102
|
+
if self.errors is None and "errors" in self.model_fields_set:
|
|
103
|
+
_dict['errors'] = None
|
|
104
|
+
|
|
105
|
+
return _dict
|
|
106
|
+
|
|
107
|
+
@classmethod
|
|
108
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
109
|
+
"""Create an instance of BaseResponseAnalysisFunctionMapping from a dict"""
|
|
110
|
+
if obj is None:
|
|
111
|
+
return None
|
|
112
|
+
|
|
113
|
+
if not isinstance(obj, dict):
|
|
114
|
+
return cls.model_validate(obj)
|
|
115
|
+
|
|
116
|
+
_obj = cls.model_validate({
|
|
117
|
+
"status": obj.get("status") if obj.get("status") is not None else True,
|
|
118
|
+
"data": AnalysisFunctionMapping.from_dict(obj["data"]) if obj.get("data") is not None else None,
|
|
119
|
+
"message": obj.get("message"),
|
|
120
|
+
"errors": [ErrorModel.from_dict(_item) for _item in obj["errors"]] if obj.get("errors") is not None else None,
|
|
121
|
+
"meta": MetaModel.from_dict(obj["meta"]) if obj.get("meta") is not None else None
|
|
122
|
+
})
|
|
123
|
+
return _obj
|
|
124
|
+
|
|
125
|
+
|
|
@@ -0,0 +1,88 @@
|
|
|
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, StrictInt
|
|
20
|
+
from typing import Any, ClassVar, Dict, List
|
|
21
|
+
from typing import Optional, Set
|
|
22
|
+
from typing_extensions import Self
|
|
23
|
+
|
|
24
|
+
class FunctionMapping(BaseModel):
|
|
25
|
+
"""
|
|
26
|
+
FunctionMapping
|
|
27
|
+
""" # noqa: E501
|
|
28
|
+
function_map: Dict[str, StrictInt] = Field(description="Mapping of remote function ids to local function addresses")
|
|
29
|
+
inverse_function_map: Dict[str, StrictInt] = Field(description="Mapping of local function addresses to remote function ids")
|
|
30
|
+
__properties: ClassVar[List[str]] = ["function_map", "inverse_function_map"]
|
|
31
|
+
|
|
32
|
+
model_config = ConfigDict(
|
|
33
|
+
populate_by_name=True,
|
|
34
|
+
validate_assignment=True,
|
|
35
|
+
protected_namespaces=(),
|
|
36
|
+
)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
def to_str(self) -> str:
|
|
40
|
+
"""Returns the string representation of the model using alias"""
|
|
41
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
42
|
+
|
|
43
|
+
def to_json(self) -> str:
|
|
44
|
+
"""Returns the JSON representation of the model using alias"""
|
|
45
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
46
|
+
return json.dumps(self.to_dict())
|
|
47
|
+
|
|
48
|
+
@classmethod
|
|
49
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
50
|
+
"""Create an instance of FunctionMapping from a JSON string"""
|
|
51
|
+
return cls.from_dict(json.loads(json_str))
|
|
52
|
+
|
|
53
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
54
|
+
"""Return the dictionary representation of the model using alias.
|
|
55
|
+
|
|
56
|
+
This has the following differences from calling pydantic's
|
|
57
|
+
`self.model_dump(by_alias=True)`:
|
|
58
|
+
|
|
59
|
+
* `None` is only added to the output dict for nullable fields that
|
|
60
|
+
were set at model initialization. Other fields with value `None`
|
|
61
|
+
are ignored.
|
|
62
|
+
"""
|
|
63
|
+
excluded_fields: Set[str] = set([
|
|
64
|
+
])
|
|
65
|
+
|
|
66
|
+
_dict = self.model_dump(
|
|
67
|
+
by_alias=True,
|
|
68
|
+
exclude=excluded_fields,
|
|
69
|
+
exclude_none=True,
|
|
70
|
+
)
|
|
71
|
+
return _dict
|
|
72
|
+
|
|
73
|
+
@classmethod
|
|
74
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
75
|
+
"""Create an instance of FunctionMapping from a dict"""
|
|
76
|
+
if obj is None:
|
|
77
|
+
return None
|
|
78
|
+
|
|
79
|
+
if not isinstance(obj, dict):
|
|
80
|
+
return cls.model_validate(obj)
|
|
81
|
+
|
|
82
|
+
_obj = cls.model_validate({
|
|
83
|
+
"function_map": obj.get("function_map"),
|
|
84
|
+
"inverse_function_map": obj.get("inverse_function_map")
|
|
85
|
+
})
|
|
86
|
+
return _obj
|
|
87
|
+
|
|
88
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: revengai
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.78.1
|
|
4
4
|
Summary: RevEng.AI API
|
|
5
5
|
Project-URL: Repository, https://github.com/RevEngAI/revengai-python
|
|
6
6
|
Keywords: RevEng.AI API
|
|
@@ -170,6 +170,7 @@ Class | Method | HTTP request | Description
|
|
|
170
170
|
*SearchApi* | [**search_collections**](docs/SearchApi.md#search_collections) | **GET** /v2/search/collections | Collections search
|
|
171
171
|
*SearchApi* | [**search_functions**](docs/SearchApi.md#search_functions) | **GET** /v2/search/functions | Functions search
|
|
172
172
|
*SearchApi* | [**search_tags**](docs/SearchApi.md#search_tags) | **GET** /v2/search/tags | Tags search
|
|
173
|
+
*DefaultApi* | [**get_analysis_function_map**](docs/DefaultApi.md#get_analysis_function_map) | **GET** /v2/analyses/{analysis_id}/func_maps | Get Analysis Function Map
|
|
173
174
|
|
|
174
175
|
|
|
175
176
|
## Documentation For Models
|
|
@@ -183,6 +184,7 @@ Class | Method | HTTP request | Description
|
|
|
183
184
|
- [AnalysisCreateRequest](docs/AnalysisCreateRequest.md)
|
|
184
185
|
- [AnalysisCreateResponse](docs/AnalysisCreateResponse.md)
|
|
185
186
|
- [AnalysisDetailResponse](docs/AnalysisDetailResponse.md)
|
|
187
|
+
- [AnalysisFunctionMapping](docs/AnalysisFunctionMapping.md)
|
|
186
188
|
- [AnalysisFunctions](docs/AnalysisFunctions.md)
|
|
187
189
|
- [AnalysisRecord](docs/AnalysisRecord.md)
|
|
188
190
|
- [AnalysisScope](docs/AnalysisScope.md)
|
|
@@ -207,6 +209,7 @@ Class | Method | HTTP request | Description
|
|
|
207
209
|
- [BaseResponse](docs/BaseResponse.md)
|
|
208
210
|
- [BaseResponseAnalysisCreateResponse](docs/BaseResponseAnalysisCreateResponse.md)
|
|
209
211
|
- [BaseResponseAnalysisDetailResponse](docs/BaseResponseAnalysisDetailResponse.md)
|
|
212
|
+
- [BaseResponseAnalysisFunctionMapping](docs/BaseResponseAnalysisFunctionMapping.md)
|
|
210
213
|
- [BaseResponseAnalysisFunctions](docs/BaseResponseAnalysisFunctions.md)
|
|
211
214
|
- [BaseResponseAnalysisStringsResponse](docs/BaseResponseAnalysisStringsResponse.md)
|
|
212
215
|
- [BaseResponseAnalysisTags](docs/BaseResponseAnalysisTags.md)
|
|
@@ -366,6 +369,7 @@ Class | Method | HTTP request | Description
|
|
|
366
369
|
- [FunctionInfoInputFuncDepsInner](docs/FunctionInfoInputFuncDepsInner.md)
|
|
367
370
|
- [FunctionInfoOutput](docs/FunctionInfoOutput.md)
|
|
368
371
|
- [FunctionLocalVariableResponse](docs/FunctionLocalVariableResponse.md)
|
|
372
|
+
- [FunctionMapping](docs/FunctionMapping.md)
|
|
369
373
|
- [FunctionMappingFull](docs/FunctionMappingFull.md)
|
|
370
374
|
- [FunctionNameConfidenceBody](docs/FunctionNameConfidenceBody.md)
|
|
371
375
|
- [FunctionNameHistory](docs/FunctionNameHistory.md)
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
revengai/__init__.py,sha256=
|
|
2
|
-
revengai/api_client.py,sha256=
|
|
1
|
+
revengai/__init__.py,sha256=US5BrQNuJPs3E0mY6WDIYy43RCnFy_kBIIMOmtJ6fuE,43525
|
|
2
|
+
revengai/api_client.py,sha256=LA7Yxqby2aVrvhTcYLYLZzdEHTDghkp3MxIxk3b3uik,27670
|
|
3
3
|
revengai/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
4
|
-
revengai/configuration.py,sha256=
|
|
4
|
+
revengai/configuration.py,sha256=PXhC2BsojG7oAfrkJWlzRjWLcuSB8J2jOd8WRZJGg2Q,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=0RWymEgdEdR3_QjuvOUc1lubqqnTvQv9PnJVjwdAqds,1444
|
|
9
9
|
revengai/api/analyses_comments_api.py,sha256=L6NuM8bS3NJRt1b3WKdnZlYVE0YgdcZivNwGuQe5Gb4,49575
|
|
10
10
|
revengai/api/analyses_core_api.py,sha256=Kaz3uLxevn9UOxR7lOkLZVIcjl5AxUoB6hK7tn2KXBs,183627
|
|
11
11
|
revengai/api/analyses_dynamic_execution_api.py,sha256=4vNnupRsuwNVNk7cPa-VFx2nnLtrokJpHu4YUOPwX_o,77682
|
|
@@ -15,6 +15,7 @@ revengai/api/authentication_users_api.py,sha256=2bJh7ij2nMIlsz-YIQHjl9Q2RSHlYKgB
|
|
|
15
15
|
revengai/api/binaries_api.py,sha256=QMKuMSwu5b0H-HElCeECff_Wd0OuSo0ZN4oyKtvUFsw,66116
|
|
16
16
|
revengai/api/collections_api.py,sha256=B6QLZ8pzDssu60R9cRF66b6vEn2HFv9z_zHIVSFle_E,89699
|
|
17
17
|
revengai/api/confidence_api.py,sha256=1tLfE_uMhK7kHQP3ErkHScJZo1x0pG2-FK_nK_DiFHk,50722
|
|
18
|
+
revengai/api/default_api.py,sha256=EWN9nmGcQXr7DJE4lSq4q1tMwr3Rbx8v31r-Zh4L_04,12243
|
|
18
19
|
revengai/api/external_sources_api.py,sha256=JMyVAoivo6AsgeNekXnSk5BZh02APn9bzojoFzdsCdU,65993
|
|
19
20
|
revengai/api/firmware_api.py,sha256=IPkGAJ-gxmuNcz2sUM6ip-9N2DZujqLJWwhiLvUQBOA,24150
|
|
20
21
|
revengai/api/functions_ai_decompilation_api.py,sha256=JJZREg2Tz5iozNGl48F1vvkGJOrQoIwFFBbQuEghAeU,109824
|
|
@@ -26,7 +27,7 @@ revengai/api/functions_renaming_history_api.py,sha256=L2CDadLnZrA0oNxhJfTSLLiMDz
|
|
|
26
27
|
revengai/api/functions_threat_score_api.py,sha256=RYbCaX71r2ssv7VxUrcezT8dSdU5K5ipHD6yR592k6I,23867
|
|
27
28
|
revengai/api/models_api.py,sha256=bqukeUMctErkaX5mH8Rm3iPKEHQOCx-JT-P8_KV_iP8,11319
|
|
28
29
|
revengai/api/search_api.py,sha256=Kzo7KfP4nY1-YsoCHxVOQm3Vn89kFjcnUV7oNdaw5z0,65835
|
|
29
|
-
revengai/models/__init__.py,sha256=
|
|
30
|
+
revengai/models/__init__.py,sha256=WeAm7NvfOAG1SuX-RgafRz4lbO1VtWqdyhIoqlKrlMw,23406
|
|
30
31
|
revengai/models/addr.py,sha256=-2N-UQsOiZ0eyEAQ7ssk0of8W2fBrXeYdTZXuVt3SZs,4787
|
|
31
32
|
revengai/models/ai_decompilation_rating.py,sha256=_Ucm2tiqUnnb5XjGSwAJ18ID0eZvGjVRqk-mL0SwJAI,698
|
|
32
33
|
revengai/models/ai_unstrip_request.py,sha256=loSXNdHATJmY5yttiUCE-lLEOkuE63qVDTz8U0eCAIc,2596
|
|
@@ -35,6 +36,7 @@ revengai/models/analysis_config.py,sha256=AHM6VTaWJ69WfbANGqLOYjOmqCrcN-XO5rtv6q
|
|
|
35
36
|
revengai/models/analysis_create_request.py,sha256=6hU94Fi47hrxXQ-wX1jRuDrDi1GQymEbjoZd9rqdS6U,5510
|
|
36
37
|
revengai/models/analysis_create_response.py,sha256=aaO3-lJ65iBGe5lnyW8exHb9qByDaWfF2hOVKrWkN-I,2628
|
|
37
38
|
revengai/models/analysis_detail_response.py,sha256=KPyzlSbu9TU7itVlhGusJVSszrZAkuC8dMg1welYZeM,4170
|
|
39
|
+
revengai/models/analysis_function_mapping.py,sha256=_8LOSaBOgsFKLeqvoizbU2FSHtekA7aNrM7deIJyM4k,2886
|
|
38
40
|
revengai/models/analysis_functions.py,sha256=N1TKQuw33I9dw-i07kLus36k2bcAXQVm2oc1Ycfrgdw,3067
|
|
39
41
|
revengai/models/analysis_record.py,sha256=L538tQRScvfk9tr3L_Vqo5PiLvK0jAbBTXanLyvmsJc,5013
|
|
40
42
|
revengai/models/analysis_scope.py,sha256=azpsUux2axe4QKwQ4FbW30HbazYYVFP-e68F9zp33-4,668
|
|
@@ -60,6 +62,7 @@ revengai/models/auto_unstrip_response.py,sha256=Mu2GzeIc8vL2PRIdAT7BWzQa38PyhEzq
|
|
|
60
62
|
revengai/models/base_response.py,sha256=U1Hwv1TXztjpxHxXGwGk46egAYs49jfzEfr1nTajMjg,4526
|
|
61
63
|
revengai/models/base_response_analysis_create_response.py,sha256=bwA1vMqKgLUDcElBvuvTH2jo8tvx0mjfbMOnoniswbE,4682
|
|
62
64
|
revengai/models/base_response_analysis_detail_response.py,sha256=233L-ucrjTQhgwKeqiwlxW_C_Vrp4u4_pikrCti1F7Y,4682
|
|
65
|
+
revengai/models/base_response_analysis_function_mapping.py,sha256=JiypPq36Om24A5xMlAw-J9KxtpU9y6-goKHjpEGNlTI,4690
|
|
63
66
|
revengai/models/base_response_analysis_functions.py,sha256=73wAD-8VUh6dMuwnxSXi6_xZ9YCE-eUaeEKaUd3yTrY,4641
|
|
64
67
|
revengai/models/base_response_analysis_strings_response.py,sha256=GAbjdsI625BY87KX502ZPvbC2xGcbyEcwNNVfrmATZU,4690
|
|
65
68
|
revengai/models/base_response_analysis_tags.py,sha256=WbqupzDQHmEB1d1clDQnWUl3bQZzcogVrZ_SOtSsp-o,4601
|
|
@@ -219,6 +222,7 @@ revengai/models/function_info_input.py,sha256=w2WZ4xjp0nZ_gea4NrcMl5huksF-8QZB74
|
|
|
219
222
|
revengai/models/function_info_input_func_deps_inner.py,sha256=oNrQvHiraXX74EjnQ5M-xYwNIrRngk9sePKq3ANct5w,6292
|
|
220
223
|
revengai/models/function_info_output.py,sha256=iIxkZ6_KFSoz0NhbBXyNi7knPvWcIp-hmA2H51VoH6Y,3707
|
|
221
224
|
revengai/models/function_local_variable_response.py,sha256=llv5alvfVXqxE3Cs6vt7qnQNyfwj4PBoxq_Sim65jic,2733
|
|
225
|
+
revengai/models/function_mapping.py,sha256=_3xUeb8h_Jfxf4NwwrWCaZcK0lOqvMVwfsCe-HAdB_g,2744
|
|
222
226
|
revengai/models/function_mapping_full.py,sha256=dax345vnk25zSPVVpAmCFrrOWXzFXW6OnhSs9zVIKpI,11948
|
|
223
227
|
revengai/models/function_name_confidence_body.py,sha256=Dz8HvTUDn5YcyCie-KMXmOdy8yF8PD-m0XzwpRyyQmg,3415
|
|
224
228
|
revengai/models/function_name_history.py,sha256=INu3KWYUpQMFfWy6oWl5iSaxrlayKr-wvuiahRCzinI,3265
|
|
@@ -334,6 +338,6 @@ revengai/models/vulnerabilities.py,sha256=9t6uoZd3svWyfcZJjmj6zP731Dp47Apb25y8Qt
|
|
|
334
338
|
revengai/models/vulnerability.py,sha256=P7rAOAYU5JLLpcRr824-YJgZba5kPb_J9ALV3tSNfLQ,3688
|
|
335
339
|
revengai/models/vulnerability_type.py,sha256=SyOgfMmELYYc_H84oPkikBpjwngtG5Qw9Q_86a2TPr8,866
|
|
336
340
|
revengai/models/workspace.py,sha256=chjU62GFvByEmaNd6luMNQVQLP3wlPx1zJgGJ_yyMLA,676
|
|
337
|
-
revengai-1.
|
|
338
|
-
revengai-1.
|
|
339
|
-
revengai-1.
|
|
341
|
+
revengai-1.78.1.dist-info/METADATA,sha256=AAbfBScqBaN9y5AcXzZDFJm0fYePCdUgGNx2r1Ljfq8,41911
|
|
342
|
+
revengai-1.78.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
343
|
+
revengai-1.78.1.dist-info/RECORD,,
|
|
File without changes
|