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.75.0
v4.77.1
72 changes: 38 additions & 34 deletions README.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ apply plugin: 'java'
apply plugin: 'com.diffplug.spotless'

group = 'ai.reveng'
version = '4.75.0'
version = '4.77.1'



Expand Down Expand Up @@ -174,7 +174,7 @@ mavenPublishing {
// key, and signing without one fails the build.
if (project.hasProperty("signingInMemoryKey")) signAllPublications()

coordinates("ai.reveng", "sdk", "4.75.0")
coordinates("ai.reveng", "sdk", "4.77.1")

pom {
name = "sdk"
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "ai.reveng",
name := "sdk",
version := "4.75.0",
version := "4.77.1",
scalaVersion := "2.11.12",
scalacOptions ++= Seq("-feature"),
compile / javacOptions ++= Seq("-Xlint:deprecation"),
Expand Down
26 changes: 13 additions & 13 deletions docs/AgentApi.md

Large diffs are not rendered by default.

655 changes: 378 additions & 277 deletions docs/AnalysesCoreApi.md

Large diffs are not rendered by default.

161 changes: 161 additions & 0 deletions docs/AnalysesResultsMetadataApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ All URIs are relative to *https://api.reveng.ai*
| [**getCapabilities**](AnalysesResultsMetadataApi.md#getCapabilities) | **GET** /v2/analyses/{analysis_id}/capabilities | Gets the capabilities from the analysis |
| [**getFunctionsList**](AnalysesResultsMetadataApi.md#getFunctionsList) | **GET** /v2/analyses/{analysis_id}/functions/list | Gets functions from analysis |
| [**getTags**](AnalysesResultsMetadataApi.md#getTags) | **GET** /v2/analyses/{analysis_id}/tags | Get function tags with maliciousness score |
| [**v3GetAnalysisFeedback**](AnalysesResultsMetadataApi.md#v3GetAnalysisFeedback) | **GET** /v3/analyses/{analysis_id}/feedback/{type} | Get the caller's feedback on an analysis. |
| [**v3GetAnalysisXref**](AnalysesResultsMetadataApi.md#v3GetAnalysisXref) | **GET** /v3/analyses/{analysis_id}/xrefs/{vaddr} | Look up xrefs by virtual address. |
| [**v3ListAnalysisCapabilities**](AnalysesResultsMetadataApi.md#v3ListAnalysisCapabilities) | **GET** /v3/analyses/{analysis_id}/capabilities | List the capabilities found in an analysis. |
| [**v3ListAnalysisTags**](AnalysesResultsMetadataApi.md#v3ListAnalysisTags) | **GET** /v3/analyses/{analysis_id}/tags | List the tags on an analysis. |
| [**v3UpsertAnalysisFeedback**](AnalysesResultsMetadataApi.md#v3UpsertAnalysisFeedback) | **PUT** /v3/analyses/{analysis_id}/feedback/{type} | Record feedback on an analysis. |


<a id="getAnalysisFunctionsPaginated"></a>
Expand Down Expand Up @@ -321,6 +323,85 @@ public class Example {
| **200** | Successful Response | - |
| **422** | Invalid request parameters | - |

<a id="v3GetAnalysisFeedback"></a>
# **v3GetAnalysisFeedback**
> RecordedFeedback v3GetAnalysisFeedback(analysisId, type)

Get the caller&#39;s feedback on an analysis.

Returns the feedback the caller recorded for one kind of result on this analysis, or null fields when they have not recorded any. **Error codes:** - &#x60;404&#x60; [&#x60;NOT_FOUND&#x60;](/errors/NOT_FOUND) β€” Not Found - &#x60;403&#x60; [&#x60;ACCESS_DENIED&#x60;](/errors/ACCESS_DENIED) β€” Access Denied

### Example
```java
// Import classes:
import ai.reveng.invoker.ApiClient;
import ai.reveng.invoker.ApiException;
import ai.reveng.invoker.Configuration;
import ai.reveng.invoker.auth.*;
import ai.reveng.invoker.models.*;
import ai.reveng.api.AnalysesResultsMetadataApi;

public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.reveng.ai");

// Configure API key authorization: APIKey
ApiKeyAuth APIKey = (ApiKeyAuth) defaultClient.getAuthentication("APIKey");
APIKey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//APIKey.setApiKeyPrefix("Token");

// Configure HTTP bearer authorization: bearerAuth
HttpBearerAuth bearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("bearerAuth");
bearerAuth.setBearerToken("BEARER TOKEN");

AnalysesResultsMetadataApi apiInstance = new AnalysesResultsMetadataApi(defaultClient);
Long analysisId = 56L; // Long | Analysis ID
String type = "function-matching"; // String | What the feedback is about
try {
RecordedFeedback result = apiInstance.v3GetAnalysisFeedback(analysisId, type);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AnalysesResultsMetadataApi#v3GetAnalysisFeedback");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
```

### Parameters

| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **analysisId** | **Long**| Analysis ID | |
| **type** | **String**| What the feedback is about | [enum: function-matching] |

### Return type

[**RecordedFeedback**](RecordedFeedback.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 | - |

<a id="v3GetAnalysisXref"></a>
# **v3GetAnalysisXref**
> AnalysisXrefOutputBody v3GetAnalysisXref(analysisId, vaddr)
Expand Down Expand Up @@ -554,3 +635,83 @@ public class Example {
| **422** | Unprocessable Entity | - |
| **500** | Internal Server Error | - |

<a id="v3UpsertAnalysisFeedback"></a>
# **v3UpsertAnalysisFeedback**
> v3UpsertAnalysisFeedback(analysisId, type, feedbackSubmission)

Record feedback on an analysis.

Records how useful the caller found one kind of result for this analysis, with any context the client captured. Replaces any feedback they recorded previously. **Error codes:** - &#x60;404&#x60; [&#x60;NOT_FOUND&#x60;](/errors/NOT_FOUND) β€” Not Found - &#x60;403&#x60; [&#x60;ACCESS_DENIED&#x60;](/errors/ACCESS_DENIED) β€” Access Denied

### Example
```java
// Import classes:
import ai.reveng.invoker.ApiClient;
import ai.reveng.invoker.ApiException;
import ai.reveng.invoker.Configuration;
import ai.reveng.invoker.auth.*;
import ai.reveng.invoker.models.*;
import ai.reveng.api.AnalysesResultsMetadataApi;

public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.reveng.ai");

// Configure API key authorization: APIKey
ApiKeyAuth APIKey = (ApiKeyAuth) defaultClient.getAuthentication("APIKey");
APIKey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//APIKey.setApiKeyPrefix("Token");

// Configure HTTP bearer authorization: bearerAuth
HttpBearerAuth bearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("bearerAuth");
bearerAuth.setBearerToken("BEARER TOKEN");

AnalysesResultsMetadataApi apiInstance = new AnalysesResultsMetadataApi(defaultClient);
Long analysisId = 56L; // Long | Analysis ID
String type = "function-matching"; // String | What the feedback is about
FeedbackSubmission feedbackSubmission = new FeedbackSubmission(); // FeedbackSubmission |
try {
apiInstance.v3UpsertAnalysisFeedback(analysisId, type, feedbackSubmission);
} catch (ApiException e) {
System.err.println("Exception when calling AnalysesResultsMetadataApi#v3UpsertAnalysisFeedback");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
```

### Parameters

| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **analysisId** | **Long**| Analysis ID | |
| **type** | **String**| What the feedback is about | [enum: function-matching] |
| **feedbackSubmission** | [**FeedbackSubmission**](FeedbackSubmission.md)| | |

### Return type

null (empty response body)

### Authorization

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

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **204** | No Content | - |
| **403** | Forbidden | - |
| **404** | Not Found | - |
| **422** | Unprocessable Entity | - |
| **500** | Internal Server Error | - |

2 changes: 1 addition & 1 deletion docs/AnalysisBasicInfoOutputBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
|**detectedBinaryType** | **String** | Detected operating-system platform; empty when unavailable | |
|**detectedLanguage** | **String** | Detected source language; empty when unavailable | |
|**functionCount** | **Long** | Number of functions in the binary | |
|**isAdvanced** | **Boolean** | True when the analysis was run in advanced mode | |
|**isAdvanced** | **Boolean** | Always false; advanced (DFG) analysis has been removed | |
|**isOwner** | **Boolean** | True when the caller is the analysis owner | |
|**isSystem** | **Boolean** | True when the analysis is owned by a system user | |
|**modelId** | **Long** | Model ID | |
Expand Down
1 change: 0 additions & 1 deletion docs/AnalysisConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
|**scrapeThirdPartyConfig** | **ScrapeThirdPartyConfig** | Settings to scrape third party sources | [optional] |
|**generateCapabilities** | **Boolean** | A configuration option for generating capabilities of a binary | [optional] |
|**noCache** | **Boolean** | When enabled, skips using cached data within the processing. | [optional] |
|**advancedAnalysis** | **Boolean** | Enables an advanced security analysis. | [optional] |
|**sandboxConfig** | [**SandboxOptions**](SandboxOptions.md) | Including a sandbox config enables the dynamic execution sandbox | [optional] |


Expand Down
2 changes: 1 addition & 1 deletion docs/AnalysisFunctions.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**functions** | [**List&lt;AppApiRestV2FunctionsTypesFunction&gt;**](AppApiRestV2FunctionsTypesFunction.md) | The functions associated with the analysis | |
|**functions** | [**List&lt;Function&gt;**](Function.md) | The functions associated with the analysis | |



2 changes: 1 addition & 1 deletion docs/AnalysisOperationsOutputBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**operations** | **List&lt;AnalysisOperationBody&gt;** | The analysis&#39; static-analysis operation, followed by the latest run of each other operation started on its binary. Operations that have never run are omitted | |
|**operations** | **List&lt;AnalysisOperationBody&gt;** | The analysis&#39; static-analysis operation, followed by the latest run of each other operation started on its binary, then one dynamic-execution operation per sandbox run of the analysis, newest first. Operations that have never run are omitted | |



16 changes: 0 additions & 16 deletions docs/AnalysisStringInput.md

This file was deleted.

14 changes: 0 additions & 14 deletions docs/AnalysisStringsResponse.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/AnalysisStringsStatusResponse.md

This file was deleted.

15 changes: 0 additions & 15 deletions docs/AppApiRestV2FunctionsResponsesFunction.md

This file was deleted.

17 changes: 0 additions & 17 deletions docs/BaseResponseAnalysisStringsResponse.md

This file was deleted.

17 changes: 0 additions & 17 deletions docs/BaseResponseAnalysisStringsStatusResponse.md

This file was deleted.

17 changes: 0 additions & 17 deletions docs/BaseResponseFunctionStringsResponse.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/Basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
|**isOwner** | **Boolean** | Whether the current user is the owner | |
|**debug** | **Boolean** | Whether the current analysis was analysed with debug symbols | |
|**functionCount** | **Integer** | The number of functions in the binary | |
|**isAdvanced** | **Boolean** | Whether the analysis was advanced | |
|**isAdvanced** | **Boolean** | Always false; advanced (DFG) analysis has been removed | [optional] |
|**baseAddress** | **Integer** | The base address of the binary | |
|**binaryUuid** | **String** | The UUID of the binary | [optional] |
|**sequencerVersion** | **String** | The sequencer version used for analysis | [optional] |
Expand Down
1 change: 1 addition & 0 deletions docs/BatchFunctionSignatureEntry.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
| SYSTEM | &quot;SYSTEM&quot; |
| USER | &quot;USER&quot; |
| AUTO_UNSTRIP | &quot;AUTO_UNSTRIP&quot; |
| AI_AGENT | &quot;AI_AGENT&quot; |
| UNKNOWN_DEFAULT_OPEN_API | &quot;unknown_default_open_api&quot; |


Expand Down
Loading
Loading