revengai 1.81.2__py3-none-any.whl → 1.85.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of revengai might be problematic. Click here for more details.
- revengai/__init__.py +9 -9
- revengai/api/__init__.py +1 -0
- revengai/api/analyses_core_api.py +33 -16
- revengai/api/functions_ai_decompilation_api.py +3 -3
- revengai/api/functions_core_api.py +0 -309
- revengai/api/v1_api.py +334 -0
- revengai/api_client.py +1 -1
- revengai/configuration.py +2 -2
- revengai/models/__init__.py +3 -4
- revengai/models/ai_decompilation_rating.py +1 -0
- revengai/models/analysis_record.py +8 -2
- revengai/models/app_api_rest_v1_ann_schema_ann_function.py +134 -0
- revengai/models/{ann_function.py → app_api_rest_v2_similarity_schema_ann_function.py} +4 -4
- revengai/models/{unstrip_request.py → function_batch_ann.py} +28 -14
- revengai/models/get_ai_decompilation_rating_response.py +11 -4
- revengai/models/matched_function_suggestion.py +2 -7
- revengai/models/upsert_ai_decomplation_rating_request.py +11 -4
- {revengai-1.81.2.dist-info → revengai-1.85.0.dist-info}/METADATA +5 -6
- {revengai-1.81.2.dist-info → revengai-1.85.0.dist-info}/RECORD +20 -20
- revengai/models/auto_unstrip_by_group_response.py +0 -131
- revengai/models/matched_function_group.py +0 -88
- {revengai-1.81.2.dist-info → revengai-1.85.0.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.85.0"
|
|
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
|
+
"V1Api",
|
|
40
41
|
"ApiResponse",
|
|
41
42
|
"ApiClient",
|
|
42
43
|
"Configuration",
|
|
@@ -46,7 +47,6 @@ __all__ = [
|
|
|
46
47
|
"ApiKeyError",
|
|
47
48
|
"ApiAttributeError",
|
|
48
49
|
"ApiException",
|
|
49
|
-
"ANNFunction",
|
|
50
50
|
"Addr",
|
|
51
51
|
"AiDecompilationRating",
|
|
52
52
|
"AiUnstripRequest",
|
|
@@ -65,16 +65,17 @@ __all__ = [
|
|
|
65
65
|
"AnalysisUpdateRequest",
|
|
66
66
|
"AnalysisUpdateTagsRequest",
|
|
67
67
|
"AnalysisUpdateTagsResponse",
|
|
68
|
+
"AppApiRestV1AnnSchemaANNFunction",
|
|
68
69
|
"AppApiRestV2AnalysesEnumsDynamicExecutionStatus",
|
|
69
70
|
"AppApiRestV2AnalysesEnumsOrderBy",
|
|
70
71
|
"AppApiRestV2AnalysesResponsesTagItem",
|
|
71
72
|
"AppApiRestV2CollectionsEnumsOrderBy",
|
|
72
73
|
"AppApiRestV2FunctionsResponsesFunction",
|
|
73
74
|
"AppApiRestV2FunctionsTypesFunction",
|
|
75
|
+
"AppApiRestV2SimilaritySchemaANNFunction",
|
|
74
76
|
"AppServicesBinaryAnnSchemaTagItem",
|
|
75
77
|
"AppServicesDynamicExecutionSchemasDynamicExecutionStatus",
|
|
76
78
|
"Argument",
|
|
77
|
-
"AutoUnstripByGroupResponse",
|
|
78
79
|
"AutoUnstripRequest",
|
|
79
80
|
"AutoUnstripResponse",
|
|
80
81
|
"BaseResponse",
|
|
@@ -221,6 +222,7 @@ __all__ = [
|
|
|
221
222
|
"FileMetadata",
|
|
222
223
|
"Filters",
|
|
223
224
|
"FunctionAnalysisThreatScoreData",
|
|
225
|
+
"FunctionBatchAnn",
|
|
224
226
|
"FunctionBlockDestinationResponse",
|
|
225
227
|
"FunctionBlockResponse",
|
|
226
228
|
"FunctionBlocksResponse",
|
|
@@ -274,7 +276,6 @@ __all__ = [
|
|
|
274
276
|
"LoginRequest",
|
|
275
277
|
"LoginResponse",
|
|
276
278
|
"Logs",
|
|
277
|
-
"MatchedFunctionGroup",
|
|
278
279
|
"MatchedFunctionSuggestion",
|
|
279
280
|
"MetaModel",
|
|
280
281
|
"ModelName",
|
|
@@ -343,7 +344,6 @@ __all__ = [
|
|
|
343
344
|
"ThreatScoreFunctionBody",
|
|
344
345
|
"TimestampModel",
|
|
345
346
|
"TypeDefinition",
|
|
346
|
-
"UnstripRequest",
|
|
347
347
|
"UpdateFunctionDataTypes",
|
|
348
348
|
"UploadFileType",
|
|
349
349
|
"UploadResponse",
|
|
@@ -376,6 +376,7 @@ from revengai.api.functions_renaming_history_api import FunctionsRenamingHistory
|
|
|
376
376
|
from revengai.api.functions_threat_score_api import FunctionsThreatScoreApi as FunctionsThreatScoreApi
|
|
377
377
|
from revengai.api.models_api import ModelsApi as ModelsApi
|
|
378
378
|
from revengai.api.search_api import SearchApi as SearchApi
|
|
379
|
+
from revengai.api.v1_api import V1Api as V1Api
|
|
379
380
|
|
|
380
381
|
# import ApiClient
|
|
381
382
|
from revengai.api_response import ApiResponse as ApiResponse
|
|
@@ -389,7 +390,6 @@ from revengai.exceptions import ApiAttributeError as ApiAttributeError
|
|
|
389
390
|
from revengai.exceptions import ApiException as ApiException
|
|
390
391
|
|
|
391
392
|
# import models into sdk package
|
|
392
|
-
from revengai.models.ann_function import ANNFunction as ANNFunction
|
|
393
393
|
from revengai.models.addr import Addr as Addr
|
|
394
394
|
from revengai.models.ai_decompilation_rating import AiDecompilationRating as AiDecompilationRating
|
|
395
395
|
from revengai.models.ai_unstrip_request import AiUnstripRequest as AiUnstripRequest
|
|
@@ -408,16 +408,17 @@ from revengai.models.analysis_threat_score_data import AnalysisThreatScoreData a
|
|
|
408
408
|
from revengai.models.analysis_update_request import AnalysisUpdateRequest as AnalysisUpdateRequest
|
|
409
409
|
from revengai.models.analysis_update_tags_request import AnalysisUpdateTagsRequest as AnalysisUpdateTagsRequest
|
|
410
410
|
from revengai.models.analysis_update_tags_response import AnalysisUpdateTagsResponse as AnalysisUpdateTagsResponse
|
|
411
|
+
from revengai.models.app_api_rest_v1_ann_schema_ann_function import AppApiRestV1AnnSchemaANNFunction as AppApiRestV1AnnSchemaANNFunction
|
|
411
412
|
from revengai.models.app_api_rest_v2_analyses_enums_dynamic_execution_status import AppApiRestV2AnalysesEnumsDynamicExecutionStatus as AppApiRestV2AnalysesEnumsDynamicExecutionStatus
|
|
412
413
|
from revengai.models.app_api_rest_v2_analyses_enums_order_by import AppApiRestV2AnalysesEnumsOrderBy as AppApiRestV2AnalysesEnumsOrderBy
|
|
413
414
|
from revengai.models.app_api_rest_v2_analyses_responses_tag_item import AppApiRestV2AnalysesResponsesTagItem as AppApiRestV2AnalysesResponsesTagItem
|
|
414
415
|
from revengai.models.app_api_rest_v2_collections_enums_order_by import AppApiRestV2CollectionsEnumsOrderBy as AppApiRestV2CollectionsEnumsOrderBy
|
|
415
416
|
from revengai.models.app_api_rest_v2_functions_responses_function import AppApiRestV2FunctionsResponsesFunction as AppApiRestV2FunctionsResponsesFunction
|
|
416
417
|
from revengai.models.app_api_rest_v2_functions_types_function import AppApiRestV2FunctionsTypesFunction as AppApiRestV2FunctionsTypesFunction
|
|
418
|
+
from revengai.models.app_api_rest_v2_similarity_schema_ann_function import AppApiRestV2SimilaritySchemaANNFunction as AppApiRestV2SimilaritySchemaANNFunction
|
|
417
419
|
from revengai.models.app_services_binary_ann_schema_tag_item import AppServicesBinaryAnnSchemaTagItem as AppServicesBinaryAnnSchemaTagItem
|
|
418
420
|
from revengai.models.app_services_dynamic_execution_schemas_dynamic_execution_status import AppServicesDynamicExecutionSchemasDynamicExecutionStatus as AppServicesDynamicExecutionSchemasDynamicExecutionStatus
|
|
419
421
|
from revengai.models.argument import Argument as Argument
|
|
420
|
-
from revengai.models.auto_unstrip_by_group_response import AutoUnstripByGroupResponse as AutoUnstripByGroupResponse
|
|
421
422
|
from revengai.models.auto_unstrip_request import AutoUnstripRequest as AutoUnstripRequest
|
|
422
423
|
from revengai.models.auto_unstrip_response import AutoUnstripResponse as AutoUnstripResponse
|
|
423
424
|
from revengai.models.base_response import BaseResponse as BaseResponse
|
|
@@ -564,6 +565,7 @@ from revengai.models.file_hashes import FileHashes as FileHashes
|
|
|
564
565
|
from revengai.models.file_metadata import FileMetadata as FileMetadata
|
|
565
566
|
from revengai.models.filters import Filters as Filters
|
|
566
567
|
from revengai.models.function_analysis_threat_score_data import FunctionAnalysisThreatScoreData as FunctionAnalysisThreatScoreData
|
|
568
|
+
from revengai.models.function_batch_ann import FunctionBatchAnn as FunctionBatchAnn
|
|
567
569
|
from revengai.models.function_block_destination_response import FunctionBlockDestinationResponse as FunctionBlockDestinationResponse
|
|
568
570
|
from revengai.models.function_block_response import FunctionBlockResponse as FunctionBlockResponse
|
|
569
571
|
from revengai.models.function_blocks_response import FunctionBlocksResponse as FunctionBlocksResponse
|
|
@@ -617,7 +619,6 @@ from revengai.models.list_collection_results import ListCollectionResults as Lis
|
|
|
617
619
|
from revengai.models.login_request import LoginRequest as LoginRequest
|
|
618
620
|
from revengai.models.login_response import LoginResponse as LoginResponse
|
|
619
621
|
from revengai.models.logs import Logs as Logs
|
|
620
|
-
from revengai.models.matched_function_group import MatchedFunctionGroup as MatchedFunctionGroup
|
|
621
622
|
from revengai.models.matched_function_suggestion import MatchedFunctionSuggestion as MatchedFunctionSuggestion
|
|
622
623
|
from revengai.models.meta_model import MetaModel as MetaModel
|
|
623
624
|
from revengai.models.model_name import ModelName as ModelName
|
|
@@ -686,7 +687,6 @@ from revengai.models.task_status import TaskStatus as TaskStatus
|
|
|
686
687
|
from revengai.models.threat_score_function_body import ThreatScoreFunctionBody as ThreatScoreFunctionBody
|
|
687
688
|
from revengai.models.timestamp_model import TimestampModel as TimestampModel
|
|
688
689
|
from revengai.models.type_definition import TypeDefinition as TypeDefinition
|
|
689
|
-
from revengai.models.unstrip_request import UnstripRequest as UnstripRequest
|
|
690
690
|
from revengai.models.update_function_data_types import UpdateFunctionDataTypes as UpdateFunctionDataTypes
|
|
691
691
|
from revengai.models.upload_file_type import UploadFileType as UploadFileType
|
|
692
692
|
from revengai.models.upload_response import UploadResponse as UploadResponse
|
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.v1_api import V1Api
|
|
24
25
|
|
|
@@ -18,11 +18,11 @@ from typing_extensions import Annotated
|
|
|
18
18
|
from pydantic import Field, StrictBool, StrictBytes, StrictInt, StrictStr
|
|
19
19
|
from typing import Any, List, Optional, Tuple, Union
|
|
20
20
|
from typing_extensions import Annotated
|
|
21
|
-
from revengai.models.ann_function import ANNFunction
|
|
22
21
|
from revengai.models.analysis_create_request import AnalysisCreateRequest
|
|
23
22
|
from revengai.models.analysis_update_request import AnalysisUpdateRequest
|
|
24
23
|
from revengai.models.analysis_update_tags_request import AnalysisUpdateTagsRequest
|
|
25
24
|
from revengai.models.app_api_rest_v2_analyses_enums_order_by import AppApiRestV2AnalysesEnumsOrderBy
|
|
25
|
+
from revengai.models.app_api_rest_v2_similarity_schema_ann_function import AppApiRestV2SimilaritySchemaANNFunction
|
|
26
26
|
from revengai.models.base_response_analysis_create_response import BaseResponseAnalysisCreateResponse
|
|
27
27
|
from revengai.models.base_response_analysis_detail_response import BaseResponseAnalysisDetailResponse
|
|
28
28
|
from revengai.models.base_response_analysis_function_mapping import BaseResponseAnalysisFunctionMapping
|
|
@@ -651,7 +651,7 @@ class AnalysesCoreApi:
|
|
|
651
651
|
def find_similar_functions_batch(
|
|
652
652
|
self,
|
|
653
653
|
analysis_id: StrictInt,
|
|
654
|
-
|
|
654
|
+
app_api_rest_v2_similarity_schema_ann_function: AppApiRestV2SimilaritySchemaANNFunction,
|
|
655
655
|
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
|
656
656
|
_request_timeout: Union[
|
|
657
657
|
None,
|
|
@@ -672,8 +672,8 @@ class AnalysesCoreApi:
|
|
|
672
672
|
|
|
673
673
|
:param analysis_id: (required)
|
|
674
674
|
:type analysis_id: int
|
|
675
|
-
:param
|
|
676
|
-
:type
|
|
675
|
+
:param app_api_rest_v2_similarity_schema_ann_function: (required)
|
|
676
|
+
:type app_api_rest_v2_similarity_schema_ann_function: AppApiRestV2SimilaritySchemaANNFunction
|
|
677
677
|
:param authorization: API Key bearer token
|
|
678
678
|
:type authorization: str
|
|
679
679
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -700,7 +700,7 @@ class AnalysesCoreApi:
|
|
|
700
700
|
|
|
701
701
|
_param = self._find_similar_functions_batch_serialize(
|
|
702
702
|
analysis_id=analysis_id,
|
|
703
|
-
|
|
703
|
+
app_api_rest_v2_similarity_schema_ann_function=app_api_rest_v2_similarity_schema_ann_function,
|
|
704
704
|
authorization=authorization,
|
|
705
705
|
_request_auth=_request_auth,
|
|
706
706
|
_content_type=_content_type,
|
|
@@ -727,7 +727,7 @@ class AnalysesCoreApi:
|
|
|
727
727
|
def find_similar_functions_batch_with_http_info(
|
|
728
728
|
self,
|
|
729
729
|
analysis_id: StrictInt,
|
|
730
|
-
|
|
730
|
+
app_api_rest_v2_similarity_schema_ann_function: AppApiRestV2SimilaritySchemaANNFunction,
|
|
731
731
|
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
|
732
732
|
_request_timeout: Union[
|
|
733
733
|
None,
|
|
@@ -748,8 +748,8 @@ class AnalysesCoreApi:
|
|
|
748
748
|
|
|
749
749
|
:param analysis_id: (required)
|
|
750
750
|
:type analysis_id: int
|
|
751
|
-
:param
|
|
752
|
-
:type
|
|
751
|
+
:param app_api_rest_v2_similarity_schema_ann_function: (required)
|
|
752
|
+
:type app_api_rest_v2_similarity_schema_ann_function: AppApiRestV2SimilaritySchemaANNFunction
|
|
753
753
|
:param authorization: API Key bearer token
|
|
754
754
|
:type authorization: str
|
|
755
755
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -776,7 +776,7 @@ class AnalysesCoreApi:
|
|
|
776
776
|
|
|
777
777
|
_param = self._find_similar_functions_batch_serialize(
|
|
778
778
|
analysis_id=analysis_id,
|
|
779
|
-
|
|
779
|
+
app_api_rest_v2_similarity_schema_ann_function=app_api_rest_v2_similarity_schema_ann_function,
|
|
780
780
|
authorization=authorization,
|
|
781
781
|
_request_auth=_request_auth,
|
|
782
782
|
_content_type=_content_type,
|
|
@@ -803,7 +803,7 @@ class AnalysesCoreApi:
|
|
|
803
803
|
def find_similar_functions_batch_without_preload_content(
|
|
804
804
|
self,
|
|
805
805
|
analysis_id: StrictInt,
|
|
806
|
-
|
|
806
|
+
app_api_rest_v2_similarity_schema_ann_function: AppApiRestV2SimilaritySchemaANNFunction,
|
|
807
807
|
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
|
808
808
|
_request_timeout: Union[
|
|
809
809
|
None,
|
|
@@ -824,8 +824,8 @@ class AnalysesCoreApi:
|
|
|
824
824
|
|
|
825
825
|
:param analysis_id: (required)
|
|
826
826
|
:type analysis_id: int
|
|
827
|
-
:param
|
|
828
|
-
:type
|
|
827
|
+
:param app_api_rest_v2_similarity_schema_ann_function: (required)
|
|
828
|
+
:type app_api_rest_v2_similarity_schema_ann_function: AppApiRestV2SimilaritySchemaANNFunction
|
|
829
829
|
:param authorization: API Key bearer token
|
|
830
830
|
:type authorization: str
|
|
831
831
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -852,7 +852,7 @@ class AnalysesCoreApi:
|
|
|
852
852
|
|
|
853
853
|
_param = self._find_similar_functions_batch_serialize(
|
|
854
854
|
analysis_id=analysis_id,
|
|
855
|
-
|
|
855
|
+
app_api_rest_v2_similarity_schema_ann_function=app_api_rest_v2_similarity_schema_ann_function,
|
|
856
856
|
authorization=authorization,
|
|
857
857
|
_request_auth=_request_auth,
|
|
858
858
|
_content_type=_content_type,
|
|
@@ -874,7 +874,7 @@ class AnalysesCoreApi:
|
|
|
874
874
|
def _find_similar_functions_batch_serialize(
|
|
875
875
|
self,
|
|
876
876
|
analysis_id,
|
|
877
|
-
|
|
877
|
+
app_api_rest_v2_similarity_schema_ann_function,
|
|
878
878
|
authorization,
|
|
879
879
|
_request_auth,
|
|
880
880
|
_content_type,
|
|
@@ -905,8 +905,8 @@ class AnalysesCoreApi:
|
|
|
905
905
|
_header_params['authorization'] = authorization
|
|
906
906
|
# process the form parameters
|
|
907
907
|
# process the body parameter
|
|
908
|
-
if
|
|
909
|
-
_body_params =
|
|
908
|
+
if app_api_rest_v2_similarity_schema_ann_function is not None:
|
|
909
|
+
_body_params = app_api_rest_v2_similarity_schema_ann_function
|
|
910
910
|
|
|
911
911
|
|
|
912
912
|
# set the HTTP header `Accept`
|
|
@@ -2665,6 +2665,7 @@ class AnalysesCoreApi:
|
|
|
2665
2665
|
model_name: Annotated[Optional[List[ModelName]], Field(description="Show analysis belonging to the model")] = None,
|
|
2666
2666
|
dynamic_execution_status: Annotated[Optional[DynamicExecutionStatusInput], Field(description="Show analysis that have a dynamic execution with the given status")] = None,
|
|
2667
2667
|
usernames: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Show analysis belonging to the user")] = None,
|
|
2668
|
+
sha256_hash: Optional[StrictStr] = None,
|
|
2668
2669
|
limit: Optional[Annotated[int, Field(le=50, strict=True, ge=5)]] = None,
|
|
2669
2670
|
offset: Optional[StrictInt] = None,
|
|
2670
2671
|
order_by: Optional[AppApiRestV2AnalysesEnumsOrderBy] = None,
|
|
@@ -2699,6 +2700,8 @@ class AnalysesCoreApi:
|
|
|
2699
2700
|
:type dynamic_execution_status: DynamicExecutionStatusInput
|
|
2700
2701
|
:param usernames: Show analysis belonging to the user
|
|
2701
2702
|
:type usernames: List[Optional[str]]
|
|
2703
|
+
:param sha256_hash:
|
|
2704
|
+
:type sha256_hash: str
|
|
2702
2705
|
:param limit:
|
|
2703
2706
|
:type limit: int
|
|
2704
2707
|
:param offset:
|
|
@@ -2738,6 +2741,7 @@ class AnalysesCoreApi:
|
|
|
2738
2741
|
model_name=model_name,
|
|
2739
2742
|
dynamic_execution_status=dynamic_execution_status,
|
|
2740
2743
|
usernames=usernames,
|
|
2744
|
+
sha256_hash=sha256_hash,
|
|
2741
2745
|
limit=limit,
|
|
2742
2746
|
offset=offset,
|
|
2743
2747
|
order_by=order_by,
|
|
@@ -2773,6 +2777,7 @@ class AnalysesCoreApi:
|
|
|
2773
2777
|
model_name: Annotated[Optional[List[ModelName]], Field(description="Show analysis belonging to the model")] = None,
|
|
2774
2778
|
dynamic_execution_status: Annotated[Optional[DynamicExecutionStatusInput], Field(description="Show analysis that have a dynamic execution with the given status")] = None,
|
|
2775
2779
|
usernames: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Show analysis belonging to the user")] = None,
|
|
2780
|
+
sha256_hash: Optional[StrictStr] = None,
|
|
2776
2781
|
limit: Optional[Annotated[int, Field(le=50, strict=True, ge=5)]] = None,
|
|
2777
2782
|
offset: Optional[StrictInt] = None,
|
|
2778
2783
|
order_by: Optional[AppApiRestV2AnalysesEnumsOrderBy] = None,
|
|
@@ -2807,6 +2812,8 @@ class AnalysesCoreApi:
|
|
|
2807
2812
|
:type dynamic_execution_status: DynamicExecutionStatusInput
|
|
2808
2813
|
:param usernames: Show analysis belonging to the user
|
|
2809
2814
|
:type usernames: List[Optional[str]]
|
|
2815
|
+
:param sha256_hash:
|
|
2816
|
+
:type sha256_hash: str
|
|
2810
2817
|
:param limit:
|
|
2811
2818
|
:type limit: int
|
|
2812
2819
|
:param offset:
|
|
@@ -2846,6 +2853,7 @@ class AnalysesCoreApi:
|
|
|
2846
2853
|
model_name=model_name,
|
|
2847
2854
|
dynamic_execution_status=dynamic_execution_status,
|
|
2848
2855
|
usernames=usernames,
|
|
2856
|
+
sha256_hash=sha256_hash,
|
|
2849
2857
|
limit=limit,
|
|
2850
2858
|
offset=offset,
|
|
2851
2859
|
order_by=order_by,
|
|
@@ -2881,6 +2889,7 @@ class AnalysesCoreApi:
|
|
|
2881
2889
|
model_name: Annotated[Optional[List[ModelName]], Field(description="Show analysis belonging to the model")] = None,
|
|
2882
2890
|
dynamic_execution_status: Annotated[Optional[DynamicExecutionStatusInput], Field(description="Show analysis that have a dynamic execution with the given status")] = None,
|
|
2883
2891
|
usernames: Annotated[Optional[List[Optional[StrictStr]]], Field(description="Show analysis belonging to the user")] = None,
|
|
2892
|
+
sha256_hash: Optional[StrictStr] = None,
|
|
2884
2893
|
limit: Optional[Annotated[int, Field(le=50, strict=True, ge=5)]] = None,
|
|
2885
2894
|
offset: Optional[StrictInt] = None,
|
|
2886
2895
|
order_by: Optional[AppApiRestV2AnalysesEnumsOrderBy] = None,
|
|
@@ -2915,6 +2924,8 @@ class AnalysesCoreApi:
|
|
|
2915
2924
|
:type dynamic_execution_status: DynamicExecutionStatusInput
|
|
2916
2925
|
:param usernames: Show analysis belonging to the user
|
|
2917
2926
|
:type usernames: List[Optional[str]]
|
|
2927
|
+
:param sha256_hash:
|
|
2928
|
+
:type sha256_hash: str
|
|
2918
2929
|
:param limit:
|
|
2919
2930
|
:type limit: int
|
|
2920
2931
|
:param offset:
|
|
@@ -2954,6 +2965,7 @@ class AnalysesCoreApi:
|
|
|
2954
2965
|
model_name=model_name,
|
|
2955
2966
|
dynamic_execution_status=dynamic_execution_status,
|
|
2956
2967
|
usernames=usernames,
|
|
2968
|
+
sha256_hash=sha256_hash,
|
|
2957
2969
|
limit=limit,
|
|
2958
2970
|
offset=offset,
|
|
2959
2971
|
order_by=order_by,
|
|
@@ -2984,6 +2996,7 @@ class AnalysesCoreApi:
|
|
|
2984
2996
|
model_name,
|
|
2985
2997
|
dynamic_execution_status,
|
|
2986
2998
|
usernames,
|
|
2999
|
+
sha256_hash,
|
|
2987
3000
|
limit,
|
|
2988
3001
|
offset,
|
|
2989
3002
|
order_by,
|
|
@@ -3039,6 +3052,10 @@ class AnalysesCoreApi:
|
|
|
3039
3052
|
|
|
3040
3053
|
_query_params.append(('usernames', usernames))
|
|
3041
3054
|
|
|
3055
|
+
if sha256_hash is not None:
|
|
3056
|
+
|
|
3057
|
+
_query_params.append(('sha256_hash', sha256_hash))
|
|
3058
|
+
|
|
3042
3059
|
if limit is not None:
|
|
3043
3060
|
|
|
3044
3061
|
_query_params.append(('limit', limit))
|
|
@@ -2484,7 +2484,7 @@ class FunctionsAIDecompilationApi:
|
|
|
2484
2484
|
)
|
|
2485
2485
|
|
|
2486
2486
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2487
|
-
'
|
|
2487
|
+
'201': "BaseResponse",
|
|
2488
2488
|
'422': "BaseResponse",
|
|
2489
2489
|
}
|
|
2490
2490
|
response_data = self.api_client.call_api(
|
|
@@ -2559,7 +2559,7 @@ class FunctionsAIDecompilationApi:
|
|
|
2559
2559
|
)
|
|
2560
2560
|
|
|
2561
2561
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2562
|
-
'
|
|
2562
|
+
'201': "BaseResponse",
|
|
2563
2563
|
'422': "BaseResponse",
|
|
2564
2564
|
}
|
|
2565
2565
|
response_data = self.api_client.call_api(
|
|
@@ -2634,7 +2634,7 @@ class FunctionsAIDecompilationApi:
|
|
|
2634
2634
|
)
|
|
2635
2635
|
|
|
2636
2636
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2637
|
-
'
|
|
2637
|
+
'201': "BaseResponse",
|
|
2638
2638
|
'422': "BaseResponse",
|
|
2639
2639
|
}
|
|
2640
2640
|
response_data = self.api_client.call_api(
|