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.42.1
v3.43.0
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Class | Method | HTTP request | Description
*AnalysesSecurityChecksApi* | [**create_scurity_checks_task**](docs/AnalysesSecurityChecksApi.md#create_scurity_checks_task) | **POST** /v2/analyses/{analysis_id}/security-checks | Queues a security check process
*AnalysesSecurityChecksApi* | [**get_security_checks**](docs/AnalysesSecurityChecksApi.md#get_security_checks) | **GET** /v2/analyses/{analysis_id}/security-checks | Get Security Checks
*AnalysesSecurityChecksApi* | [**get_security_checks_task_status**](docs/AnalysesSecurityChecksApi.md#get_security_checks_task_status) | **GET** /v2/analyses/{analysis_id}/security-checks/status | Check the status of a security check process
*AnalysesXRefsApi* | [**get_xref_by_vaddr**](docs/AnalysesXRefsApi.md#get_xref_by_vaddr) | **GET** /v2/analyses/{analysis_id}/xrefs/{vaddr} | [Beta] Look up an xref by virtual address
*AnalysesXRefsApi* | [**get_xref_by_vaddr**](docs/AnalysesXRefsApi.md#get_xref_by_vaddr) | **GET** /v2/analyses/{analysis_id}/xrefs/{vaddr} | [Beta] Look up xrefs by virtual address
*AuthenticationUsersApi* | [**get_requester_user_info**](docs/AuthenticationUsersApi.md#get_requester_user_info) | **GET** /v2/users/me | Get the requesters user information
*AuthenticationUsersApi* | [**get_user**](docs/AuthenticationUsersApi.md#get_user) | **GET** /v2/users/{user_id} | Get a user's public information
*AuthenticationUsersApi* | [**get_user_activity**](docs/AuthenticationUsersApi.md#get_user_activity) | **GET** /v2/users/activity | Get auth user activity
Expand Down Expand Up @@ -264,7 +264,7 @@ Class | Method | HTTP request | Description
- [BaseResponseTaskResponse](docs/BaseResponseTaskResponse.md)
- [BaseResponseUploadResponse](docs/BaseResponseUploadResponse.md)
- [BaseResponseVulnerabilities](docs/BaseResponseVulnerabilities.md)
- [BaseResponseXRef](docs/BaseResponseXRef.md)
- [BaseResponseXrefResponse](docs/BaseResponseXrefResponse.md)
- [Basic](docs/Basic.md)
- [BinariesRelatedStatusResponse](docs/BinariesRelatedStatusResponse.md)
- [BinariesTaskStatus](docs/BinariesTaskStatus.md)
Expand Down Expand Up @@ -457,4 +457,6 @@ Class | Method | HTTP request | Description
- [Vulnerability](docs/Vulnerability.md)
- [VulnerabilityType](docs/VulnerabilityType.md)
- [Workspace](docs/Workspace.md)
- [XRef](docs/XRef.md)
- [XrefFromResponse](docs/XrefFromResponse.md)
- [XrefResponse](docs/XrefResponse.md)
- [XrefToResponse](docs/XrefToResponse.md)
16 changes: 8 additions & 8 deletions docs/AnalysesXRefsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ All URIs are relative to *https://api.reveng.ai*

Method | HTTP request | Description
------------- | ------------- | -------------
[**get_xref_by_vaddr**](AnalysesXRefsApi.md#get_xref_by_vaddr) | **GET** /v2/analyses/{analysis_id}/xrefs/{vaddr} | [Beta] Look up an xref by virtual address
[**get_xref_by_vaddr**](AnalysesXRefsApi.md#get_xref_by_vaddr) | **GET** /v2/analyses/{analysis_id}/xrefs/{vaddr} | [Beta] Look up xrefs by virtual address


# **get_xref_by_vaddr**
> BaseResponseXRef get_xref_by_vaddr(analysis_id, vaddr)
> BaseResponseXrefResponse get_xref_by_vaddr(analysis_id, vaddr)

[Beta] Look up an xref by virtual address
[Beta] Look up xrefs by virtual address

**This endpoint is in beta and may change without notice.**

Expand All @@ -20,7 +20,7 @@ Method | HTTP request | Description

```python
import revengai
from revengai.models.base_response_x_ref import BaseResponseXRef
from revengai.models.base_response_xref_response import BaseResponseXrefResponse
from revengai.rest import ApiException
from pprint import pprint

Expand All @@ -46,10 +46,10 @@ with revengai.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = revengai.AnalysesXRefsApi(api_client)
analysis_id = 56 # int |
vaddr = 56 # int | Virtual address to match against xref_to
vaddr = 56 # int | Virtual address to match against xrefs

try:
# [Beta] Look up an xref by virtual address
# [Beta] Look up xrefs by virtual address
api_response = api_instance.get_xref_by_vaddr(analysis_id, vaddr)
print("The response of AnalysesXRefsApi->get_xref_by_vaddr:\n")
pprint(api_response)
Expand All @@ -65,11 +65,11 @@ with revengai.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**analysis_id** | **int**| |
**vaddr** | **int**| Virtual address to match against xref_to |
**vaddr** | **int**| Virtual address to match against xrefs |

### Return type

[**BaseResponseXRef**](BaseResponseXRef.md)
[**BaseResponseXrefResponse**](BaseResponseXrefResponse.md)

### Authorization

Expand Down
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
# BaseResponseXRef
# BaseResponseXrefResponse


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**status** | **bool** | Response status on whether the request succeeded | [optional] [default to True]
**data** | [**XRef**](XRef.md) | | [optional]
**data** | [**XrefResponse**](XrefResponse.md) | | [optional]
**message** | **str** | | [optional]
**errors** | [**List[ErrorModel]**](ErrorModel.md) | | [optional]
**meta** | [**MetaModel**](MetaModel.md) | Metadata | [optional]

## Example

```python
from revengai.models.base_response_x_ref import BaseResponseXRef
from revengai.models.base_response_xref_response import BaseResponseXrefResponse

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

# convert the object into a dict
base_response_x_ref_dict = base_response_x_ref_instance.to_dict()
# create an instance of BaseResponseXRef from a dict
base_response_x_ref_from_dict = BaseResponseXRef.from_dict(base_response_x_ref_dict)
base_response_xref_response_dict = base_response_xref_response_instance.to_dict()
# create an instance of BaseResponseXrefResponse from a dict
base_response_xref_response_from_dict = BaseResponseXrefResponse.from_dict(base_response_xref_response_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)

Expand Down
20 changes: 10 additions & 10 deletions docs/XRef.md β†’ docs/XrefFromResponse.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
# XRef
# XrefFromResponse


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**value** | **str** | |
**xref_to** | **str** | |
**is_scalar** | **bool** | | [optional]
**is_call** | **bool** | | [optional]
**is_data** | **bool** | | [optional]
**is_string** | **bool** | | [optional]
**raw_data** | **bytearray** | | [optional]
**raw_data** | **str** | | [optional]
**segment** | [**SegmentInfo**](SegmentInfo.md) | | [optional]
**orig_str_encoding** | **str** | | [optional]
**xref_to** | **str** | |

## Example

```python
from revengai.models.x_ref import XRef
from revengai.models.xref_from_response import XrefFromResponse

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

# convert the object into a dict
x_ref_dict = x_ref_instance.to_dict()
# create an instance of XRef from a dict
x_ref_from_dict = XRef.from_dict(x_ref_dict)
xref_from_response_dict = xref_from_response_instance.to_dict()
# create an instance of XrefFromResponse from a dict
xref_from_response_from_dict = XrefFromResponse.from_dict(xref_from_response_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)

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


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**xref_to_list** | [**List[XrefToResponse]**](XrefToResponse.md) | |
**xref_from_list** | [**List[XrefFromResponse]**](XrefFromResponse.md) | |

## Example

```python
from revengai.models.xref_response import XrefResponse

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

# convert the object into a dict
xref_response_dict = xref_response_instance.to_dict()
# create an instance of XrefResponse from a dict
xref_response_from_dict = XrefResponse.from_dict(xref_response_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)


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


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**value** | **str** | |
**is_scalar** | **bool** | | [optional]
**is_call** | **bool** | | [optional]
**is_data** | **bool** | | [optional]
**is_string** | **bool** | | [optional]
**raw_data** | **str** | | [optional]
**segment** | [**SegmentInfo**](SegmentInfo.md) | | [optional]
**orig_str_encoding** | **str** | | [optional]
**xref_from** | **str** | |

## Example

```python
from revengai.models.xref_to_response import XrefToResponse

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

# convert the object into a dict
xref_to_response_dict = xref_to_response_instance.to_dict()
# create an instance of XrefToResponse from a dict
xref_to_response_from_dict = XrefToResponse.from_dict(xref_to_response_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)


14 changes: 9 additions & 5 deletions revengai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
""" # noqa: E501


__version__ = "v3.42.1"
__version__ = "v3.43.0"

# Define package exports
__all__ = [
Expand Down Expand Up @@ -156,7 +156,7 @@
"BaseResponseTaskResponse",
"BaseResponseUploadResponse",
"BaseResponseVulnerabilities",
"BaseResponseXRef",
"BaseResponseXrefResponse",
"Basic",
"BinariesRelatedStatusResponse",
"BinariesTaskStatus",
Expand Down Expand Up @@ -349,7 +349,9 @@
"Vulnerability",
"VulnerabilityType",
"Workspace",
"XRef",
"XrefFromResponse",
"XrefResponse",
"XrefToResponse",
]

# import apis into sdk package
Expand Down Expand Up @@ -496,7 +498,7 @@
from revengai.models.base_response_task_response import BaseResponseTaskResponse as BaseResponseTaskResponse
from revengai.models.base_response_upload_response import BaseResponseUploadResponse as BaseResponseUploadResponse
from revengai.models.base_response_vulnerabilities import BaseResponseVulnerabilities as BaseResponseVulnerabilities
from revengai.models.base_response_x_ref import BaseResponseXRef as BaseResponseXRef
from revengai.models.base_response_xref_response import BaseResponseXrefResponse as BaseResponseXrefResponse
from revengai.models.basic import Basic as Basic
from revengai.models.binaries_related_status_response import BinariesRelatedStatusResponse as BinariesRelatedStatusResponse
from revengai.models.binaries_task_status import BinariesTaskStatus as BinariesTaskStatus
Expand Down Expand Up @@ -689,5 +691,7 @@
from revengai.models.vulnerability import Vulnerability as Vulnerability
from revengai.models.vulnerability_type import VulnerabilityType as VulnerabilityType
from revengai.models.workspace import Workspace as Workspace
from revengai.models.x_ref import XRef as XRef
from revengai.models.xref_from_response import XrefFromResponse as XrefFromResponse
from revengai.models.xref_response import XrefResponse as XrefResponse
from revengai.models.xref_to_response import XrefToResponse as XrefToResponse

Loading