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.64.0
v4.67.1
8 changes: 6 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>4.64.0</version>
<version>4.67.1</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -31,7 +31,7 @@ repositories {
}

dependencies {
implementation "ai.reveng:sdk:4.64.0"
implementation "ai.reveng:sdk:4.67.1"
}
```

Expand Down Expand Up @@ -597,6 +597,7 @@ Class | Method | HTTP request | Description
- [Display](docs/Display.md)
- [DnsQuery](docs/DnsQuery.md)
- [DrakvufFileMetadata](docs/DrakvufFileMetadata.md)
- [DynamicExecutionMetadata](docs/DynamicExecutionMetadata.md)
- [DynamicExecutionStatus](docs/DynamicExecutionStatus.md)
- [DynamicExecutionStatusResponse](docs/DynamicExecutionStatusResponse.md)
- [ELFImportModel](docs/ELFImportModel.md)
Expand Down Expand Up @@ -804,10 +805,12 @@ Class | Method | HTTP request | Description
- [NetworkingScanResult](docs/NetworkingScanResult.md)
- [NetworkingVerification](docs/NetworkingVerification.md)
- [OIDCCallbackInputBody](docs/OIDCCallbackInputBody.md)
- [OperandXref](docs/OperandXref.md)
- [OperationBinaryExportMetadataBinaryExportResult](docs/OperationBinaryExportMetadataBinaryExportResult.md)
- [OperationCreateMetadataCreateResult](docs/OperationCreateMetadataCreateResult.md)
- [OperationCryptoExplainMetadataCryptoExplainResult](docs/OperationCryptoExplainMetadataCryptoExplainResult.md)
- [OperationCryptoScanMetadataCryptoScanResult](docs/OperationCryptoScanMetadataCryptoScanResult.md)
- [OperationDynamicExecutionMetadataDynamicExecutionResult](docs/OperationDynamicExecutionMetadataDynamicExecutionResult.md)
- [OperationExecutionExplainMetadataExecutionExplainResult](docs/OperationExecutionExplainMetadataExecutionExplainResult.md)
- [OperationExecutionScanMetadataExecutionScanResult](docs/OperationExecutionScanMetadataExecutionScanResult.md)
- [OperationFilesystemAnalyseMetadataFilesystemAnalyseResult](docs/OperationFilesystemAnalyseMetadataFilesystemAnalyseResult.md)
Expand Down Expand Up @@ -889,6 +892,7 @@ Class | Method | HTTP request | Description
- [ResultBody](docs/ResultBody.md)
- [RevokeBody](docs/RevokeBody.md)
- [RuleKind](docs/RuleKind.md)
- [RunDynamicExecutionInputBody](docs/RunDynamicExecutionInputBody.md)
- [SSOProvider](docs/SSOProvider.md)
- [SSOProvidersOutputBody](docs/SSOProvidersOutputBody.md)
- [SandboxConfig](docs/SandboxConfig.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 = '4.64.0'
version = '4.67.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.64.0")
coordinates("ai.reveng", "sdk", "4.67.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.64.0",
version := "4.67.1",
scalaVersion := "2.11.12",
scalacOptions ++= Seq("-feature"),
compile / javacOptions ++= Seq("-Xlint:deprecation"),
Expand Down
1 change: 1 addition & 0 deletions docs/DisassemblyOutputBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
|**functionId** | **Long** | | |
|**globalVariables** | **Object** | | [optional] |
|**localVariables** | **Object** | | [optional] |
|**operandXrefs** | **List&lt;OperandXref&gt;** | Instruction operands that reference a pointer slot, sorted by instruction_vaddr, target_vaddr, pointed_vaddr. | [optional] |
|**params** | **Object** | | [optional] |
|**returnType** | **String** | | [optional] |
|**returns** | **Boolean** | | |
Expand Down
27 changes: 27 additions & 0 deletions docs/DynamicExecutionMetadata.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@


# DynamicExecutionMetadata


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**logs** | **AnalysisLogs** | Sandbox status log messages captured during the run. Empty when none have been captured yet. | |
|**status** | [**StatusEnum**](#StatusEnum) | Run status. UNINITIALISED means this analysis has never had a run triggered. | |



## Enum: StatusEnum

| Name | Value |
|---- | -----|
| UNINITIALISED | &quot;UNINITIALISED&quot; |
| PENDING | &quot;PENDING&quot; |
| RUNNING | &quot;RUNNING&quot; |
| COMPLETED | &quot;COMPLETED&quot; |
| FAILED | &quot;FAILED&quot; |
| UNKNOWN_DEFAULT_OPEN_API | &quot;unknown_default_open_api&quot; |



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


# OperandXref


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**instructionVaddr** | **Long** | Vaddr of the instruction containing the operand. | |
|**pointedVaddr** | **Long** | Address stored in the pointer slot. Resolve this to a function, import or global to name the reference. | |
|**targetVaddr** | **Long** | Vaddr of the pointer slot the operand references. | |



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


# OperationDynamicExecutionMetadataDynamicExecutionResult


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**done** | **Boolean** | Whether the operation has reached a terminal state. | |
|**error** | **Status** | Failure detail, populated only when done is true and the operation failed. | [optional] |
|**metadata** | **DynamicExecutionMetadata** | In-flight information and details. | [optional] |
|**name** | **String** | API resource name. | |
|**response** | **Object** | Result, set only when done is true and the operation succeeded. | [optional] |



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


# RunDynamicExecutionInputBody


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**archiveEntryPath** | **String** | Relative path of the entry inside the archive to execute | [optional] |
|**archivePassword** | **String** | Password for an encrypted archive | [optional] |
|**archiveSha256Hash** | **String** | SHA-256 of the archive object to send to the sandbox instead of the analysed binary | [optional] |
|**commandLineArgs** | **String** | Command-line arguments passed to the sample when the sandbox launches it | [optional] |
|**startMethod** | [**StartMethodEnum**](#StartMethodEnum) | How the sandbox launches the sample. Defaults to the sandbox&#39;s standard behaviour when omitted. | [optional] |
|**timeout** | [**TimeoutEnum**](#TimeoutEnum) | Maximum sandbox execution time in seconds | [optional] |



## Enum: StartMethodEnum

| Name | Value |
|---- | -----|
| STANDARD_USER_PROCESS | &quot;standard_user_process&quot; |
| ADMINISTRATOR_PROCESS | &quot;administrator_process&quot; |
| UNKNOWN_DEFAULT_OPEN_API | &quot;unknown_default_open_api&quot; |



## Enum: TimeoutEnum

| Name | Value |
|---- | -----|
| NUMBER_120 | 120l |
| NUMBER_180 | 180l |
| NUMBER_300 | 300l |
| NUMBER_600 | 600l |
| NUMBER_unknown_default_open_api | 11184809l |



2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>sdk</artifactId>
<packaging>jar</packaging>
<name>sdk</name>
<version>4.64.0</version>
<version>4.67.1</version>
<url>https://github.com/RevEngAI/sdk-java</url>
<description>Java SDK for the RevEng.AI API</description>
<scm>
Expand Down
9 changes: 9 additions & 0 deletions src/main/java/ai/reveng/api/AnalysesBulkActionsApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ public void setCustomBaseUrl(String customBaseUrl) {
<tr><td> 200 </td><td> Successful Response </td><td> - </td></tr>
<tr><td> 422 </td><td> Invalid request parameters </td><td> - </td></tr>
</table>
* @deprecated
*/
@Deprecated
public okhttp3.Call bulkAddAnalysisTagsCall(@javax.annotation.Nonnull AnalysisBulkAddTagsRequest analysisBulkAddTagsRequest, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
Expand Down Expand Up @@ -138,6 +140,7 @@ public okhttp3.Call bulkAddAnalysisTagsCall(@javax.annotation.Nonnull AnalysisBu
return localVarApiClient.buildCall(basePath, localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
}

@Deprecated
@SuppressWarnings("rawtypes")
private okhttp3.Call bulkAddAnalysisTagsValidateBeforeCall(@javax.annotation.Nonnull AnalysisBulkAddTagsRequest analysisBulkAddTagsRequest, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'analysisBulkAddTagsRequest' is set
Expand All @@ -162,7 +165,9 @@ private okhttp3.Call bulkAddAnalysisTagsValidateBeforeCall(@javax.annotation.Non
<tr><td> 200 </td><td> Successful Response </td><td> - </td></tr>
<tr><td> 422 </td><td> Invalid request parameters </td><td> - </td></tr>
</table>
* @deprecated
*/
@Deprecated
public BaseResponseAnalysisBulkAddTagsResponse bulkAddAnalysisTags(@javax.annotation.Nonnull AnalysisBulkAddTagsRequest analysisBulkAddTagsRequest) throws ApiException {
ApiResponse<BaseResponseAnalysisBulkAddTagsResponse> localVarResp = bulkAddAnalysisTagsWithHttpInfo(analysisBulkAddTagsRequest);
return localVarResp.getData();
Expand All @@ -181,7 +186,9 @@ public BaseResponseAnalysisBulkAddTagsResponse bulkAddAnalysisTags(@javax.annota
<tr><td> 200 </td><td> Successful Response </td><td> - </td></tr>
<tr><td> 422 </td><td> Invalid request parameters </td><td> - </td></tr>
</table>
* @deprecated
*/
@Deprecated
public ApiResponse<BaseResponseAnalysisBulkAddTagsResponse> bulkAddAnalysisTagsWithHttpInfo(@javax.annotation.Nonnull AnalysisBulkAddTagsRequest analysisBulkAddTagsRequest) throws ApiException {
okhttp3.Call localVarCall = bulkAddAnalysisTagsValidateBeforeCall(analysisBulkAddTagsRequest, null);
Type localVarReturnType = new TypeToken<BaseResponseAnalysisBulkAddTagsResponse>(){}.getType();
Expand All @@ -202,7 +209,9 @@ public ApiResponse<BaseResponseAnalysisBulkAddTagsResponse> bulkAddAnalysisTagsW
<tr><td> 200 </td><td> Successful Response </td><td> - </td></tr>
<tr><td> 422 </td><td> Invalid request parameters </td><td> - </td></tr>
</table>
* @deprecated
*/
@Deprecated
public okhttp3.Call bulkAddAnalysisTagsAsync(@javax.annotation.Nonnull AnalysisBulkAddTagsRequest analysisBulkAddTagsRequest, final ApiCallback<BaseResponseAnalysisBulkAddTagsResponse> _callback) throws ApiException {

okhttp3.Call localVarCall = bulkAddAnalysisTagsValidateBeforeCall(analysisBulkAddTagsRequest, _callback);
Expand Down
Loading
Loading