Skip to content

Commit aad2d99

Browse files
Update SDK to version v1.80.0
- Generated from OpenAPI spec version v1.80.0 - Auto-generated by GitHub Actions
1 parent 3c01b22 commit aad2d99

28 files changed

Lines changed: 57 additions & 1024 deletions

.sdk-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.79.0
1+
v1.80.0

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ Class | Method | HTTP request | Description
5454
*AnalysesCoreApi* | [**get_analysis_params**](docs/AnalysesCoreApi.md#get_analysis_params) | **GET** /v2/analyses/{analysis_id}/params | Gets analysis param information
5555
*AnalysesCoreApi* | [**get_analysis_status**](docs/AnalysesCoreApi.md#get_analysis_status) | **GET** /v2/analyses/{analysis_id}/status | Gets the status of an analysis
5656
*AnalysesCoreApi* | [**get_binary_ann**](docs/AnalysesCoreApi.md#get_binary_ann) | **POST** /v2/binary_ann/{analysis_id} | Binary Ann
57-
*AnalysesCoreApi* | [**get_symbol_info_for_binary**](docs/AnalysesCoreApi.md#get_symbol_info_for_binary) | **GET** /v2/analyses/symbol_info/{binary_id} | Gets the symbol information of a binary
5857
*AnalysesCoreApi* | [**list_analyses**](docs/AnalysesCoreApi.md#list_analyses) | **GET** /v2/analyses/list | Gets the most recent analyses
5958
*AnalysesCoreApi* | [**lookup_binary_id**](docs/AnalysesCoreApi.md#lookup_binary_id) | **GET** /v2/analyses/lookup/{binary_id} | Gets the analysis ID from binary ID
6059
*AnalysesCoreApi* | [**requeue_analysis**](docs/AnalysesCoreApi.md#requeue_analysis) | **POST** /v2/analyses/{analysis_id}/requeue | Requeue Analysis
@@ -265,7 +264,6 @@ Class | Method | HTTP request | Description
265264
- [BaseResponseSecurityChecksResponse](docs/BaseResponseSecurityChecksResponse.md)
266265
- [BaseResponseStatus](docs/BaseResponseStatus.md)
267266
- [BaseResponseStr](docs/BaseResponseStr.md)
268-
- [BaseResponseSymbolsInfo](docs/BaseResponseSymbolsInfo.md)
269267
- [BaseResponseTTPS](docs/BaseResponseTTPS.md)
270268
- [BaseResponseTagSearchResponse](docs/BaseResponseTagSearchResponse.md)
271269
- [BaseResponseTaskResponse](docs/BaseResponseTaskResponse.md)
@@ -284,7 +282,6 @@ Class | Method | HTTP request | Description
284282
- [BinaryTaskStatus](docs/BinaryTaskStatus.md)
285283
- [Block](docs/Block.md)
286284
- [BlockCommentsGenerationForFunctionResponse](docs/BlockCommentsGenerationForFunctionResponse.md)
287-
- [Boundary](docs/Boundary.md)
288285
- [BoxPlotConfidence](docs/BoxPlotConfidence.md)
289286
- [CalleeFunctionInfo](docs/CalleeFunctionInfo.md)
290287
- [CalleesCallerFunctionsResponse](docs/CalleesCallerFunctionsResponse.md)
@@ -443,7 +440,6 @@ Class | Method | HTTP request | Description
443440
- [Structure](docs/Structure.md)
444441
- [StructureMember](docs/StructureMember.md)
445442
- [Symbols](docs/Symbols.md)
446-
- [SymbolsInfo](docs/SymbolsInfo.md)
447443
- [TTPS](docs/TTPS.md)
448444
- [TTPSAttack](docs/TTPSAttack.md)
449445
- [TTPSData](docs/TTPSData.md)

docs/ANNFunction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**limit** | **int** | The amount of neighbours per function ID | [optional] [default to 5]
99
**distance** | **float** | The distance between two neighbours | [optional] [default to 0.1]
10-
**analysis_search_ids** | **List[int]** | Perform a search on functions within a list of analyses | [optional] [default to []]
11-
**collection_search_ids** | **List[int]** | Search only within these collections | [optional] [default to []]
10+
**analysis_search_ids** | **List[Optional[int]]** | Perform a search on functions within a list of analyses | [optional] [default to []]
11+
**collection_search_ids** | **List[Optional[int]]** | Search only within these collections | [optional] [default to []]
1212
**search_binary_ids** | [**SearchBinaryIds**](SearchBinaryIds.md) | | [optional]
1313
**search_function_ids** | [**SearchFunctionIds**](SearchFunctionIds.md) | | [optional]
1414
**debug_only** | **bool** | Searches for only functions which are debug | [optional] [default to False]

docs/AnalysesCoreApi.md

Lines changed: 0 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ Method | HTTP request | Description
1313
[**get_analysis_params**](AnalysesCoreApi.md#get_analysis_params) | **GET** /v2/analyses/{analysis_id}/params | Gets analysis param information
1414
[**get_analysis_status**](AnalysesCoreApi.md#get_analysis_status) | **GET** /v2/analyses/{analysis_id}/status | Gets the status of an analysis
1515
[**get_binary_ann**](AnalysesCoreApi.md#get_binary_ann) | **POST** /v2/binary_ann/{analysis_id} | Binary Ann
16-
[**get_symbol_info_for_binary**](AnalysesCoreApi.md#get_symbol_info_for_binary) | **GET** /v2/analyses/symbol_info/{binary_id} | Gets the symbol information of a binary
1716
[**list_analyses**](AnalysesCoreApi.md#list_analyses) | **GET** /v2/analyses/list | Gets the most recent analyses
1817
[**lookup_binary_id**](AnalysesCoreApi.md#lookup_binary_id) | **GET** /v2/analyses/lookup/{binary_id} | Gets the analysis ID from binary ID
1918
[**requeue_analysis**](AnalysesCoreApi.md#requeue_analysis) | **POST** /v2/analyses/{analysis_id}/requeue | Requeue Analysis
@@ -771,90 +770,6 @@ Name | Type | Description | Notes
771770

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

774-
# **get_symbol_info_for_binary**
775-
> BaseResponseSymbolsInfo get_symbol_info_for_binary(binary_id, authorization=authorization)
776-
777-
Gets the symbol information of a binary
778-
779-
Given a binary ID gets the symbol information of the binary
780-
781-
### Example
782-
783-
* Api Key Authentication (APIKey):
784-
785-
```python
786-
import revengai
787-
from revengai.models.base_response_symbols_info import BaseResponseSymbolsInfo
788-
from revengai.rest import ApiException
789-
from pprint import pprint
790-
791-
# Defining the host is optional and defaults to https://api.reveng.ai
792-
# See configuration.py for a list of all supported configuration parameters.
793-
configuration = revengai.Configuration(
794-
host = "https://api.reveng.ai"
795-
)
796-
797-
# The client must configure the authentication and authorization parameters
798-
# in accordance with the API server security policy.
799-
# Examples for each auth method are provided below, use the example that
800-
# satisfies your auth use case.
801-
802-
# Configure API key authorization: APIKey
803-
configuration.api_key['APIKey'] = os.environ["API_KEY"]
804-
805-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
806-
# configuration.api_key_prefix['APIKey'] = 'Bearer'
807-
808-
# Enter a context with an instance of the API client
809-
with revengai.ApiClient(configuration) as api_client:
810-
# Create an instance of the API class
811-
api_instance = revengai.AnalysesCoreApi(api_client)
812-
binary_id = 56 # int |
813-
authorization = 'authorization_example' # str | API Key bearer token (optional)
814-
815-
try:
816-
# Gets the symbol information of a binary
817-
api_response = api_instance.get_symbol_info_for_binary(binary_id, authorization=authorization)
818-
print("The response of AnalysesCoreApi->get_symbol_info_for_binary:\n")
819-
pprint(api_response)
820-
except Exception as e:
821-
print("Exception when calling AnalysesCoreApi->get_symbol_info_for_binary: %s\n" % e)
822-
```
823-
824-
825-
826-
### Parameters
827-
828-
829-
Name | Type | Description | Notes
830-
------------- | ------------- | ------------- | -------------
831-
**binary_id** | **int**| |
832-
**authorization** | **str**| API Key bearer token | [optional]
833-
834-
### Return type
835-
836-
[**BaseResponseSymbolsInfo**](BaseResponseSymbolsInfo.md)
837-
838-
### Authorization
839-
840-
[APIKey](../README.md#APIKey)
841-
842-
### HTTP request headers
843-
844-
- **Content-Type**: Not defined
845-
- **Accept**: application/json
846-
847-
### HTTP response details
848-
849-
| Status code | Description | Response headers |
850-
|-------------|-------------|------------------|
851-
**200** | Successful Response | - |
852-
**422** | Invalid request parameters | - |
853-
**404** | Not Found | - |
854-
**403** | Forbidden | - |
855-
856-
[[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)
857-
858773
# **list_analyses**
859774
> BaseResponseRecent list_analyses(search_term=search_term, workspace=workspace, status=status, model_name=model_name, dynamic_execution_status=dynamic_execution_status, usernames=usernames, limit=limit, offset=offset, order_by=order_by, order=order, authorization=authorization)
860775

docs/BaseResponseSymbolsInfo.md

Lines changed: 0 additions & 33 deletions
This file was deleted.

docs/Basic.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
1616
**debug** | **bool** | Whether the current analysis was analysed with debug symbols |
1717
**function_count** | **int** | The number of functions in the binary |
1818
**is_advanced** | **bool** | Whether the analysis was advanced |
19+
**base_address** | **int** | |
1920

2021
## Example
2122

docs/Boundary.md

Lines changed: 0 additions & 31 deletions
This file was deleted.

docs/FunctionsCoreApi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -893,10 +893,10 @@ with revengai.ApiClient(configuration) as api_client:
893893
function_id = 56 # int |
894894
limit = 20 # int | Number of similar functions to return (optional) (default to 20)
895895
distance = 1.0 # float | Maximum cosine distance (optional) (default to 1.0)
896-
collection_ids = [] # List[int] | Collection filtering by IDs (optional) (default to [])
896+
collection_ids = [] # List[Optional[int]] | Collection filtering by IDs (optional) (default to [])
897897
debug = False # bool | Only return matching debug functions (optional) (default to False)
898898
debug_types = ["SYSTEM"] # List[str] | If limiting results to functions with debug names, which type of debug names to include? (optional) (default to ["SYSTEM"])
899-
binary_ids = [] # List[int] | Limit similar functions to specific binaries (optional) (default to [])
899+
binary_ids = [] # List[Optional[int]] | Limit similar functions to specific binaries (optional) (default to [])
900900
authorization = 'authorization_example' # str | API Key bearer token (optional)
901901

902902
try:
@@ -918,10 +918,10 @@ Name | Type | Description | Notes
918918
**function_id** | **int**| |
919919
**limit** | **int**| Number of similar functions to return | [optional] [default to 20]
920920
**distance** | **float**| Maximum cosine distance | [optional] [default to 1.0]
921-
**collection_ids** | [**List[int]**](int.md)| Collection filtering by IDs | [optional] [default to []]
921+
**collection_ids** | [**List[Optional[int]]**](int.md)| Collection filtering by IDs | [optional] [default to []]
922922
**debug** | **bool**| Only return matching debug functions | [optional] [default to False]
923923
**debug_types** | [**List[str]**](str.md)| If limiting results to functions with debug names, which type of debug names to include? | [optional] [default to ["SYSTEM"]]
924-
**binary_ids** | [**List[int]**](int.md)| Limit similar functions to specific binaries | [optional] [default to []]
924+
**binary_ids** | [**List[Optional[int]]**](int.md)| Limit similar functions to specific binaries | [optional] [default to []]
925925
**authorization** | **str**| API Key bearer token | [optional]
926926

927927
### Return type

docs/FunctionsDataTypesApi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ with revengai.ApiClient(configuration) as api_client:
303303
# Create an instance of the API class
304304
api_instance = revengai.FunctionsDataTypesApi(api_client)
305305
analysis_id = 56 # int |
306-
function_ids = [56] # List[int] | (optional)
306+
function_ids = [56] # List[Optional[int]] | (optional)
307307
authorization = 'authorization_example' # str | API Key bearer token (optional)
308308

309309
try:
@@ -323,7 +323,7 @@ with revengai.ApiClient(configuration) as api_client:
323323
Name | Type | Description | Notes
324324
------------- | ------------- | ------------- | -------------
325325
**analysis_id** | **int**| |
326-
**function_ids** | [**List[int]**](int.md)| | [optional]
326+
**function_ids** | [**List[Optional[int]]**](int.md)| | [optional]
327327
**authorization** | **str**| API Key bearer token | [optional]
328328

329329
### Return type
@@ -386,7 +386,7 @@ configuration.api_key['APIKey'] = os.environ["API_KEY"]
386386
with revengai.ApiClient(configuration) as api_client:
387387
# Create an instance of the API class
388388
api_instance = revengai.FunctionsDataTypesApi(api_client)
389-
function_ids = [56] # List[int] | (optional)
389+
function_ids = [56] # List[Optional[int]] | (optional)
390390
authorization = 'authorization_example' # str | API Key bearer token (optional)
391391

392392
try:
@@ -405,7 +405,7 @@ with revengai.ApiClient(configuration) as api_client:
405405

406406
Name | Type | Description | Notes
407407
------------- | ------------- | ------------- | -------------
408-
**function_ids** | [**List[int]**](int.md)| | [optional]
408+
**function_ids** | [**List[Optional[int]]**](int.md)| | [optional]
409409
**authorization** | **str**| API Key bearer token | [optional]
410410

411411
### Return type

docs/SymbolsInfo.md

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)