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 @@
v2.16.0
v2.18.2
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,9 @@ Class | Method | HTTP request | Description
*FunctionsDataTypesApi* | [**list_function_data_types_for_analysis**](docs/FunctionsDataTypesApi.md#list_function_data_types_for_analysis) | **GET** /v2/analyses/{analysis_id}/functions/data_types | List Function Data Types
*FunctionsDataTypesApi* | [**list_function_data_types_for_functions**](docs/FunctionsDataTypesApi.md#list_function_data_types_for_functions) | **GET** /v2/functions/data_types | List Function Data Types
*FunctionsDataTypesApi* | [**update_function_data_types**](docs/FunctionsDataTypesApi.md#update_function_data_types) | **PUT** /v2/analyses/{analysis_id}/functions/{function_id}/data_types | Update Function Data Types
*FunctionsDecompilationApi* | [**check_function_decompilation_task**](docs/FunctionsDecompilationApi.md#check_function_decompilation_task) | **GET** /v2/functions/{function_id}/decompilation/status | Check the status of a function decompilation
*FunctionsDecompilationApi* | [**create_decompilation_comment**](docs/FunctionsDecompilationApi.md#create_decompilation_comment) | **POST** /v2/functions/{function_id}/decompilation/comments | Create a comment for this function
*FunctionsDecompilationApi* | [**create_function_decompilation_task**](docs/FunctionsDecompilationApi.md#create_function_decompilation_task) | **POST** /v2/functions/{function_id}/decompilation | Queues a function decompilation
*FunctionsDecompilationApi* | [**delete_decompilation_comment**](docs/FunctionsDecompilationApi.md#delete_decompilation_comment) | **DELETE** /v2/functions/{function_id}/decompilation/comments/{comment_id} | Delete a comment
*FunctionsDecompilationApi* | [**get_decompilation_comments**](docs/FunctionsDecompilationApi.md#get_decompilation_comments) | **GET** /v2/functions/{function_id}/decompilation/comments | Get comments for this function
*FunctionsDecompilationApi* | [**get_function_decompilation**](docs/FunctionsDecompilationApi.md#get_function_decompilation) | **GET** /v2/functions/{function_id}/decompilation | Get decompilation result
*FunctionsDecompilationApi* | [**update_decompilation_comment**](docs/FunctionsDecompilationApi.md#update_decompilation_comment) | **PATCH** /v2/functions/{function_id}/decompilation/comments/{comment_id} | Update a comment
*FunctionsRenamingHistoryApi* | [**batch_rename_function**](docs/FunctionsRenamingHistoryApi.md#batch_rename_function) | **POST** /v2/functions/rename/batch | Batch Rename Functions
*FunctionsRenamingHistoryApi* | [**get_function_name_history**](docs/FunctionsRenamingHistoryApi.md#get_function_name_history) | **GET** /v2/functions/history/{function_id} | Get Function Name History
Expand Down Expand Up @@ -210,7 +207,6 @@ Class | Method | HTTP request | Description
- [BaseResponseCommentResponse](docs/BaseResponseCommentResponse.md)
- [BaseResponseCommunities](docs/BaseResponseCommunities.md)
- [BaseResponseCreated](docs/BaseResponseCreated.md)
- [BaseResponseDecompilationResponse](docs/BaseResponseDecompilationResponse.md)
- [BaseResponseDict](docs/BaseResponseDict.md)
- [BaseResponseDynamicExecutionStatus](docs/BaseResponseDynamicExecutionStatus.md)
- [BaseResponseExternalResponse](docs/BaseResponseExternalResponse.md)
Expand Down Expand Up @@ -297,7 +293,6 @@ Class | Method | HTTP request | Description
- [Context](docs/Context.md)
- [Created](docs/Created.md)
- [DecompilationCommentContext](docs/DecompilationCommentContext.md)
- [DecompilationResponse](docs/DecompilationResponse.md)
- [DieMatch](docs/DieMatch.md)
- [DynamicExecutionStatusInput](docs/DynamicExecutionStatusInput.md)
- [ELFImportModel](docs/ELFImportModel.md)
Expand Down
33 changes: 0 additions & 33 deletions docs/BaseResponseDecompilationResponse.md

This file was deleted.

31 changes: 0 additions & 31 deletions docs/DecompilationResponse.md

This file was deleted.

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

Method | HTTP request | Description
------------- | ------------- | -------------
[**check_function_decompilation_task**](FunctionsDecompilationApi.md#check_function_decompilation_task) | **GET** /v2/functions/{function_id}/decompilation/status | Check the status of a function decompilation
[**create_decompilation_comment**](FunctionsDecompilationApi.md#create_decompilation_comment) | **POST** /v2/functions/{function_id}/decompilation/comments | Create a comment for this function
[**create_function_decompilation_task**](FunctionsDecompilationApi.md#create_function_decompilation_task) | **POST** /v2/functions/{function_id}/decompilation | Queues a function decompilation
[**delete_decompilation_comment**](FunctionsDecompilationApi.md#delete_decompilation_comment) | **DELETE** /v2/functions/{function_id}/decompilation/comments/{comment_id} | Delete a comment
[**get_decompilation_comments**](FunctionsDecompilationApi.md#get_decompilation_comments) | **GET** /v2/functions/{function_id}/decompilation/comments | Get comments for this function
[**get_function_decompilation**](FunctionsDecompilationApi.md#get_function_decompilation) | **GET** /v2/functions/{function_id}/decompilation | Get decompilation result
[**update_decompilation_comment**](FunctionsDecompilationApi.md#update_decompilation_comment) | **PATCH** /v2/functions/{function_id}/decompilation/comments/{comment_id} | Update a comment


# **check_function_decompilation_task**
> BaseResponseFunctionTaskResponse check_function_decompilation_task(function_id)

Check the status of a function decompilation

### Example

* Api Key Authentication (APIKey):

```python
import revengai
from revengai.models.base_response_function_task_response import BaseResponseFunctionTaskResponse
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.FunctionsDecompilationApi(api_client)
function_id = 56 # int |

try:
# Check the status of a function decompilation
api_response = api_instance.check_function_decompilation_task(function_id)
print("The response of FunctionsDecompilationApi->check_function_decompilation_task:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling FunctionsDecompilationApi->check_function_decompilation_task: %s\n" % e)
```



### Parameters


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**function_id** | **int**| |

### Return type

[**BaseResponseFunctionTaskResponse**](BaseResponseFunctionTaskResponse.md)

### Authorization

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

### HTTP request headers

- **Content-Type**: Not defined
- **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_decompilation_comment**
> BaseResponseCommentResponse create_decompilation_comment(function_id, function_comment_create_request)

Expand Down Expand Up @@ -175,85 +94,6 @@ Name | Type | Description | Notes

[[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_function_decompilation_task**
> BaseResponseStr create_function_decompilation_task(function_id)

Queues a function decompilation

### Example

* Api Key Authentication (APIKey):

```python
import revengai
from revengai.models.base_response_str import BaseResponseStr
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.FunctionsDecompilationApi(api_client)
function_id = 56 # int |

try:
# Queues a function decompilation
api_response = api_instance.create_function_decompilation_task(function_id)
print("The response of FunctionsDecompilationApi->create_function_decompilation_task:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling FunctionsDecompilationApi->create_function_decompilation_task: %s\n" % e)
```



### Parameters


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**function_id** | **int**| |

### Return type

[**BaseResponseStr**](BaseResponseStr.md)

### Authorization

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

### HTTP request headers

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

### HTTP response details

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**202** | Successful Response | - |
**422** | Invalid request parameters | - |
**409** | Security checks already extracted or queued | - |

[[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)

# **delete_decompilation_comment**
> BaseResponseBool delete_decompilation_comment(comment_id, function_id)

Expand Down Expand Up @@ -418,85 +258,6 @@ Name | Type | Description | Notes

[[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)

# **get_function_decompilation**
> BaseResponseDecompilationResponse get_function_decompilation(function_id)

Get decompilation result

### Example

* Api Key Authentication (APIKey):

```python
import revengai
from revengai.models.base_response_decompilation_response import BaseResponseDecompilationResponse
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.FunctionsDecompilationApi(api_client)
function_id = 56 # int |

try:
# Get decompilation result
api_response = api_instance.get_function_decompilation(function_id)
print("The response of FunctionsDecompilationApi->get_function_decompilation:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling FunctionsDecompilationApi->get_function_decompilation: %s\n" % e)
```



### Parameters


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**function_id** | **int**| |

### Return type

[**BaseResponseDecompilationResponse**](BaseResponseDecompilationResponse.md)

### Authorization

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

### HTTP request headers

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

### HTTP response details

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Successful Response | - |
**422** | Invalid request parameters | - |
**404** | Unable to find a decompilation for the function_id given | - |

[[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)

# **update_decompilation_comment**
> BaseResponseCommentResponse update_decompilation_comment(comment_id, function_id, comment_update_request)

Expand Down
16 changes: 6 additions & 10 deletions docs/ModelName.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,17 @@ Custom enum for the model name

## Enum

* `BINNET_MINUS_0_DOT_5_MINUS_X86_MINUS_WINDOWS` (value: `'binnet-0.5-x86-windows'`)
* `BINNET_MINUS_0_DOT_7_MINUS_X86_MINUS_64_MINUS_WINDOWS` (value: `'binnet-0.7-x86-64-windows'`)

* `BINNET_MINUS_0_DOT_5_MINUS_X86_MINUS_LINUX` (value: `'binnet-0.5-x86-linux'`)
* `BINNET_MINUS_0_DOT_7_MINUS_X86_MINUS_64_MINUS_LINUX` (value: `'binnet-0.7-x86-64-linux'`)

* `BINNET_MINUS_0_DOT_5_MINUS_X86_MINUS_MACOS` (value: `'binnet-0.5-x86-macos'`)
* `BINNET_MINUS_0_DOT_7_MINUS_X86_MINUS_32_MINUS_WINDOWS` (value: `'binnet-0.7-x86-32-windows'`)

* `BINNET_MINUS_0_DOT_5_MINUS_X86_MINUS_ANDROID` (value: `'binnet-0.5-x86-android'`)
* `BINNET_MINUS_0_DOT_7_MINUS_X86_MINUS_32_MINUS_LINUX` (value: `'binnet-0.7-x86-32-linux'`)

* `BINNET_MINUS_0_DOT_5_MINUS_X86_MINUS_32_MINUS_WINDOWS` (value: `'binnet-0.5-x86-32-windows'`)
* `BINNET_MINUS_0_DOT_7_MINUS_ARM_MINUS_64_MINUS_WINDOWS` (value: `'binnet-0.7-arm-64-windows'`)

* `BINNET_MINUS_0_DOT_5_MINUS_X86_MINUS_32_MINUS_LINUX` (value: `'binnet-0.5-x86-32-linux'`)

* `BINNET_MINUS_0_DOT_5_MINUS_ARM_MINUS_64_MINUS_WINDOWS` (value: `'binnet-0.5-arm-64-windows'`)

* `BINNET_MINUS_0_DOT_5_MINUS_ARM_MINUS_64_MINUS_LINUX` (value: `'binnet-0.5-arm-64-linux'`)
* `BINNET_MINUS_0_DOT_7_MINUS_ARM_MINUS_64_MINUS_LINUX` (value: `'binnet-0.7-arm-64-linux'`)

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

Expand Down
Loading