Skip to content

Commit f59eec6

Browse files
Update SDK to version v2.18.2
- Generated from OpenAPI spec version v2.18.2 - Auto-generated by GitHub Actions
1 parent d1f88a7 commit f59eec6

19 files changed

Lines changed: 21 additions & 1655 deletions

.sdk-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2.16.0
1+
v2.18.2

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Add this dependency to your project's POM:
1616
<dependency>
1717
<groupId>ai.reveng</groupId>
1818
<artifactId>sdk</artifactId>
19-
<version>2.16.0</version>
19+
<version>2.18.2</version>
2020
<scope>compile</scope>
2121
</dependency>
2222
```
@@ -31,7 +31,7 @@ repositories {
3131
}
3232
3333
dependencies {
34-
implementation "ai.reveng:sdk:2.16.0"
34+
implementation "ai.reveng:sdk:2.18.2"
3535
}
3636
```
3737

@@ -168,12 +168,9 @@ Class | Method | HTTP request | Description
168168
*FunctionsDataTypesApi* | [**listFunctionDataTypesForAnalysis**](docs/FunctionsDataTypesApi.md#listFunctionDataTypesForAnalysis) | **GET** /v2/analyses/{analysis_id}/functions/data_types | List Function Data Types
169169
*FunctionsDataTypesApi* | [**listFunctionDataTypesForFunctions**](docs/FunctionsDataTypesApi.md#listFunctionDataTypesForFunctions) | **GET** /v2/functions/data_types | List Function Data Types
170170
*FunctionsDataTypesApi* | [**updateFunctionDataTypes**](docs/FunctionsDataTypesApi.md#updateFunctionDataTypes) | **PUT** /v2/analyses/{analysis_id}/functions/{function_id}/data_types | Update Function Data Types
171-
*FunctionsDecompilationApi* | [**checkFunctionDecompilationTask**](docs/FunctionsDecompilationApi.md#checkFunctionDecompilationTask) | **GET** /v2/functions/{function_id}/decompilation/status | Check the status of a function decompilation
172171
*FunctionsDecompilationApi* | [**createDecompilationComment**](docs/FunctionsDecompilationApi.md#createDecompilationComment) | **POST** /v2/functions/{function_id}/decompilation/comments | Create a comment for this function
173-
*FunctionsDecompilationApi* | [**createFunctionDecompilationTask**](docs/FunctionsDecompilationApi.md#createFunctionDecompilationTask) | **POST** /v2/functions/{function_id}/decompilation | Queues a function decompilation
174172
*FunctionsDecompilationApi* | [**deleteDecompilationComment**](docs/FunctionsDecompilationApi.md#deleteDecompilationComment) | **DELETE** /v2/functions/{function_id}/decompilation/comments/{comment_id} | Delete a comment
175173
*FunctionsDecompilationApi* | [**getDecompilationComments**](docs/FunctionsDecompilationApi.md#getDecompilationComments) | **GET** /v2/functions/{function_id}/decompilation/comments | Get comments for this function
176-
*FunctionsDecompilationApi* | [**getFunctionDecompilation**](docs/FunctionsDecompilationApi.md#getFunctionDecompilation) | **GET** /v2/functions/{function_id}/decompilation | Get decompilation result
177174
*FunctionsDecompilationApi* | [**updateDecompilationComment**](docs/FunctionsDecompilationApi.md#updateDecompilationComment) | **PATCH** /v2/functions/{function_id}/decompilation/comments/{comment_id} | Update a comment
178175
*FunctionsRenamingHistoryApi* | [**batchRenameFunction**](docs/FunctionsRenamingHistoryApi.md#batchRenameFunction) | **POST** /v2/functions/rename/batch | Batch Rename Functions
179176
*FunctionsRenamingHistoryApi* | [**getFunctionNameHistory**](docs/FunctionsRenamingHistoryApi.md#getFunctionNameHistory) | **GET** /v2/functions/history/{function_id} | Get Function Name History
@@ -245,7 +242,6 @@ Class | Method | HTTP request | Description
245242
- [BaseResponseCommentResponse](docs/BaseResponseCommentResponse.md)
246243
- [BaseResponseCommunities](docs/BaseResponseCommunities.md)
247244
- [BaseResponseCreated](docs/BaseResponseCreated.md)
248-
- [BaseResponseDecompilationResponse](docs/BaseResponseDecompilationResponse.md)
249245
- [BaseResponseDict](docs/BaseResponseDict.md)
250246
- [BaseResponseDynamicExecutionStatus](docs/BaseResponseDynamicExecutionStatus.md)
251247
- [BaseResponseExternalResponse](docs/BaseResponseExternalResponse.md)
@@ -332,7 +328,6 @@ Class | Method | HTTP request | Description
332328
- [Context](docs/Context.md)
333329
- [Created](docs/Created.md)
334330
- [DecompilationCommentContext](docs/DecompilationCommentContext.md)
335-
- [DecompilationResponse](docs/DecompilationResponse.md)
336331
- [DieMatch](docs/DieMatch.md)
337332
- [DynamicExecutionStatusInput](docs/DynamicExecutionStatusInput.md)
338333
- [ELFImportModel](docs/ELFImportModel.md)

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ apply plugin: 'java'
1919
apply plugin: 'com.diffplug.spotless'
2020

2121
group = 'ai.reveng'
22-
version = '2.16.0'
22+
version = '2.18.2'
2323

2424

2525

@@ -171,7 +171,7 @@ mavenPublishing {
171171
publishToMavenCentral(true)
172172
signAllPublications()
173173

174-
coordinates("ai.reveng", "sdk", "2.16.0")
174+
coordinates("ai.reveng", "sdk", "2.18.2")
175175

176176
pom {
177177
name = "sdk"

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "ai.reveng",
44
name := "sdk",
5-
version := "2.16.0",
5+
version := "2.18.2",
66
scalaVersion := "2.11.12",
77
scalacOptions ++= Seq("-feature"),
88
compile / javacOptions ++= Seq("-Xlint:deprecation"),

docs/BaseResponseDecompilationResponse.md

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

docs/DecompilationResponse.md

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

docs/FunctionsDecompilationApi.md

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

55
| Method | HTTP request | Description |
66
|------------- | ------------- | -------------|
7-
| [**checkFunctionDecompilationTask**](FunctionsDecompilationApi.md#checkFunctionDecompilationTask) | **GET** /v2/functions/{function_id}/decompilation/status | Check the status of a function decompilation |
87
| [**createDecompilationComment**](FunctionsDecompilationApi.md#createDecompilationComment) | **POST** /v2/functions/{function_id}/decompilation/comments | Create a comment for this function |
9-
| [**createFunctionDecompilationTask**](FunctionsDecompilationApi.md#createFunctionDecompilationTask) | **POST** /v2/functions/{function_id}/decompilation | Queues a function decompilation |
108
| [**deleteDecompilationComment**](FunctionsDecompilationApi.md#deleteDecompilationComment) | **DELETE** /v2/functions/{function_id}/decompilation/comments/{comment_id} | Delete a comment |
119
| [**getDecompilationComments**](FunctionsDecompilationApi.md#getDecompilationComments) | **GET** /v2/functions/{function_id}/decompilation/comments | Get comments for this function |
12-
| [**getFunctionDecompilation**](FunctionsDecompilationApi.md#getFunctionDecompilation) | **GET** /v2/functions/{function_id}/decompilation | Get decompilation result |
1310
| [**updateDecompilationComment**](FunctionsDecompilationApi.md#updateDecompilationComment) | **PATCH** /v2/functions/{function_id}/decompilation/comments/{comment_id} | Update a comment |
1411

1512

16-
<a id="checkFunctionDecompilationTask"></a>
17-
# **checkFunctionDecompilationTask**
18-
> BaseResponseFunctionTaskResponse checkFunctionDecompilationTask(functionId)
19-
20-
Check the status of a function decompilation
21-
22-
### Example
23-
```java
24-
// Import classes:
25-
import ai.reveng.invoker.ApiClient;
26-
import ai.reveng.invoker.ApiException;
27-
import ai.reveng.invoker.Configuration;
28-
import ai.reveng.invoker.auth.*;
29-
import ai.reveng.invoker.models.*;
30-
import ai.reveng.api.FunctionsDecompilationApi;
31-
32-
public class Example {
33-
public static void main(String[] args) {
34-
ApiClient defaultClient = Configuration.getDefaultApiClient();
35-
defaultClient.setBasePath("https://api.reveng.ai");
36-
37-
// Configure API key authorization: APIKey
38-
ApiKeyAuth APIKey = (ApiKeyAuth) defaultClient.getAuthentication("APIKey");
39-
APIKey.setApiKey("YOUR API KEY");
40-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
41-
//APIKey.setApiKeyPrefix("Token");
42-
43-
FunctionsDecompilationApi apiInstance = new FunctionsDecompilationApi(defaultClient);
44-
Integer functionId = 56; // Integer |
45-
try {
46-
BaseResponseFunctionTaskResponse result = apiInstance.checkFunctionDecompilationTask(functionId);
47-
System.out.println(result);
48-
} catch (ApiException e) {
49-
System.err.println("Exception when calling FunctionsDecompilationApi#checkFunctionDecompilationTask");
50-
System.err.println("Status code: " + e.getCode());
51-
System.err.println("Reason: " + e.getResponseBody());
52-
System.err.println("Response headers: " + e.getResponseHeaders());
53-
e.printStackTrace();
54-
}
55-
}
56-
}
57-
```
58-
59-
### Parameters
60-
61-
| Name | Type | Description | Notes |
62-
|------------- | ------------- | ------------- | -------------|
63-
| **functionId** | **Integer**| | |
64-
65-
### Return type
66-
67-
[**BaseResponseFunctionTaskResponse**](BaseResponseFunctionTaskResponse.md)
68-
69-
### Authorization
70-
71-
[APIKey](../README.md#APIKey)
72-
73-
### HTTP request headers
74-
75-
- **Content-Type**: Not defined
76-
- **Accept**: application/json
77-
78-
### HTTP response details
79-
| Status code | Description | Response headers |
80-
|-------------|-------------|------------------|
81-
| **200** | Successful Response | - |
82-
| **422** | Invalid request parameters | - |
83-
8413
<a id="createDecompilationComment"></a>
8514
# **createDecompilationComment**
8615
> BaseResponseCommentResponse createDecompilationComment(functionId, functionCommentCreateRequest)
@@ -154,75 +83,6 @@ public class Example {
15483
| **422** | Invalid request parameters | - |
15584
| **400** | Bad Request | - |
15685

157-
<a id="createFunctionDecompilationTask"></a>
158-
# **createFunctionDecompilationTask**
159-
> BaseResponseStr createFunctionDecompilationTask(functionId)
160-
161-
Queues a function decompilation
162-
163-
### Example
164-
```java
165-
// Import classes:
166-
import ai.reveng.invoker.ApiClient;
167-
import ai.reveng.invoker.ApiException;
168-
import ai.reveng.invoker.Configuration;
169-
import ai.reveng.invoker.auth.*;
170-
import ai.reveng.invoker.models.*;
171-
import ai.reveng.api.FunctionsDecompilationApi;
172-
173-
public class Example {
174-
public static void main(String[] args) {
175-
ApiClient defaultClient = Configuration.getDefaultApiClient();
176-
defaultClient.setBasePath("https://api.reveng.ai");
177-
178-
// Configure API key authorization: APIKey
179-
ApiKeyAuth APIKey = (ApiKeyAuth) defaultClient.getAuthentication("APIKey");
180-
APIKey.setApiKey("YOUR API KEY");
181-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
182-
//APIKey.setApiKeyPrefix("Token");
183-
184-
FunctionsDecompilationApi apiInstance = new FunctionsDecompilationApi(defaultClient);
185-
Integer functionId = 56; // Integer |
186-
try {
187-
BaseResponseStr result = apiInstance.createFunctionDecompilationTask(functionId);
188-
System.out.println(result);
189-
} catch (ApiException e) {
190-
System.err.println("Exception when calling FunctionsDecompilationApi#createFunctionDecompilationTask");
191-
System.err.println("Status code: " + e.getCode());
192-
System.err.println("Reason: " + e.getResponseBody());
193-
System.err.println("Response headers: " + e.getResponseHeaders());
194-
e.printStackTrace();
195-
}
196-
}
197-
}
198-
```
199-
200-
### Parameters
201-
202-
| Name | Type | Description | Notes |
203-
|------------- | ------------- | ------------- | -------------|
204-
| **functionId** | **Integer**| | |
205-
206-
### Return type
207-
208-
[**BaseResponseStr**](BaseResponseStr.md)
209-
210-
### Authorization
211-
212-
[APIKey](../README.md#APIKey)
213-
214-
### HTTP request headers
215-
216-
- **Content-Type**: Not defined
217-
- **Accept**: application/json
218-
219-
### HTTP response details
220-
| Status code | Description | Response headers |
221-
|-------------|-------------|------------------|
222-
| **202** | Successful Response | - |
223-
| **422** | Invalid request parameters | - |
224-
| **409** | Security checks already extracted or queued | - |
225-
22686
<a id="deleteDecompilationComment"></a>
22787
# **deleteDecompilationComment**
22888
> BaseResponseBool deleteDecompilationComment(commentId, functionId)
@@ -367,75 +227,6 @@ public class Example {
367227
| **200** | Successful Response | - |
368228
| **422** | Invalid request parameters | - |
369229

370-
<a id="getFunctionDecompilation"></a>
371-
# **getFunctionDecompilation**
372-
> BaseResponseDecompilationResponse getFunctionDecompilation(functionId)
373-
374-
Get decompilation result
375-
376-
### Example
377-
```java
378-
// Import classes:
379-
import ai.reveng.invoker.ApiClient;
380-
import ai.reveng.invoker.ApiException;
381-
import ai.reveng.invoker.Configuration;
382-
import ai.reveng.invoker.auth.*;
383-
import ai.reveng.invoker.models.*;
384-
import ai.reveng.api.FunctionsDecompilationApi;
385-
386-
public class Example {
387-
public static void main(String[] args) {
388-
ApiClient defaultClient = Configuration.getDefaultApiClient();
389-
defaultClient.setBasePath("https://api.reveng.ai");
390-
391-
// Configure API key authorization: APIKey
392-
ApiKeyAuth APIKey = (ApiKeyAuth) defaultClient.getAuthentication("APIKey");
393-
APIKey.setApiKey("YOUR API KEY");
394-
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
395-
//APIKey.setApiKeyPrefix("Token");
396-
397-
FunctionsDecompilationApi apiInstance = new FunctionsDecompilationApi(defaultClient);
398-
Integer functionId = 56; // Integer |
399-
try {
400-
BaseResponseDecompilationResponse result = apiInstance.getFunctionDecompilation(functionId);
401-
System.out.println(result);
402-
} catch (ApiException e) {
403-
System.err.println("Exception when calling FunctionsDecompilationApi#getFunctionDecompilation");
404-
System.err.println("Status code: " + e.getCode());
405-
System.err.println("Reason: " + e.getResponseBody());
406-
System.err.println("Response headers: " + e.getResponseHeaders());
407-
e.printStackTrace();
408-
}
409-
}
410-
}
411-
```
412-
413-
### Parameters
414-
415-
| Name | Type | Description | Notes |
416-
|------------- | ------------- | ------------- | -------------|
417-
| **functionId** | **Integer**| | |
418-
419-
### Return type
420-
421-
[**BaseResponseDecompilationResponse**](BaseResponseDecompilationResponse.md)
422-
423-
### Authorization
424-
425-
[APIKey](../README.md#APIKey)
426-
427-
### HTTP request headers
428-
429-
- **Content-Type**: Not defined
430-
- **Accept**: application/json
431-
432-
### HTTP response details
433-
| Status code | Description | Response headers |
434-
|-------------|-------------|------------------|
435-
| **200** | Successful Response | - |
436-
| **422** | Invalid request parameters | - |
437-
| **404** | Unable to find a decompilation for the function_id given | - |
438-
439230
<a id="updateDecompilationComment"></a>
440231
# **updateDecompilationComment**
441232
> BaseResponseCommentResponse updateDecompilationComment(commentId, functionId, commentUpdateRequest)

docs/ModelName.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,17 @@
55
## Enum
66

77

8-
* `BINNET_0_5_X86_WINDOWS` (value: `"binnet-0.5-x86-windows"`)
8+
* `BINNET_0_7_X86_64_WINDOWS` (value: `"binnet-0.7-x86-64-windows"`)
99

10-
* `BINNET_0_5_X86_LINUX` (value: `"binnet-0.5-x86-linux"`)
10+
* `BINNET_0_7_X86_64_LINUX` (value: `"binnet-0.7-x86-64-linux"`)
1111

12-
* `BINNET_0_5_X86_MACOS` (value: `"binnet-0.5-x86-macos"`)
12+
* `BINNET_0_7_X86_32_WINDOWS` (value: `"binnet-0.7-x86-32-windows"`)
1313

14-
* `BINNET_0_5_X86_ANDROID` (value: `"binnet-0.5-x86-android"`)
14+
* `BINNET_0_7_X86_32_LINUX` (value: `"binnet-0.7-x86-32-linux"`)
1515

16-
* `BINNET_0_5_X86_32_WINDOWS` (value: `"binnet-0.5-x86-32-windows"`)
16+
* `BINNET_0_7_ARM_64_WINDOWS` (value: `"binnet-0.7-arm-64-windows"`)
1717

18-
* `BINNET_0_5_X86_32_LINUX` (value: `"binnet-0.5-x86-32-linux"`)
19-
20-
* `BINNET_0_5_ARM_64_WINDOWS` (value: `"binnet-0.5-arm-64-windows"`)
21-
22-
* `BINNET_0_5_ARM_64_LINUX` (value: `"binnet-0.5-arm-64-linux"`)
18+
* `BINNET_0_7_ARM_64_LINUX` (value: `"binnet-0.7-arm-64-linux"`)
2319

2420

2521

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>sdk</artifactId>
66
<packaging>jar</packaging>
77
<name>sdk</name>
8-
<version>2.16.0</version>
8+
<version>2.18.2</version>
99
<url>https://github.com/RevEngAI/sdk-java</url>
1010
<description>Java SDK for the RevEng.AI API</description>
1111
<scm>

0 commit comments

Comments
 (0)