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 @@
v4.46.0
v4.51.0
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ Class | Method | HTTP request | Description
*AnalysesCoreApi* | [**upload_file**](docs/AnalysesCoreApi.md#upload_file) | **POST** /v2/upload | Upload File
*AnalysesCoreApi* | [**v3_create_analysis**](docs/AnalysesCoreApi.md#v3_create_analysis) | **POST** /v3/analyses | Create an analysis
*AnalysesCoreApi* | [**v3_get_analysis_auto_unstrip_status**](docs/AnalysesCoreApi.md#v3_get_analysis_auto_unstrip_status) | **GET** /v3/analyses/{analysis_id}/auto-unstrip/status | Get the auto-unstrip status for an analysis.
*AnalysesCoreApi* | [**v3_get_analysis_functions_progress**](docs/AnalysesCoreApi.md#v3_get_analysis_functions_progress) | **GET** /v3/analyses/{analysis_id}/progress/functions | Get function embedding progress for an analysis.
*AnalysesCoreApi* | [**v3_get_analysis_logs**](docs/AnalysesCoreApi.md#v3_get_analysis_logs) | **GET** /v3/analyses/{analysis_id}/logs | Get the Analysis log
*AnalysesCoreApi* | [**v3_get_analysis_operation**](docs/AnalysesCoreApi.md#v3_get_analysis_operation) | **GET** /v3/operations/analyses/{analysis_id} | Get an Analysis-creation operation
*AnalysesCoreApi* | [**v3_get_analysis_strings**](docs/AnalysesCoreApi.md#v3_get_analysis_strings) | **GET** /v3/analyses/{analysis_id}/functions/strings | List strings for an analysis.
Expand All @@ -152,6 +153,9 @@ Class | Method | HTTP request | Description
*BinariesApi* | [**get_binary_externals**](docs/BinariesApi.md#get_binary_externals) | **GET** /v2/binaries/{binary_id}/externals | Gets the external details of a binary
*BinariesApi* | [**get_binary_related_status**](docs/BinariesApi.md#get_binary_related_status) | **GET** /v2/binaries/{binary_id}/related/status | Gets the status of the unpack binary task for a binary
*BinariesApi* | [**get_related_binaries**](docs/BinariesApi.md#get_related_binaries) | **GET** /v2/binaries/{binary_id}/related | Gets the related binaries of a binary.
*BinariesApi* | [**v3_get_binary_die_info**](docs/BinariesApi.md#v3_get_binary_die_info) | **GET** /v3/binaries/{binary_id}/die-info | Get Detect It Easy matches for a binary.
*BinariesApi* | [**v3_get_binary_related**](docs/BinariesApi.md#v3_get_binary_related) | **GET** /v3/binaries/{binary_id}/related | Get the binaries related to this one by unpacking.
*BinariesApi* | [**v3_get_binary_related_status**](docs/BinariesApi.md#v3_get_binary_related_status) | **GET** /v3/binaries/{binary_id}/related/status | Get the archive-unpacking status for a binary.
*BinariesApi* | [**v3_upload_file**](docs/BinariesApi.md#v3_upload_file) | **POST** /v3/upload | Upload a file.
*CollectionsApi* | [**create_collection**](docs/CollectionsApi.md#create_collection) | **POST** /v2/collections | Creates new collection information
*CollectionsApi* | [**delete_collection**](docs/CollectionsApi.md#delete_collection) | **DELETE** /v2/collections/{collection_id} | Deletes a collection
Expand All @@ -170,6 +174,8 @@ Class | Method | HTTP request | Description
*CollectionsApi* | [**v3_patch_collection_tags**](docs/CollectionsApi.md#v3_patch_collection_tags) | **PATCH** /v3/collections/{collection_id}/tags | Replace the tags on a collection.
*CollectionsApi* | [**v3_remove_collection_binaries**](docs/CollectionsApi.md#v3_remove_collection_binaries) | **DELETE** /v3/collections/{collection_id}/binaries | Remove binaries from a collection.
*ConfigApi* | [**get_config**](docs/ConfigApi.md#get_config) | **GET** /v2/config | Get Config
*ConfigApi* | [**v3_get_config**](docs/ConfigApi.md#v3_get_config) | **GET** /v3/config | Get client configuration.
*ConfigApi* | [**v3_get_models**](docs/ConfigApi.md#v3_get_models) | **GET** /v3/models | Get the models available for analysis.
*ConversationsApi* | [**cancel_run**](docs/ConversationsApi.md#cancel_run) | **POST** /v2/conversations/{id}/cancel | Cancel an active run
*ConversationsApi* | [**confirm_tool**](docs/ConversationsApi.md#confirm_tool) | **POST** /v2/conversations/{id}/confirm | Approve or reject a pending tool confirmation
*ConversationsApi* | [**create_conversation**](docs/ConversationsApi.md#create_conversation) | **POST** /v2/conversations | Create a new conversation
Expand Down Expand Up @@ -610,19 +616,25 @@ Class | Method | HTTP request | Description
- [FunctionTypeDefinition](docs/FunctionTypeDefinition.md)
- [FunctionsDetailResponse](docs/FunctionsDetailResponse.md)
- [FunctionsListRename](docs/FunctionsListRename.md)
- [FunctionsProgressOutputBody](docs/FunctionsProgressOutputBody.md)
- [GeneratePDFOutputBody](docs/GeneratePDFOutputBody.md)
- [GetAdditionalDetailsOutputBody](docs/GetAdditionalDetailsOutputBody.md)
- [GetAdditionalDetailsStatusOutputBody](docs/GetAdditionalDetailsStatusOutputBody.md)
- [GetAiDecompilationRatingResponse](docs/GetAiDecompilationRatingResponse.md)
- [GetAnalysisLogsOutputBody](docs/GetAnalysisLogsOutputBody.md)
- [GetAnalysisStringsStatusOutputBody](docs/GetAnalysisStringsStatusOutputBody.md)
- [GetCollectionOutputBody](docs/GetCollectionOutputBody.md)
- [GetConfigOutputBody](docs/GetConfigOutputBody.md)
- [GetDataTypeHistoryBody](docs/GetDataTypeHistoryBody.md)
- [GetDieInfoOutputBody](docs/GetDieInfoOutputBody.md)
- [GetFunctionSignatureHistoryBody](docs/GetFunctionSignatureHistoryBody.md)
- [GetMatchesOutputBody](docs/GetMatchesOutputBody.md)
- [GetMatchesStatusOutputBody](docs/GetMatchesStatusOutputBody.md)
- [GetModelsOutputBody](docs/GetModelsOutputBody.md)
- [GetProductsOutputBody](docs/GetProductsOutputBody.md)
- [GetPublicUserResponse](docs/GetPublicUserResponse.md)
- [GetRelatedBinariesOutputBody](docs/GetRelatedBinariesOutputBody.md)
- [GetRelatedStatusOutputBody](docs/GetRelatedStatusOutputBody.md)
- [GetSubscriptionOutputBody](docs/GetSubscriptionOutputBody.md)
- [GetTokensResponse](docs/GetTokensResponse.md)
- [HardcodedSecretEvidence](docs/HardcodedSecretEvidence.md)
Expand Down Expand Up @@ -750,6 +762,7 @@ Class | Method | HTTP request | Description
- [RegenerateOutputBody](docs/RegenerateOutputBody.md)
- [RegisterUserInputBody](docs/RegisterUserInputBody.md)
- [RegistryOperation](docs/RegistryOperation.md)
- [RelatedBinary](docs/RelatedBinary.md)
- [RelativeBinaryResponse](docs/RelativeBinaryResponse.md)
- [RemediationAgentResponse](docs/RemediationAgentResponse.md)
- [RemediationResult](docs/RemediationResult.md)
Expand Down Expand Up @@ -777,6 +790,8 @@ Class | Method | HTTP request | Description
- [SandboxTimeout](docs/SandboxTimeout.md)
- [ScheduledTaskEntry](docs/ScheduledTaskEntry.md)
- [ScrapeThirdPartyConfig](docs/ScrapeThirdPartyConfig.md)
- [ScreenshotEntry](docs/ScreenshotEntry.md)
- [ScreenshotsIndex](docs/ScreenshotsIndex.md)
- [SecretsAgentResponse](docs/SecretsAgentResponse.md)
- [SectionModel](docs/SectionModel.md)
- [SecurityFinding](docs/SecurityFinding.md)
Expand Down
94 changes: 94 additions & 0 deletions docs/AnalysesCoreApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Method | HTTP request | Description
[**upload_file**](AnalysesCoreApi.md#upload_file) | **POST** /v2/upload | Upload File
[**v3_create_analysis**](AnalysesCoreApi.md#v3_create_analysis) | **POST** /v3/analyses | Create an analysis
[**v3_get_analysis_auto_unstrip_status**](AnalysesCoreApi.md#v3_get_analysis_auto_unstrip_status) | **GET** /v3/analyses/{analysis_id}/auto-unstrip/status | Get the auto-unstrip status for an analysis.
[**v3_get_analysis_functions_progress**](AnalysesCoreApi.md#v3_get_analysis_functions_progress) | **GET** /v3/analyses/{analysis_id}/progress/functions | Get function embedding progress for an analysis.
[**v3_get_analysis_logs**](AnalysesCoreApi.md#v3_get_analysis_logs) | **GET** /v3/analyses/{analysis_id}/logs | Get the Analysis log
[**v3_get_analysis_operation**](AnalysesCoreApi.md#v3_get_analysis_operation) | **GET** /v3/operations/analyses/{analysis_id} | Get an Analysis-creation operation
[**v3_get_analysis_strings**](AnalysesCoreApi.md#v3_get_analysis_strings) | **GET** /v3/analyses/{analysis_id}/functions/strings | List strings for an analysis.
Expand Down Expand Up @@ -2339,6 +2340,99 @@ 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_get_analysis_functions_progress**
> FunctionsProgressOutputBody v3_get_analysis_functions_progress(analysis_id)

Get function embedding progress for an analysis.

Returns how many functions the analysis has and how many carry an embedding, with the percentage complete. Embeddings are counted from the unified store, so an analysis whose model predates the current multi-arch one reports zero.

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

### Example

* Api Key Authentication (APIKey):
* Bearer Authentication (bearerAuth):

```python
import revengai
from revengai.models.functions_progress_output_body import FunctionsProgressOutputBody
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'

# Configure Bearer authorization: bearerAuth
configuration = revengai.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)

# 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_id = 56 # int | Analysis ID

try:
# Get function embedding progress for an analysis.
api_response = api_instance.v3_get_analysis_functions_progress(analysis_id)
print("The response of AnalysesCoreApi->v3_get_analysis_functions_progress:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AnalysesCoreApi->v3_get_analysis_functions_progress: %s\n" % e)
```



### Parameters


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**analysis_id** | **int**| Analysis ID |

### Return type

[**FunctionsProgressOutputBody**](FunctionsProgressOutputBody.md)

### Authorization

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

### HTTP request headers

- **Content-Type**: Not defined
- **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_get_analysis_logs**
> GetAnalysisLogsOutputBody v3_get_analysis_logs(analysis_id)

Expand Down
1 change: 1 addition & 0 deletions docs/ArrayDataType.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Name | Type | Description | Notes
**name** | **str** | Type name. |
**namespace** | **str** | The scope qualifying the type name. Empty for a program-defined type. |
**size** | **int** | Size in bytes, absent when it could not be determined. | [optional]
**source_analysis_id** | **int** | ID of the analysis the source function belongs to, when it could be resolved. | [optional]
**source_function_id** | **int** | The function this type was copied from, when transferred rather than extracted. | [optional]
**source_type** | **str** | Where this type came from. |

Expand Down
1 change: 1 addition & 0 deletions docs/BaseDataType.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Name | Type | Description | Notes
**name** | **str** | Type name. |
**namespace** | **str** | The scope qualifying the type name. Empty for a program-defined type. |
**size** | **int** | Size in bytes, absent when it could not be determined. | [optional]
**source_analysis_id** | **int** | ID of the analysis the source function belongs to, when it could be resolved. | [optional]
**source_function_id** | **int** | The function this type was copied from, when transferred rather than extracted. | [optional]
**source_type** | **str** | Where this type came from. |

Expand Down
Loading
Loading