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.82.2
v3.84.0
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ Class | Method | HTTP request | Description
*AnalysesResultsMetadataApi* | [**get_analysis_functions_paginated**](docs/AnalysesResultsMetadataApi.md#get_analysis_functions_paginated) | **GET** /v2/analyses/{analysis_id}/functions | Get functions from analysis
*AnalysesResultsMetadataApi* | [**get_capabilities**](docs/AnalysesResultsMetadataApi.md#get_capabilities) | **GET** /v2/analyses/{analysis_id}/capabilities | Gets the capabilities from the analysis
*AnalysesResultsMetadataApi* | [**get_functions_list**](docs/AnalysesResultsMetadataApi.md#get_functions_list) | **GET** /v2/analyses/{analysis_id}/functions/list | Gets functions from analysis
*AnalysesResultsMetadataApi* | [**get_pdf**](docs/AnalysesResultsMetadataApi.md#get_pdf) | **GET** /v2/analyses/{analysis_id}/pdf | Gets the PDF found in the analysis
*AnalysesResultsMetadataApi* | [**get_sbom**](docs/AnalysesResultsMetadataApi.md#get_sbom) | **GET** /v2/analyses/{analysis_id}/sbom | Gets the software-bill-of-materials (SBOM) found in the analysis
*AnalysesResultsMetadataApi* | [**get_tags**](docs/AnalysesResultsMetadataApi.md#get_tags) | **GET** /v2/analyses/{analysis_id}/tags | Get function tags with maliciousness score
*AnalysesResultsMetadataApi* | [**get_vulnerabilities**](docs/AnalysesResultsMetadataApi.md#get_vulnerabilities) | **GET** /v2/analyses/{analysis_id}/vulnerabilities | Gets the vulnerabilities found in the analysis
Expand Down Expand Up @@ -472,7 +471,6 @@ Class | Method | HTTP request | Description
- [ReportEvent](docs/ReportEvent.md)
- [ReportInfo](docs/ReportInfo.md)
- [ReportOptions](docs/ReportOptions.md)
- [RevertOutputBody](docs/RevertOutputBody.md)
- [SBOM](docs/SBOM.md)
- [SBOMPackage](docs/SBOMPackage.md)
- [SandboxOptions](docs/SandboxOptions.md)
Expand Down
1 change: 0 additions & 1 deletion docs/APIError.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**var_schema** | **str** | A URL to the JSON Schema for this object. | [optional] [readonly]
**error** | [**ErrorBody**](ErrorBody.md) | |

## Example
Expand Down
78 changes: 0 additions & 78 deletions docs/AnalysesResultsMetadataApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Method | HTTP request | Description
[**get_analysis_functions_paginated**](AnalysesResultsMetadataApi.md#get_analysis_functions_paginated) | **GET** /v2/analyses/{analysis_id}/functions | Get functions from analysis
[**get_capabilities**](AnalysesResultsMetadataApi.md#get_capabilities) | **GET** /v2/analyses/{analysis_id}/capabilities | Gets the capabilities from the analysis
[**get_functions_list**](AnalysesResultsMetadataApi.md#get_functions_list) | **GET** /v2/analyses/{analysis_id}/functions/list | Gets functions from analysis
[**get_pdf**](AnalysesResultsMetadataApi.md#get_pdf) | **GET** /v2/analyses/{analysis_id}/pdf | Gets the PDF found in the analysis
[**get_sbom**](AnalysesResultsMetadataApi.md#get_sbom) | **GET** /v2/analyses/{analysis_id}/sbom | Gets the software-bill-of-materials (SBOM) found in the analysis
[**get_tags**](AnalysesResultsMetadataApi.md#get_tags) | **GET** /v2/analyses/{analysis_id}/tags | Get function tags with maliciousness score
[**get_vulnerabilities**](AnalysesResultsMetadataApi.md#get_vulnerabilities) | **GET** /v2/analyses/{analysis_id}/vulnerabilities | Gets the vulnerabilities found in the analysis
Expand Down Expand Up @@ -267,83 +266,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_pdf**
> object get_pdf(analysis_id)

Gets the PDF found in the analysis

### 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.AnalysesResultsMetadataApi(api_client)
analysis_id = 56 # int |

try:
# Gets the PDF found in the analysis
api_response = api_instance.get_pdf(analysis_id)
print("The response of AnalysesResultsMetadataApi->get_pdf:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AnalysesResultsMetadataApi->get_pdf: %s\n" % e)
```



### Parameters


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

### Return type

**object**

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

# **get_sbom**
> BaseResponseListSBOM get_sbom(analysis_id)

Expand Down
1 change: 1 addition & 0 deletions docs/Basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Name | Type | Description | Notes
**base_address** | **int** | |
**binary_uuid** | **str** | | [optional]
**sequencer_version** | **str** | | [optional]
**team_id** | **int** | The team ID of the analysis |

## Example

Expand Down
1 change: 0 additions & 1 deletion docs/BatchRenameInputBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**var_schema** | **str** | A URL to the JSON Schema for this object. | [optional] [readonly]
**functions** | [**List[BatchRenameItem]**](BatchRenameItem.md) | List of functions to rename |

## Example
Expand Down
1 change: 0 additions & 1 deletion docs/BatchRenameOutputBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**var_schema** | **str** | A URL to the JSON Schema for this object. | [optional] [readonly]
**renamed_count** | **int** | Number of functions renamed |

## Example
Expand Down
1 change: 0 additions & 1 deletion docs/CommentsData.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**var_schema** | **str** | A URL to the JSON Schema for this object. | [optional] [readonly]
**inline_comments** | [**List[InlineComment]**](InlineComment.md) | Structured inline comments with line numbers |
**task_status** | **str** | Task status |

Expand Down
1 change: 0 additions & 1 deletion docs/ConfirmToolInputBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**var_schema** | **str** | A URL to the JSON Schema for this object. | [optional] [readonly]
**approved** | **bool** | Whether the user approves the pending tool call. |

## Example
Expand Down
1 change: 0 additions & 1 deletion docs/Conversation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**var_schema** | **str** | A URL to the JSON Schema for this object. | [optional] [readonly]
**context** | **object** | | [optional]
**conversation_uuid** | **str** | |
**created_at** | **datetime** | |
Expand Down
1 change: 0 additions & 1 deletion docs/ConversationWithEvents.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**var_schema** | **str** | A URL to the JSON Schema for this object. | [optional] [readonly]
**context** | **object** | | [optional]
**conversation_uuid** | **str** | |
**created_at** | **datetime** | |
Expand Down
1 change: 0 additions & 1 deletion docs/CreateAIDecompOutputBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**var_schema** | **str** | A URL to the JSON Schema for this object. | [optional] [readonly]
**status** | **bool** | |

## Example
Expand Down
1 change: 0 additions & 1 deletion docs/CreateConversationRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**var_schema** | **str** | A URL to the JSON Schema for this object. | [optional] [readonly]
**context** | [**ConversationContext**](ConversationContext.md) | | [optional]
**title** | **str** | | [optional]

Expand Down
1 change: 0 additions & 1 deletion docs/DecompilationData.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**var_schema** | **str** | A URL to the JSON Schema for this object. | [optional] [readonly]
**decompilation** | **str** | Source code with placeholders replaced | [optional]
**status** | **str** | Task status |

Expand Down
5 changes: 2 additions & 3 deletions docs/FunctionsRenamingHistoryApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ 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)

# **revert_function_name_0**
> RevertOutputBody revert_function_name_0(function_id, history_id)
> Dict[str, object] revert_function_name_0(function_id, history_id)

Revert function name

Expand All @@ -624,7 +624,6 @@ Reverts a function's name to a previous value from its history.

```python
import revengai
from revengai.models.revert_output_body import RevertOutputBody
from revengai.rest import ApiException
from pprint import pprint

Expand Down Expand Up @@ -673,7 +672,7 @@ Name | Type | Description | Notes

### Return type

[**RevertOutputBody**](RevertOutputBody.md)
**Dict[str, object]**

### Authorization

Expand Down
1 change: 0 additions & 1 deletion docs/GeneratePDFOutputBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**var_schema** | **str** | A URL to the JSON Schema for this object. | [optional] [readonly]
**already_running** | **bool** | True when an existing PDF generation is in progress for this analysis and user | [optional]
**task_id** | **str** | Workflow task ID β€” use to poll status and download the PDF |

Expand Down
1 change: 0 additions & 1 deletion docs/QueuePositionResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**var_schema** | **str** | A URL to the JSON Schema for this object. | [optional] [readonly]
**queue_position** | **int** | Number of Processing analyses ahead of this one in the queue. 0 if this analysis is not Processing or has no analyses ahead of it. |

## Example
Expand Down
1 change: 0 additions & 1 deletion docs/RegenerateOutputBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**var_schema** | **str** | A URL to the JSON Schema for this object. | [optional] [readonly]
**status** | **bool** | |

## Example
Expand Down
1 change: 0 additions & 1 deletion docs/RenameInputBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**var_schema** | **str** | A URL to the JSON Schema for this object. | [optional] [readonly]
**new_mangled_name** | **str** | New mangled function name | [optional]
**new_name** | **str** | New function name |

Expand Down
1 change: 0 additions & 1 deletion docs/RenameOutputBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**var_schema** | **str** | A URL to the JSON Schema for this object. | [optional] [readonly]
**renamed_count** | **int** | Number of functions renamed |

## Example
Expand Down
29 changes: 0 additions & 29 deletions docs/RevertOutputBody.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/SendMessageRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**var_schema** | **str** | A URL to the JSON Schema for this object. | [optional] [readonly]
**content** | **str** | |
**context** | [**ConversationContext**](ConversationContext.md) | | [optional]

Expand Down
1 change: 0 additions & 1 deletion docs/StatusResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**var_schema** | **str** | A URL to the JSON Schema for this object. | [optional] [readonly]
**conversation_uuid** | **str** | |
**status** | **str** | |
**trace_id** | **str** | OpenTelemetry trace ID for this run. Use this to look up tool call spans in your trace backend. | [optional]
Expand Down
1 change: 0 additions & 1 deletion docs/SummaryData.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**var_schema** | **str** | A URL to the JSON Schema for this object. | [optional] [readonly]
**ai_summary** | **str** | Summary with code tags removed |
**summary** | **str** | Raw summary from the model |
**task_status** | **str** | Task status |
Expand Down
1 change: 0 additions & 1 deletion docs/TokenisedData.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**var_schema** | **str** | A URL to the JSON Schema for this object. | [optional] [readonly]
**function_mapping** | [**FunctionMapping**](FunctionMapping.md) | Complete mapping data for token resolution | [optional]
**predicted_function_name** | **str** | Predicted function name from the AI model | [optional]
**status** | **str** | Task status |
Expand Down
1 change: 0 additions & 1 deletion docs/UpsertOverridesData.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**var_schema** | **str** | A URL to the JSON Schema for this object. | [optional] [readonly]
**user_override_mappings** | **Dict[str, str]** | Merged override mappings after applying changes |

## Example
Expand Down
1 change: 0 additions & 1 deletion docs/UpsertOverridesInputBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**var_schema** | **str** | A URL to the JSON Schema for this object. | [optional] [readonly]
**overrides** | **Dict[str, str]** | Token to name mappings. Empty string removes the override. |

## Example
Expand Down
1 change: 0 additions & 1 deletion docs/WorkflowProgress.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**var_schema** | **str** | A URL to the JSON Schema for this object. | [optional] [readonly]
**messages** | [**List[ProgressMessage]**](ProgressMessage.md) | Log messages emitted during execution |
**status** | **str** | Current workflow status |
**step** | **str** | Name of the current step |
Expand Down
4 changes: 1 addition & 3 deletions revengai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
""" # noqa: E501


__version__ = "v3.82.2"
__version__ = "v3.84.0"

# Define package exports
__all__ = [
Expand Down Expand Up @@ -345,7 +345,6 @@
"ReportEvent",
"ReportInfo",
"ReportOptions",
"RevertOutputBody",
"SBOM",
"SBOMPackage",
"SandboxOptions",
Expand Down Expand Up @@ -754,7 +753,6 @@
from revengai.models.report_event import ReportEvent as ReportEvent
from revengai.models.report_info import ReportInfo as ReportInfo
from revengai.models.report_options import ReportOptions as ReportOptions
from revengai.models.revert_output_body import RevertOutputBody as RevertOutputBody
from revengai.models.sbom import SBOM as SBOM
from revengai.models.sbom_package import SBOMPackage as SBOMPackage
from revengai.models.sandbox_options import SandboxOptions as SandboxOptions
Expand Down
Loading