Skip to content

Commit 592a3fb

Browse files
authored
Merge pull request #116 from RevEngAI/sdk-update-v3.43.0
🤖 Update SDK to version v3.43.0
2 parents 8c23896 + bc03b2f commit 592a3fb

22 files changed

Lines changed: 702 additions & 171 deletions

.sdk-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v3.42.1
1+
v3.43.0

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Class | Method | HTTP request | Description
7878
*AnalysesSecurityChecksApi* | [**create_scurity_checks_task**](docs/AnalysesSecurityChecksApi.md#create_scurity_checks_task) | **POST** /v2/analyses/{analysis_id}/security-checks | Queues a security check process
7979
*AnalysesSecurityChecksApi* | [**get_security_checks**](docs/AnalysesSecurityChecksApi.md#get_security_checks) | **GET** /v2/analyses/{analysis_id}/security-checks | Get Security Checks
8080
*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
81-
*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
81+
*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
8282
*AuthenticationUsersApi* | [**get_requester_user_info**](docs/AuthenticationUsersApi.md#get_requester_user_info) | **GET** /v2/users/me | Get the requesters user information
8383
*AuthenticationUsersApi* | [**get_user**](docs/AuthenticationUsersApi.md#get_user) | **GET** /v2/users/{user_id} | Get a user's public information
8484
*AuthenticationUsersApi* | [**get_user_activity**](docs/AuthenticationUsersApi.md#get_user_activity) | **GET** /v2/users/activity | Get auth user activity
@@ -264,7 +264,7 @@ Class | Method | HTTP request | Description
264264
- [BaseResponseTaskResponse](docs/BaseResponseTaskResponse.md)
265265
- [BaseResponseUploadResponse](docs/BaseResponseUploadResponse.md)
266266
- [BaseResponseVulnerabilities](docs/BaseResponseVulnerabilities.md)
267-
- [BaseResponseXRef](docs/BaseResponseXRef.md)
267+
- [BaseResponseXrefResponse](docs/BaseResponseXrefResponse.md)
268268
- [Basic](docs/Basic.md)
269269
- [BinariesRelatedStatusResponse](docs/BinariesRelatedStatusResponse.md)
270270
- [BinariesTaskStatus](docs/BinariesTaskStatus.md)
@@ -457,4 +457,6 @@ Class | Method | HTTP request | Description
457457
- [Vulnerability](docs/Vulnerability.md)
458458
- [VulnerabilityType](docs/VulnerabilityType.md)
459459
- [Workspace](docs/Workspace.md)
460-
- [XRef](docs/XRef.md)
460+
- [XrefFromResponse](docs/XrefFromResponse.md)
461+
- [XrefResponse](docs/XrefResponse.md)
462+
- [XrefToResponse](docs/XrefToResponse.md)

docs/AnalysesXRefsApi.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ All URIs are relative to *https://api.reveng.ai*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**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
7+
[**get_xref_by_vaddr**](AnalysesXRefsApi.md#get_xref_by_vaddr) | **GET** /v2/analyses/{analysis_id}/xrefs/{vaddr} | [Beta] Look up xrefs by virtual address
88

99

1010
# **get_xref_by_vaddr**
11-
> BaseResponseXRef get_xref_by_vaddr(analysis_id, vaddr)
11+
> BaseResponseXrefResponse get_xref_by_vaddr(analysis_id, vaddr)
1212
13-
[Beta] Look up an xref by virtual address
13+
[Beta] Look up xrefs by virtual address
1414

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

@@ -20,7 +20,7 @@ Method | HTTP request | Description
2020

2121
```python
2222
import revengai
23-
from revengai.models.base_response_x_ref import BaseResponseXRef
23+
from revengai.models.base_response_xref_response import BaseResponseXrefResponse
2424
from revengai.rest import ApiException
2525
from pprint import pprint
2626

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

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

7070
### Return type
7171

72-
[**BaseResponseXRef**](BaseResponseXRef.md)
72+
[**BaseResponseXrefResponse**](BaseResponseXrefResponse.md)
7373

7474
### Authorization
7575

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
1-
# BaseResponseXRef
1+
# BaseResponseXrefResponse
22

33

44
## Properties
55

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

1414
## Example
1515

1616
```python
17-
from revengai.models.base_response_x_ref import BaseResponseXRef
17+
from revengai.models.base_response_xref_response import BaseResponseXrefResponse
1818

1919
# TODO update the JSON string below
2020
json = "{}"
21-
# create an instance of BaseResponseXRef from a JSON string
22-
base_response_x_ref_instance = BaseResponseXRef.from_json(json)
21+
# create an instance of BaseResponseXrefResponse from a JSON string
22+
base_response_xref_response_instance = BaseResponseXrefResponse.from_json(json)
2323
# print the JSON string representation of the object
24-
print(BaseResponseXRef.to_json())
24+
print(BaseResponseXrefResponse.to_json())
2525

2626
# convert the object into a dict
27-
base_response_x_ref_dict = base_response_x_ref_instance.to_dict()
28-
# create an instance of BaseResponseXRef from a dict
29-
base_response_x_ref_from_dict = BaseResponseXRef.from_dict(base_response_x_ref_dict)
27+
base_response_xref_response_dict = base_response_xref_response_instance.to_dict()
28+
# create an instance of BaseResponseXrefResponse from a dict
29+
base_response_xref_response_from_dict = BaseResponseXrefResponse.from_dict(base_response_xref_response_dict)
3030
```
3131
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
3232

docs/XRef.md renamed to docs/XrefFromResponse.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
1-
# XRef
1+
# XrefFromResponse
22

33

44
## Properties
55

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**value** | **str** | |
9-
**xref_to** | **str** | |
109
**is_scalar** | **bool** | | [optional]
1110
**is_call** | **bool** | | [optional]
1211
**is_data** | **bool** | | [optional]
1312
**is_string** | **bool** | | [optional]
14-
**raw_data** | **bytearray** | | [optional]
13+
**raw_data** | **str** | | [optional]
1514
**segment** | [**SegmentInfo**](SegmentInfo.md) | | [optional]
1615
**orig_str_encoding** | **str** | | [optional]
16+
**xref_to** | **str** | |
1717

1818
## Example
1919

2020
```python
21-
from revengai.models.x_ref import XRef
21+
from revengai.models.xref_from_response import XrefFromResponse
2222

2323
# TODO update the JSON string below
2424
json = "{}"
25-
# create an instance of XRef from a JSON string
26-
x_ref_instance = XRef.from_json(json)
25+
# create an instance of XrefFromResponse from a JSON string
26+
xref_from_response_instance = XrefFromResponse.from_json(json)
2727
# print the JSON string representation of the object
28-
print(XRef.to_json())
28+
print(XrefFromResponse.to_json())
2929

3030
# convert the object into a dict
31-
x_ref_dict = x_ref_instance.to_dict()
32-
# create an instance of XRef from a dict
33-
x_ref_from_dict = XRef.from_dict(x_ref_dict)
31+
xref_from_response_dict = xref_from_response_instance.to_dict()
32+
# create an instance of XrefFromResponse from a dict
33+
xref_from_response_from_dict = XrefFromResponse.from_dict(xref_from_response_dict)
3434
```
3535
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
3636

docs/XrefResponse.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# XrefResponse
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**xref_to_list** | [**List[XrefToResponse]**](XrefToResponse.md) | |
9+
**xref_from_list** | [**List[XrefFromResponse]**](XrefFromResponse.md) | |
10+
11+
## Example
12+
13+
```python
14+
from revengai.models.xref_response import XrefResponse
15+
16+
# TODO update the JSON string below
17+
json = "{}"
18+
# create an instance of XrefResponse from a JSON string
19+
xref_response_instance = XrefResponse.from_json(json)
20+
# print the JSON string representation of the object
21+
print(XrefResponse.to_json())
22+
23+
# convert the object into a dict
24+
xref_response_dict = xref_response_instance.to_dict()
25+
# create an instance of XrefResponse from a dict
26+
xref_response_from_dict = XrefResponse.from_dict(xref_response_dict)
27+
```
28+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
29+
30+

docs/XrefToResponse.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# XrefToResponse
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**value** | **str** | |
9+
**is_scalar** | **bool** | | [optional]
10+
**is_call** | **bool** | | [optional]
11+
**is_data** | **bool** | | [optional]
12+
**is_string** | **bool** | | [optional]
13+
**raw_data** | **str** | | [optional]
14+
**segment** | [**SegmentInfo**](SegmentInfo.md) | | [optional]
15+
**orig_str_encoding** | **str** | | [optional]
16+
**xref_from** | **str** | |
17+
18+
## Example
19+
20+
```python
21+
from revengai.models.xref_to_response import XrefToResponse
22+
23+
# TODO update the JSON string below
24+
json = "{}"
25+
# create an instance of XrefToResponse from a JSON string
26+
xref_to_response_instance = XrefToResponse.from_json(json)
27+
# print the JSON string representation of the object
28+
print(XrefToResponse.to_json())
29+
30+
# convert the object into a dict
31+
xref_to_response_dict = xref_to_response_instance.to_dict()
32+
# create an instance of XrefToResponse from a dict
33+
xref_to_response_from_dict = XrefToResponse.from_dict(xref_to_response_dict)
34+
```
35+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
36+
37+

revengai/__init__.py

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
""" # noqa: E501
1414

1515

16-
__version__ = "v3.42.1"
16+
__version__ = "v3.43.0"
1717

1818
# Define package exports
1919
__all__ = [
@@ -156,7 +156,7 @@
156156
"BaseResponseTaskResponse",
157157
"BaseResponseUploadResponse",
158158
"BaseResponseVulnerabilities",
159-
"BaseResponseXRef",
159+
"BaseResponseXrefResponse",
160160
"Basic",
161161
"BinariesRelatedStatusResponse",
162162
"BinariesTaskStatus",
@@ -349,7 +349,9 @@
349349
"Vulnerability",
350350
"VulnerabilityType",
351351
"Workspace",
352-
"XRef",
352+
"XrefFromResponse",
353+
"XrefResponse",
354+
"XrefToResponse",
353355
]
354356

355357
# import apis into sdk package
@@ -496,7 +498,7 @@
496498
from revengai.models.base_response_task_response import BaseResponseTaskResponse as BaseResponseTaskResponse
497499
from revengai.models.base_response_upload_response import BaseResponseUploadResponse as BaseResponseUploadResponse
498500
from revengai.models.base_response_vulnerabilities import BaseResponseVulnerabilities as BaseResponseVulnerabilities
499-
from revengai.models.base_response_x_ref import BaseResponseXRef as BaseResponseXRef
501+
from revengai.models.base_response_xref_response import BaseResponseXrefResponse as BaseResponseXrefResponse
500502
from revengai.models.basic import Basic as Basic
501503
from revengai.models.binaries_related_status_response import BinariesRelatedStatusResponse as BinariesRelatedStatusResponse
502504
from revengai.models.binaries_task_status import BinariesTaskStatus as BinariesTaskStatus
@@ -689,5 +691,7 @@
689691
from revengai.models.vulnerability import Vulnerability as Vulnerability
690692
from revengai.models.vulnerability_type import VulnerabilityType as VulnerabilityType
691693
from revengai.models.workspace import Workspace as Workspace
692-
from revengai.models.x_ref import XRef as XRef
694+
from revengai.models.xref_from_response import XrefFromResponse as XrefFromResponse
695+
from revengai.models.xref_response import XrefResponse as XrefResponse
696+
from revengai.models.xref_to_response import XrefToResponse as XrefToResponse
693697

0 commit comments

Comments
 (0)