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.92.0
v3.93.0
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,10 @@ Class | Method | HTTP request | Description
*CollectionsApi* | [**update_collection_binaries**](docs/CollectionsApi.md#update_collection_binaries) | **PATCH** /v2/collections/{collection_id}/binaries | Updates a collection binaries
*CollectionsApi* | [**update_collection_tags**](docs/CollectionsApi.md#update_collection_tags) | **PATCH** /v2/collections/{collection_id}/tags | Updates a collection tags
*CollectionsApi* | [**v3_create_collection**](docs/CollectionsApi.md#v3_create_collection) | **POST** /v3/collections | Create a collection.
*CollectionsApi* | [**v3_delete_collection**](docs/CollectionsApi.md#v3_delete_collection) | **DELETE** /v3/collections/{collection_id} | Delete a collection.
*CollectionsApi* | [**v3_get_collection**](docs/CollectionsApi.md#v3_get_collection) | **GET** /v3/collections/{collection_id} | Get a collection.
*CollectionsApi* | [**v3_list_collections**](docs/CollectionsApi.md#v3_list_collections) | **GET** /v3/collections | List collections.
*CollectionsApi* | [**v3_patch_collection**](docs/CollectionsApi.md#v3_patch_collection) | **PATCH** /v3/collections/{collection_id} | Update a collection.
*CollectionsApi* | [**v3_patch_collection_binaries**](docs/CollectionsApi.md#v3_patch_collection_binaries) | **PATCH** /v3/collections/{collection_id}/binaries | Replace the binaries in a collection.
*CollectionsApi* | [**v3_patch_collection_tags**](docs/CollectionsApi.md#v3_patch_collection_tags) | **PATCH** /v3/collections/{collection_id}/tags | Replace the tags on a collection.
*ConfigApi* | [**get_config**](docs/ConfigApi.md#get_config) | **GET** /v2/config | Get Config
Expand Down Expand Up @@ -187,6 +189,9 @@ Class | Method | HTTP request | Description

## Documentation For Models

- [AIDecompFunctionMapping](docs/AIDecompFunctionMapping.md)
- [AIDecompInverseFunctionMapItem](docs/AIDecompInverseFunctionMapItem.md)
- [AIDecompInverseStringMapItem](docs/AIDecompInverseStringMapItem.md)
- [APIError](docs/APIError.md)
- [AddCalleeInputBody](docs/AddCalleeInputBody.md)
- [AddUserStringInputBody](docs/AddUserStringInputBody.md)
Expand Down Expand Up @@ -502,6 +507,8 @@ Class | Method | HTTP request | Description
- [Params](docs/Params.md)
- [PatchCollectionBinariesInputBody](docs/PatchCollectionBinariesInputBody.md)
- [PatchCollectionBinariesOutputBody](docs/PatchCollectionBinariesOutputBody.md)
- [PatchCollectionInputBody](docs/PatchCollectionInputBody.md)
- [PatchCollectionOutputBody](docs/PatchCollectionOutputBody.md)
- [PatchCollectionTagsInputBody](docs/PatchCollectionTagsInputBody.md)
- [PatchCollectionTagsOutputBody](docs/PatchCollectionTagsOutputBody.md)
- [PatchCommentBody](docs/PatchCommentBody.md)
Expand Down
42 changes: 42 additions & 0 deletions docs/AIDecompFunctionMapping.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# AIDecompFunctionMapping


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**fields** | **Dict[str, Dict[str, ReplacementValue]]** | |
**inverse_function_map** | [**Dict[str, AIDecompInverseFunctionMapItem]**](AIDecompInverseFunctionMapItem.md) | |
**inverse_string_map** | [**Dict[str, AIDecompInverseStringMapItem]**](AIDecompInverseStringMapItem.md) | |
**unmatched_custom_function_pointers** | [**Dict[str, ReplacementValue]**](ReplacementValue.md) | |
**unmatched_custom_types** | [**Dict[str, ReplacementValue]**](ReplacementValue.md) | |
**unmatched_enums** | [**Dict[str, ReplacementValue]**](ReplacementValue.md) | |
**unmatched_external_vars** | [**Dict[str, ReplacementValue]**](ReplacementValue.md) | |
**unmatched_functions** | [**Dict[str, ReplacementValue]**](ReplacementValue.md) | |
**unmatched_global_vars** | [**Dict[str, ReplacementValue]**](ReplacementValue.md) | |
**unmatched_go_to_labels** | [**Dict[str, ReplacementValue]**](ReplacementValue.md) | |
**unmatched_strings** | [**Dict[str, ReplacementValue]**](ReplacementValue.md) | |
**unmatched_variadic_lists** | [**Dict[str, ReplacementValue]**](ReplacementValue.md) | |
**unmatched_vars** | [**Dict[str, ReplacementValue]**](ReplacementValue.md) | |
**user_override_mappings** | **Dict[str, str]** | |

## Example

```python
from revengai.models.ai_decomp_function_mapping import AIDecompFunctionMapping

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

# convert the object into a dict
ai_decomp_function_mapping_dict = ai_decomp_function_mapping_instance.to_dict()
# create an instance of AIDecompFunctionMapping from a dict
ai_decomp_function_mapping_from_dict = AIDecompFunctionMapping.from_dict(ai_decomp_function_mapping_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/AIDecompInverseFunctionMapItem.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# AIDecompInverseFunctionMapItem


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**addr** | [**NumericAddr**](NumericAddr.md) | |
**is_external** | **bool** | |
**name** | **str** | |

## Example

```python
from revengai.models.ai_decomp_inverse_function_map_item import AIDecompInverseFunctionMapItem

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

# convert the object into a dict
ai_decomp_inverse_function_map_item_dict = ai_decomp_inverse_function_map_item_instance.to_dict()
# create an instance of AIDecompInverseFunctionMapItem from a dict
ai_decomp_inverse_function_map_item_from_dict = AIDecompInverseFunctionMapItem.from_dict(ai_decomp_inverse_function_map_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)


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


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**addr** | [**NumericAddr**](NumericAddr.md) | |
**string** | **str** | |

## Example

```python
from revengai.models.ai_decomp_inverse_string_map_item import AIDecompInverseStringMapItem

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

# convert the object into a dict
ai_decomp_inverse_string_map_item_dict = ai_decomp_inverse_string_map_item_instance.to_dict()
# create an instance of AIDecompInverseStringMapItem from a dict
ai_decomp_inverse_string_map_item_from_dict = AIDecompInverseStringMapItem.from_dict(ai_decomp_inverse_string_map_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)


179 changes: 179 additions & 0 deletions docs/CollectionsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ Method | HTTP request | Description
[**update_collection_binaries**](CollectionsApi.md#update_collection_binaries) | **PATCH** /v2/collections/{collection_id}/binaries | Updates a collection binaries
[**update_collection_tags**](CollectionsApi.md#update_collection_tags) | **PATCH** /v2/collections/{collection_id}/tags | Updates a collection tags
[**v3_create_collection**](CollectionsApi.md#v3_create_collection) | **POST** /v3/collections | Create a collection.
[**v3_delete_collection**](CollectionsApi.md#v3_delete_collection) | **DELETE** /v3/collections/{collection_id} | Delete a collection.
[**v3_get_collection**](CollectionsApi.md#v3_get_collection) | **GET** /v3/collections/{collection_id} | Get a collection.
[**v3_list_collections**](CollectionsApi.md#v3_list_collections) | **GET** /v3/collections | List collections.
[**v3_patch_collection**](CollectionsApi.md#v3_patch_collection) | **PATCH** /v3/collections/{collection_id} | Update a collection.
[**v3_patch_collection_binaries**](CollectionsApi.md#v3_patch_collection_binaries) | **PATCH** /v3/collections/{collection_id}/binaries | Replace the binaries in a collection.
[**v3_patch_collection_tags**](CollectionsApi.md#v3_patch_collection_tags) | **PATCH** /v3/collections/{collection_id}/tags | Replace the tags on a collection.

Expand Down Expand Up @@ -698,6 +700,92 @@ 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)

# **v3_delete_collection**
> v3_delete_collection(collection_id)

Delete a collection.

Deletes a collection. The collection must not have any linked binaries (call PATCH /v3/collections/{collection_id}/binaries with an empty list first).

**Error codes:**
- `404` [`NOT_FOUND`](/errors/NOT_FOUND) β€” Not Found
- `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) β€” Access Denied
- `409` [`CONFLICT`](/errors/CONFLICT) β€” Conflict

### Example

* Api Key Authentication (APIKey):

```python
import revengai
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.CollectionsApi(api_client)
collection_id = 56 # int |

try:
# Delete a collection.
api_instance.v3_delete_collection(collection_id)
except Exception as e:
print("Exception when calling CollectionsApi->v3_delete_collection: %s\n" % e)
```



### Parameters


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

### Return type

void (empty response body)

### Authorization

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

### HTTP request headers

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

### HTTP response details

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**204** | No Content | - |
**403** | Forbidden | - |
**404** | Not Found | - |
**409** | Conflict | - |
**422** | Unprocessable Entity | - |
**500** | Internal Server Error | - |

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

# **v3_get_collection**
> GetCollectionOutputBody v3_get_collection(collection_id, include_tags=include_tags, include_binaries=include_binaries, page_size=page_size, page_number=page_number, binary_search_str=binary_search_str)

Expand Down Expand Up @@ -887,6 +975,97 @@ 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)

# **v3_patch_collection**
> PatchCollectionOutputBody v3_patch_collection(collection_id, patch_collection_input_body)

Update a collection.

Updates a collection's name, description, and/or scope. Omitted fields keep their existing values.

**Error codes:**
- `404` [`NOT_FOUND`](/errors/NOT_FOUND) β€” Not Found
- `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) β€” Access Denied
- `422` [`VALIDATION_FAILED`](/errors/VALIDATION_FAILED) β€” Validation Failed

### Example

* Api Key Authentication (APIKey):

```python
import revengai
from revengai.models.patch_collection_input_body import PatchCollectionInputBody
from revengai.models.patch_collection_output_body import PatchCollectionOutputBody
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.CollectionsApi(api_client)
collection_id = 56 # int |
patch_collection_input_body = revengai.PatchCollectionInputBody() # PatchCollectionInputBody |

try:
# Update a collection.
api_response = api_instance.v3_patch_collection(collection_id, patch_collection_input_body)
print("The response of CollectionsApi->v3_patch_collection:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling CollectionsApi->v3_patch_collection: %s\n" % e)
```



### Parameters


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**collection_id** | **int**| |
**patch_collection_input_body** | [**PatchCollectionInputBody**](PatchCollectionInputBody.md)| |

### Return type

[**PatchCollectionOutputBody**](PatchCollectionOutputBody.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** | OK | - |
**403** | Forbidden | - |
**404** | Not Found | - |
**422** | Unprocessable Entity | - |
**500** | Internal Server Error | - |

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

# **v3_patch_collection_binaries**
> PatchCollectionBinariesOutputBody v3_patch_collection_binaries(collection_id, patch_collection_binaries_input_body)

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


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**collection_name** | **str** | New collection name. Omit, null, or empty string to keep existing. | [optional]
**collection_scope** | **str** | New scope (PUBLIC, PRIVATE, PROTECTED, TEAM). Omit or send null to keep existing. Empty string returns 422 UNPROCESSABLE ENTITY. | [optional]
**description** | **str** | New description. Omit, null, or empty string to keep existing. | [optional]

## Example

```python
from revengai.models.patch_collection_input_body import PatchCollectionInputBody

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

# convert the object into a dict
patch_collection_input_body_dict = patch_collection_input_body_instance.to_dict()
# create an instance of PatchCollectionInputBody from a dict
patch_collection_input_body_from_dict = PatchCollectionInputBody.from_dict(patch_collection_input_body_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)


Loading