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.107.0
v3.110.0
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>ai.reveng</groupId>
<artifactId>sdk</artifactId>
<version>3.107.0</version>
<version>3.110.0</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -31,7 +31,7 @@ repositories {
}

dependencies {
implementation "ai.reveng:sdk:3.107.0"
implementation "ai.reveng:sdk:3.110.0"
}
```

Expand Down Expand Up @@ -204,7 +204,9 @@ Class | Method | HTTP request | Description
*FunctionsCoreApi* | [**getFunctionsCalleesCallers**](docs/FunctionsCoreApi.md#getFunctionsCalleesCallers) | **GET** /v3/functions/callees-callers | Get callees and callers for many functions
*FunctionsCoreApi* | [**getFunctionsMatches**](docs/FunctionsCoreApi.md#getFunctionsMatches) | **GET** /v3/functions/matches | Get function-matching results for an explicit set of functions
*FunctionsCoreApi* | [**getFunctionsMatchingStatus**](docs/FunctionsCoreApi.md#getFunctionsMatchingStatus) | **GET** /v3/functions/matches/status | Get function-matching status for an explicit set of functions
*FunctionsCoreApi* | [**getImportedFunction**](docs/FunctionsCoreApi.md#getImportedFunction) | **GET** /v3/analyses/{analysis_id}/imported-functions/{imported_function_id} | Get an imported function with its callers
*FunctionsCoreApi* | [**listAnalysisFunctions**](docs/FunctionsCoreApi.md#listAnalysisFunctions) | **GET** /v3/analyses/{analysis_id}/functions | List functions in an analysis
*FunctionsCoreApi* | [**listImportedFunctions**](docs/FunctionsCoreApi.md#listImportedFunctions) | **GET** /v3/analyses/{analysis_id}/imported-functions | List imported functions in an analysis
*FunctionsCoreApi* | [**startFunctionsMatching**](docs/FunctionsCoreApi.md#startFunctionsMatching) | **POST** /v3/functions/matches | Start function matching for an explicit set of functions
*FunctionsDataTypesApi* | [**batchUpdateFunctionDataTypes**](docs/FunctionsDataTypesApi.md#batchUpdateFunctionDataTypes) | **PUT** /v3/analyses/{analysis_id}/functions/data-types | Batch update function data types
*FunctionsDataTypesApi* | [**generateFunctionDataTypesForAnalysis**](docs/FunctionsDataTypesApi.md#generateFunctionDataTypesForAnalysis) | **POST** /v2/analyses/{analysis_id}/functions/data_types | Generate Function Data Types
Expand Down Expand Up @@ -286,6 +288,7 @@ Class | Method | HTTP request | Description
- [AppApiRestV2FunctionsResponsesFunction](docs/AppApiRestV2FunctionsResponsesFunction.md)
- [AppApiRestV2FunctionsTypesFunction](docs/AppApiRestV2FunctionsTypesFunction.md)
- [AppApiRestV2InfoTypesCapability](docs/AppApiRestV2InfoTypesCapability.md)
- [ArchiveContentEntry](docs/ArchiveContentEntry.md)
- [Argument](docs/Argument.md)
- [Artifact](docs/Artifact.md)
- [AttemptFailedEvent](docs/AttemptFailedEvent.md)
Expand Down Expand Up @@ -549,18 +552,23 @@ Class | Method | HTTP request | Description
- [ISA](docs/ISA.md)
- [IconModel](docs/IconModel.md)
- [ImportModel](docs/ImportModel.md)
- [ImportedFunctionCallerEntry](docs/ImportedFunctionCallerEntry.md)
- [ImportedFunctionDetailOutputBody](docs/ImportedFunctionDetailOutputBody.md)
- [ImportedFunctionEntry](docs/ImportedFunctionEntry.md)
- [InlineComment](docs/InlineComment.md)
- [InsertAnalysisLogRequest](docs/InsertAnalysisLogRequest.md)
- [InviteUserInputBody](docs/InviteUserInputBody.md)
- [IssuerAllowedDomain](docs/IssuerAllowedDomain.md)
- [ListAnalysisFunctionsDataTypesOutputBody](docs/ListAnalysisFunctionsDataTypesOutputBody.md)
- [ListAnalysisFunctionsOutputBody](docs/ListAnalysisFunctionsOutputBody.md)
- [ListAnalysisStringsOutputBody](docs/ListAnalysisStringsOutputBody.md)
- [ListArchiveContentsOutputBody](docs/ListArchiveContentsOutputBody.md)
- [ListCollectionResults](docs/ListCollectionResults.md)
- [ListCollectionsOutputBody](docs/ListCollectionsOutputBody.md)
- [ListExampleAnalysesOutputBody](docs/ListExampleAnalysesOutputBody.md)
- [ListFunctionStringsOutputBody](docs/ListFunctionStringsOutputBody.md)
- [ListFunctionsDataTypesOutputBody](docs/ListFunctionsDataTypesOutputBody.md)
- [ListImportedFunctionsOutputBody](docs/ListImportedFunctionsOutputBody.md)
- [ListTeamsOutputBody](docs/ListTeamsOutputBody.md)
- [ListUsersOutputBody](docs/ListUsersOutputBody.md)
- [LocationOutputBody](docs/LocationOutputBody.md)
Expand Down
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 = '3.107.0'
version = '3.110.0'



Expand Down Expand Up @@ -171,7 +171,7 @@ mavenPublishing {
publishToMavenCentral(true)
signAllPublications()

coordinates("ai.reveng", "sdk", "3.107.0")
coordinates("ai.reveng", "sdk", "3.110.0")

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 := "3.107.0",
version := "3.110.0",
scalaVersion := "2.11.12",
scalacOptions ++= Seq("-feature"),
compile / javacOptions ++= Seq("-Xlint:deprecation"),
Expand Down
18 changes: 12 additions & 6 deletions docs/AnalysesCoreApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -571,11 +571,11 @@ public class Example {

<a id="getAnalysisFunctionMatches"></a>
# **getAnalysisFunctionMatches**
> GetMatchesOutputBody getAnalysisFunctionMatches(analysisId)
> GetMatchesOutputBody getAnalysisFunctionMatches(analysisId, matchId)

Get function-matching results for an analysis

Returns the matches blob when the matching workflow has completed. While the workflow is in progress this endpoint returns the current status with no matches; use /matches/status to poll progress. **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
Returns the matches blob when the matching workflow has completed. While the workflow is in progress this endpoint returns the current status with no matches; use /matches/status to poll progress. **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 - &#x60;400&#x60; [&#x60;BAD_REQUEST&#x60;](/errors/BAD_REQUEST) β€” Bad Request

### Example
```java
Expand Down Expand Up @@ -604,8 +604,9 @@ public class Example {

AnalysesCoreApi apiInstance = new AnalysesCoreApi(defaultClient);
Long analysisId = 56L; // Long | Analysis ID
String matchId = "matchId_example"; // String | Opaque token from a start-matching response. When supplied, returns that specific run instead of the latest.
try {
GetMatchesOutputBody result = apiInstance.getAnalysisFunctionMatches(analysisId);
GetMatchesOutputBody result = apiInstance.getAnalysisFunctionMatches(analysisId, matchId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AnalysesCoreApi#getAnalysisFunctionMatches");
Expand All @@ -623,6 +624,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **analysisId** | **Long**| Analysis ID | |
| **matchId** | **String**| Opaque token from a start-matching response. When supplied, returns that specific run instead of the latest. | [optional] |

### Return type

Expand All @@ -641,18 +643,19 @@ public class Example {
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | OK | - |
| **400** | Bad Request | - |
| **403** | Forbidden | - |
| **404** | Not Found | - |
| **422** | Unprocessable Entity | - |
| **500** | Internal Server Error | - |

<a id="getAnalysisFunctionMatchingStatus"></a>
# **getAnalysisFunctionMatchingStatus**
> GetMatchesStatusOutputBody getAnalysisFunctionMatchingStatus(analysisId)
> GetMatchesStatusOutputBody getAnalysisFunctionMatchingStatus(analysisId, matchId)

Get function-matching status for an analysis

Returns the matching workflow&#39;s current status. Does not include the matches blob β€” use GET /matches for that. **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
Returns the matching workflow&#39;s current status. Does not include the matches blob β€” use GET /matches for that. **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 - &#x60;400&#x60; [&#x60;BAD_REQUEST&#x60;](/errors/BAD_REQUEST) β€” Bad Request

### Example
```java
Expand Down Expand Up @@ -681,8 +684,9 @@ public class Example {

AnalysesCoreApi apiInstance = new AnalysesCoreApi(defaultClient);
Long analysisId = 56L; // Long | Analysis ID
String matchId = "matchId_example"; // String | Opaque token from a start-matching response. When supplied, returns that specific run instead of the latest.
try {
GetMatchesStatusOutputBody result = apiInstance.getAnalysisFunctionMatchingStatus(analysisId);
GetMatchesStatusOutputBody result = apiInstance.getAnalysisFunctionMatchingStatus(analysisId, matchId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AnalysesCoreApi#getAnalysisFunctionMatchingStatus");
Expand All @@ -700,6 +704,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **analysisId** | **Long**| Analysis ID | |
| **matchId** | **String**| Opaque token from a start-matching response. When supplied, returns that specific run instead of the latest. | [optional] |

### Return type

Expand All @@ -718,6 +723,7 @@ public class Example {
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | OK | - |
| **400** | Bad Request | - |
| **403** | Forbidden | - |
| **404** | Not Found | - |
| **422** | Unprocessable Entity | - |
Expand Down
15 changes: 15 additions & 0 deletions docs/ArchiveContentEntry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@


# ArchiveContentEntry


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**encrypted** | **Boolean** | Whether this entry is password-protected | |
|**path** | **String** | Path relative to the archive root | |
|**size** | **Long** | Uncompressed size in bytes | |



1 change: 1 addition & 0 deletions docs/BatchBinaryMatchResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
|------------ | ------------- | ------------- | -------------|
|**binaryId** | **Long** | Target binary | |
|**errorMessage** | **String** | Error description when status&#x3D;FAILED. | [optional] |
|**matchId** | **String** | Opaque token for this binary&#39;s matching run. Present on dispatch and when statuses were fetched by token. | [optional] |
|**matchedFunctionCount** | **Long** | Number of source functions that received at least one candidate match. Only meaningful when status&#x3D;COMPLETED. | |
|**status** | [**StatusEnum**](#StatusEnum) | Per-binary workflow status | |

Expand Down
Loading