Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .sdk-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v3.24.0
v3.28.2
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Class | Method | HTTP request | Description
*AnalysesCommentsApi* | [**delete_analysis_comment**](docs/AnalysesCommentsApi.md#delete_analysis_comment) | **DELETE** /v2/analyses/{analysis_id}/comments/{comment_id} | Delete a comment
*AnalysesCommentsApi* | [**get_analysis_comments**](docs/AnalysesCommentsApi.md#get_analysis_comments) | **GET** /v2/analyses/{analysis_id}/comments | Get comments for this analysis
*AnalysesCommentsApi* | [**update_analysis_comment**](docs/AnalysesCommentsApi.md#update_analysis_comment) | **PATCH** /v2/analyses/{analysis_id}/comments/{comment_id} | Update a comment
*AnalysesCoreApi* | [**bulk_add_analysis_tags**](docs/AnalysesCoreApi.md#bulk_add_analysis_tags) | **PATCH** /v2/analyses/tags/add | Bulk Add Analysis Tags
*AnalysesCoreApi* | [**create_analysis**](docs/AnalysesCoreApi.md#create_analysis) | **POST** /v2/analyses | Create Analysis
*AnalysesCoreApi* | [**delete_analysis**](docs/AnalysesCoreApi.md#delete_analysis) | **DELETE** /v2/analyses/{analysis_id} | Delete Analysis
*AnalysesCoreApi* | [**get_analysis_basic_info**](docs/AnalysesCoreApi.md#get_analysis_basic_info) | **GET** /v2/analyses/{analysis_id}/basic | Gets basic analysis information
Expand Down Expand Up @@ -154,8 +155,12 @@ Class | Method | HTTP request | Description
- [AdditionalDetailsStatusResponse](docs/AdditionalDetailsStatusResponse.md)
- [Addr](docs/Addr.md)
- [AiDecompilationRating](docs/AiDecompilationRating.md)
- [AiDecompilationTaskStatus](docs/AiDecompilationTaskStatus.md)
- [AiUnstripRequest](docs/AiUnstripRequest.md)
- [AnalysisAccessInfo](docs/AnalysisAccessInfo.md)
- [AnalysisBulkAddTagsRequest](docs/AnalysisBulkAddTagsRequest.md)
- [AnalysisBulkAddTagsResponse](docs/AnalysisBulkAddTagsResponse.md)
- [AnalysisBulkAddTagsResponseItem](docs/AnalysisBulkAddTagsResponseItem.md)
- [AnalysisConfig](docs/AnalysisConfig.md)
- [AnalysisCreateRequest](docs/AnalysisCreateRequest.md)
- [AnalysisCreateResponse](docs/AnalysisCreateResponse.md)
Expand Down Expand Up @@ -183,6 +188,7 @@ Class | Method | HTTP request | Description
- [AutoUnstripResponse](docs/AutoUnstripResponse.md)
- [BaseResponse](docs/BaseResponse.md)
- [BaseResponseAdditionalDetailsStatusResponse](docs/BaseResponseAdditionalDetailsStatusResponse.md)
- [BaseResponseAnalysisBulkAddTagsResponse](docs/BaseResponseAnalysisBulkAddTagsResponse.md)
- [BaseResponseAnalysisCreateResponse](docs/BaseResponseAnalysisCreateResponse.md)
- [BaseResponseAnalysisDetailResponse](docs/BaseResponseAnalysisDetailResponse.md)
- [BaseResponseAnalysisFunctionMapping](docs/BaseResponseAnalysisFunctionMapping.md)
Expand Down
16 changes: 16 additions & 0 deletions docs/AiDecompilationTaskStatus.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# AiDecompilationTaskStatus


## Enum

* `UNINITIALISED` (value: `'uninitialised'`)

* `ERROR` (value: `'error'`)

* `PENDING` (value: `'pending'`)

* `SUCCESS` (value: `'success'`)

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


82 changes: 82 additions & 0 deletions docs/AnalysesCoreApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ All URIs are relative to *https://api.reveng.ai*

Method | HTTP request | Description
------------- | ------------- | -------------
[**bulk_add_analysis_tags**](AnalysesCoreApi.md#bulk_add_analysis_tags) | **PATCH** /v2/analyses/tags/add | Bulk Add Analysis Tags
[**create_analysis**](AnalysesCoreApi.md#create_analysis) | **POST** /v2/analyses | Create Analysis
[**delete_analysis**](AnalysesCoreApi.md#delete_analysis) | **DELETE** /v2/analyses/{analysis_id} | Delete Analysis
[**get_analysis_basic_info**](AnalysesCoreApi.md#get_analysis_basic_info) | **GET** /v2/analyses/{analysis_id}/basic | Gets basic analysis information
Expand All @@ -20,6 +21,87 @@ Method | HTTP request | Description
[**upload_file**](AnalysesCoreApi.md#upload_file) | **POST** /v2/upload | Upload File


# **bulk_add_analysis_tags**
> BaseResponseAnalysisBulkAddTagsResponse bulk_add_analysis_tags(analysis_bulk_add_tags_request)

Bulk Add Analysis Tags

Updates analysis tags for multiple analyses. User must be the owner.

### Example

* Api Key Authentication (APIKey):

```python
import revengai
from revengai.models.analysis_bulk_add_tags_request import AnalysisBulkAddTagsRequest
from revengai.models.base_response_analysis_bulk_add_tags_response import BaseResponseAnalysisBulkAddTagsResponse
from revengai.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://api.reveng.ai
# See configuration.py for a list of all supported configuration parameters.
configuration = revengai.Configuration(
host = "https://api.reveng.ai"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: APIKey
configuration.api_key['APIKey'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['APIKey'] = 'Bearer'

# Enter a context with an instance of the API client
with revengai.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = revengai.AnalysesCoreApi(api_client)
analysis_bulk_add_tags_request = revengai.AnalysisBulkAddTagsRequest() # AnalysisBulkAddTagsRequest |

try:
# Bulk Add Analysis Tags
api_response = api_instance.bulk_add_analysis_tags(analysis_bulk_add_tags_request)
print("The response of AnalysesCoreApi->bulk_add_analysis_tags:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AnalysesCoreApi->bulk_add_analysis_tags: %s\n" % e)
```



### Parameters


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**analysis_bulk_add_tags_request** | [**AnalysisBulkAddTagsRequest**](AnalysisBulkAddTagsRequest.md)| |

### Return type

[**BaseResponseAnalysisBulkAddTagsResponse**](BaseResponseAnalysisBulkAddTagsResponse.md)

### Authorization

[APIKey](../README.md#APIKey)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Successful Response | - |
**422** | Invalid request parameters | - |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **create_analysis**
> BaseResponseAnalysisCreateResponse create_analysis(analysis_create_request, x_rev_eng_application=x_rev_eng_application)

Expand Down
30 changes: 30 additions & 0 deletions docs/AnalysisBulkAddTagsRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# AnalysisBulkAddTagsRequest


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**tags** | **List[str]** | |
**analysis_ids** | **List[int]** | |

## Example

```python
from revengai.models.analysis_bulk_add_tags_request import AnalysisBulkAddTagsRequest

# TODO update the JSON string below
json = "{}"
# create an instance of AnalysisBulkAddTagsRequest from a JSON string
analysis_bulk_add_tags_request_instance = AnalysisBulkAddTagsRequest.from_json(json)
# print the JSON string representation of the object
print(AnalysisBulkAddTagsRequest.to_json())

# convert the object into a dict
analysis_bulk_add_tags_request_dict = analysis_bulk_add_tags_request_instance.to_dict()
# create an instance of AnalysisBulkAddTagsRequest from a dict
analysis_bulk_add_tags_request_from_dict = AnalysisBulkAddTagsRequest.from_dict(analysis_bulk_add_tags_request_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


29 changes: 29 additions & 0 deletions docs/AnalysisBulkAddTagsResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# AnalysisBulkAddTagsResponse


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**results** | [**List[AnalysisBulkAddTagsResponseItem]**](AnalysisBulkAddTagsResponseItem.md) | |

## Example

```python
from revengai.models.analysis_bulk_add_tags_response import AnalysisBulkAddTagsResponse

# TODO update the JSON string below
json = "{}"
# create an instance of AnalysisBulkAddTagsResponse from a JSON string
analysis_bulk_add_tags_response_instance = AnalysisBulkAddTagsResponse.from_json(json)
# print the JSON string representation of the object
print(AnalysisBulkAddTagsResponse.to_json())

# convert the object into a dict
analysis_bulk_add_tags_response_dict = analysis_bulk_add_tags_response_instance.to_dict()
# create an instance of AnalysisBulkAddTagsResponse from a dict
analysis_bulk_add_tags_response_from_dict = AnalysisBulkAddTagsResponse.from_dict(analysis_bulk_add_tags_response_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


31 changes: 31 additions & 0 deletions docs/AnalysisBulkAddTagsResponseItem.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# AnalysisBulkAddTagsResponseItem


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**analysis_id** | **int** | |
**message** | **str** | |
**error** | **str** | | [optional]

## Example

```python
from revengai.models.analysis_bulk_add_tags_response_item import AnalysisBulkAddTagsResponseItem

# TODO update the JSON string below
json = "{}"
# create an instance of AnalysisBulkAddTagsResponseItem from a JSON string
analysis_bulk_add_tags_response_item_instance = AnalysisBulkAddTagsResponseItem.from_json(json)
# print the JSON string representation of the object
print(AnalysisBulkAddTagsResponseItem.to_json())

# convert the object into a dict
analysis_bulk_add_tags_response_item_dict = analysis_bulk_add_tags_response_item_instance.to_dict()
# create an instance of AnalysisBulkAddTagsResponseItem from a dict
analysis_bulk_add_tags_response_item_from_dict = AnalysisBulkAddTagsResponseItem.from_dict(analysis_bulk_add_tags_response_item_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


1 change: 1 addition & 0 deletions docs/AnalysisRecord.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Name | Type | Description | Notes
**dynamic_execution_status** | [**AppApiRestV2AnalysesEnumsDynamicExecutionStatus**](AppApiRestV2AnalysesEnumsDynamicExecutionStatus.md) | | [optional]
**dynamic_execution_task_id** | **int** | | [optional]
**base_address** | **int** | The base address of the binary |
**tags** | [**List[TagItem]**](TagItem.md) | List of tags associated with the analysis | [optional]

## Example

Expand Down
33 changes: 33 additions & 0 deletions docs/BaseResponseAnalysisBulkAddTagsResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# BaseResponseAnalysisBulkAddTagsResponse


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**status** | **bool** | Response status on whether the request succeeded | [optional] [default to True]
**data** | [**AnalysisBulkAddTagsResponse**](AnalysisBulkAddTagsResponse.md) | | [optional]
**message** | **str** | | [optional]
**errors** | [**List[ErrorModel]**](ErrorModel.md) | | [optional]
**meta** | [**MetaModel**](MetaModel.md) | Metadata | [optional]

## Example

```python
from revengai.models.base_response_analysis_bulk_add_tags_response import BaseResponseAnalysisBulkAddTagsResponse

# TODO update the JSON string below
json = "{}"
# create an instance of BaseResponseAnalysisBulkAddTagsResponse from a JSON string
base_response_analysis_bulk_add_tags_response_instance = BaseResponseAnalysisBulkAddTagsResponse.from_json(json)
# print the JSON string representation of the object
print(BaseResponseAnalysisBulkAddTagsResponse.to_json())

# convert the object into a dict
base_response_analysis_bulk_add_tags_response_dict = base_response_analysis_bulk_add_tags_response_instance.to_dict()
# create an instance of BaseResponseAnalysisBulkAddTagsResponse from a dict
base_response_analysis_bulk_add_tags_response_from_dict = BaseResponseAnalysisBulkAddTagsResponse.from_dict(base_response_analysis_bulk_add_tags_response_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


2 changes: 1 addition & 1 deletion docs/GetAiDecompilationTask.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**status** | **str** | |
**status** | [**AiDecompilationTaskStatus**](AiDecompilationTaskStatus.md) | The status of the AI decompilation task |
**decompilation** | **str** | |
**raw_decompilation** | **str** | |
**function_mapping** | [**Dict[str, InverseFunctionMapItem]**](InverseFunctionMapItem.md) | |
Expand Down
12 changes: 11 additions & 1 deletion revengai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
""" # noqa: E501


__version__ = "v3.24.0"
__version__ = "v3.28.2"

# Define package exports
__all__ = [
Expand Down Expand Up @@ -48,8 +48,12 @@
"AdditionalDetailsStatusResponse",
"Addr",
"AiDecompilationRating",
"AiDecompilationTaskStatus",
"AiUnstripRequest",
"AnalysisAccessInfo",
"AnalysisBulkAddTagsRequest",
"AnalysisBulkAddTagsResponse",
"AnalysisBulkAddTagsResponseItem",
"AnalysisConfig",
"AnalysisCreateRequest",
"AnalysisCreateResponse",
Expand Down Expand Up @@ -77,6 +81,7 @@
"AutoUnstripResponse",
"BaseResponse",
"BaseResponseAdditionalDetailsStatusResponse",
"BaseResponseAnalysisBulkAddTagsResponse",
"BaseResponseAnalysisCreateResponse",
"BaseResponseAnalysisDetailResponse",
"BaseResponseAnalysisFunctionMapping",
Expand Down Expand Up @@ -377,8 +382,12 @@
from revengai.models.additional_details_status_response import AdditionalDetailsStatusResponse as AdditionalDetailsStatusResponse
from revengai.models.addr import Addr as Addr
from revengai.models.ai_decompilation_rating import AiDecompilationRating as AiDecompilationRating
from revengai.models.ai_decompilation_task_status import AiDecompilationTaskStatus as AiDecompilationTaskStatus
from revengai.models.ai_unstrip_request import AiUnstripRequest as AiUnstripRequest
from revengai.models.analysis_access_info import AnalysisAccessInfo as AnalysisAccessInfo
from revengai.models.analysis_bulk_add_tags_request import AnalysisBulkAddTagsRequest as AnalysisBulkAddTagsRequest
from revengai.models.analysis_bulk_add_tags_response import AnalysisBulkAddTagsResponse as AnalysisBulkAddTagsResponse
from revengai.models.analysis_bulk_add_tags_response_item import AnalysisBulkAddTagsResponseItem as AnalysisBulkAddTagsResponseItem
from revengai.models.analysis_config import AnalysisConfig as AnalysisConfig
from revengai.models.analysis_create_request import AnalysisCreateRequest as AnalysisCreateRequest
from revengai.models.analysis_create_response import AnalysisCreateResponse as AnalysisCreateResponse
Expand Down Expand Up @@ -406,6 +415,7 @@
from revengai.models.auto_unstrip_response import AutoUnstripResponse as AutoUnstripResponse
from revengai.models.base_response import BaseResponse as BaseResponse
from revengai.models.base_response_additional_details_status_response import BaseResponseAdditionalDetailsStatusResponse as BaseResponseAdditionalDetailsStatusResponse
from revengai.models.base_response_analysis_bulk_add_tags_response import BaseResponseAnalysisBulkAddTagsResponse as BaseResponseAnalysisBulkAddTagsResponse
from revengai.models.base_response_analysis_create_response import BaseResponseAnalysisCreateResponse as BaseResponseAnalysisCreateResponse
from revengai.models.base_response_analysis_detail_response import BaseResponseAnalysisDetailResponse as BaseResponseAnalysisDetailResponse
from revengai.models.base_response_analysis_function_mapping import BaseResponseAnalysisFunctionMapping as BaseResponseAnalysisFunctionMapping
Expand Down
Loading