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 @@
v2.8.0
v2.9.0
4 changes: 2 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>2.8.0</version>
<version>2.9.0</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -31,7 +31,7 @@ repositories {
}

dependencies {
implementation "ai.reveng:sdk:2.8.0"
implementation "ai.reveng:sdk:2.9.0"
}
```

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 = '2.8.0'
version = '2.9.0'



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

coordinates("ai.reveng", "sdk", "2.8.0")
coordinates("ai.reveng", "sdk", "2.9.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 := "2.8.0",
version := "2.9.0",
scalaVersion := "2.11.12",
scalacOptions ++= Seq("-feature"),
compile / javacOptions ++= Seq("-Xlint:deprecation"),
Expand Down
2 changes: 1 addition & 1 deletion docs/AppApiRestV2FunctionsTypesFunction.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**functionId** | **Integer** | Function id | |
|**functionId** | **Long** | Function id | |
|**functionName** | **String** | Demangled name of the function | |
|**functionMangledName** | **String** | Mangled name of the function | |
|**functionVaddr** | **Long** | Function virtual address | |
Expand Down
2 changes: 1 addition & 1 deletion docs/CalleeFunctionInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**functionId** | **Integer** | | |
|**functionId** | **Long** | Unique identifier of the function | |
|**matchedFunctionId** | **Integer** | | |
|**dashboardUrl** | **String** | | |
|**isExternal** | **Boolean** | Indicates if the function is external | [optional] |
Expand Down
2 changes: 1 addition & 1 deletion docs/CallerFunctionInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**functionId** | **Integer** | | |
|**functionId** | **Long** | Unique identifier of the function | |
|**matchedFunctionId** | **Integer** | | |
|**dashboardUrl** | **String** | | |
|**isExternal** | **Boolean** | Indicates if the function is external | [optional] |
Expand Down
2 changes: 1 addition & 1 deletion docs/DecompilationResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**functionId** | **Integer** | | |
|**functionId** | **Long** | The ID of the function | |
|**decompilation** | **String** | | |
|**callingConvention** | **String** | | |

Expand Down
2 changes: 1 addition & 1 deletion docs/FunctionDataTypesListItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
|**status** | **String** | The current status of the data types service | |
|**dataTypes** | [**FunctionInfoOutput**](FunctionInfoOutput.md) | | [optional] |
|**dataTypesVersion** | **Integer** | | [optional] |
|**functionId** | **Integer** | Function id | |
|**functionId** | **Long** | Function id | |



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

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**functionId** | **Integer** | Function id | |
|**functionId** | **Long** | Function id | |
|**completed** | **Boolean** | Whether the service has completed data types generation | |
|**status** | **String** | The current status of the data types service | |

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

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**functionId** | **Integer** | | |
|**functionId** | **Long** | Unique identifier of the function | |
|**matchedFunctions** | [**List&lt;MatchedFunction&gt;**](MatchedFunction.md) | | |
|**confidences** | [**List&lt;NameConfidence&gt;**](NameConfidence.md) | | [optional] |

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

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**functionId** | **Integer** | The function ID | |
|**functionId** | **Long** | The function ID | |
|**functionName** | **String** | The name of the function | |
|**binaryName** | **String** | The name of the binary the function belongs to | |
|**createdAt** | **OffsetDateTime** | The creation date of the function | |
Expand Down
2 changes: 1 addition & 1 deletion docs/FunctionsDetailResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**functionId** | **Integer** | | |
|**functionId** | **Long** | Function id | |
|**functionName** | **String** | | |
|**functionVaddr** | **Long** | | |
|**functionSize** | **Integer** | | |
Expand Down
2 changes: 1 addition & 1 deletion docs/MatchedFunction.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**functionId** | **Integer** | | |
|**functionId** | **Long** | Unique identifier of the matched function | |
|**binaryId** | **Integer** | | |
|**functionName** | **String** | | |
|**functionVaddr** | **Long** | | |
Expand Down
2 changes: 1 addition & 1 deletion docs/MatchedFunctionSuggestion.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**functionId** | **Integer** | Unique identifier of the matched function | |
|**functionId** | **Long** | Unique identifier of the matched function | |
|**functionVaddr** | **Long** | Virtual address of the matched function | |
|**suggestedName** | **String** | | [optional] |
|**suggestedDemangledName** | **String** | De-mangled name of the function group that contains the matched functions | |
Expand Down
2 changes: 1 addition & 1 deletion docs/SecurityChecksResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**functionId** | **Integer** | | |
|**functionId** | **Long** | | |
|**functionName** | **String** | | |
|**name** | **String** | | |
|**vulnClass** | **VulnerabilityType** | | |
Expand Down
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>2.8.0</version>
<version>2.9.0</version>
<url>https://github.com/RevEngAI/sdk-java</url>
<description>Java SDK for the RevEng.AI API</description>
<scm>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ai/reveng/invoker/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ protected void init() {
json = new JSON();

// Set default User-Agent.
setUserAgent("OpenAPI-Generator/2.8.0/java");
setUserAgent("OpenAPI-Generator/2.9.0/java");

authentications = new HashMap<String, Authentication>();
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ai/reveng/invoker/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class Configuration {
public static final String VERSION = "2.8.0";
public static final String VERSION = "2.9.0";

private static final AtomicReference<ApiClient> defaultApiClient = new AtomicReference<>();
private static volatile Supplier<ApiClient> apiClientFactory = ApiClient::new;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public class AppApiRestV2FunctionsTypesFunction {
public static final String SERIALIZED_NAME_FUNCTION_ID = "function_id";
@SerializedName(SERIALIZED_NAME_FUNCTION_ID)
@javax.annotation.Nonnull
private Integer functionId;
private Long functionId;

public static final String SERIALIZED_NAME_FUNCTION_NAME = "function_name";
@SerializedName(SERIALIZED_NAME_FUNCTION_NAME)
Expand Down Expand Up @@ -97,7 +97,7 @@ public class AppApiRestV2FunctionsTypesFunction {
public AppApiRestV2FunctionsTypesFunction() {
}

public AppApiRestV2FunctionsTypesFunction functionId(@javax.annotation.Nonnull Integer functionId) {
public AppApiRestV2FunctionsTypesFunction functionId(@javax.annotation.Nonnull Long functionId) {
this.functionId = functionId;
return this;
}
Expand All @@ -107,11 +107,11 @@ public AppApiRestV2FunctionsTypesFunction functionId(@javax.annotation.Nonnull I
* @return functionId
*/
@javax.annotation.Nonnull
public Integer getFunctionId() {
public Long getFunctionId() {
return functionId;
}

public void setFunctionId(@javax.annotation.Nonnull Integer functionId) {
public void setFunctionId(@javax.annotation.Nonnull Long functionId) {
this.functionId = functionId;
}

Expand Down
10 changes: 5 additions & 5 deletions src/main/java/ai/reveng/model/CalleeFunctionInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public class CalleeFunctionInfo {
public static final String SERIALIZED_NAME_FUNCTION_ID = "function_id";
@SerializedName(SERIALIZED_NAME_FUNCTION_ID)
@javax.annotation.Nonnull
private Integer functionId;
private Long functionId;

public static final String SERIALIZED_NAME_MATCHED_FUNCTION_ID = "matched_function_id";
@SerializedName(SERIALIZED_NAME_MATCHED_FUNCTION_ID)
Expand Down Expand Up @@ -84,21 +84,21 @@ public class CalleeFunctionInfo {
public CalleeFunctionInfo() {
}

public CalleeFunctionInfo functionId(@javax.annotation.Nonnull Integer functionId) {
public CalleeFunctionInfo functionId(@javax.annotation.Nonnull Long functionId) {
this.functionId = functionId;
return this;
}

/**
* Get functionId
* Unique identifier of the function
* @return functionId
*/
@javax.annotation.Nonnull
public Integer getFunctionId() {
public Long getFunctionId() {
return functionId;
}

public void setFunctionId(@javax.annotation.Nonnull Integer functionId) {
public void setFunctionId(@javax.annotation.Nonnull Long functionId) {
this.functionId = functionId;
}

Expand Down
10 changes: 5 additions & 5 deletions src/main/java/ai/reveng/model/CallerFunctionInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public class CallerFunctionInfo {
public static final String SERIALIZED_NAME_FUNCTION_ID = "function_id";
@SerializedName(SERIALIZED_NAME_FUNCTION_ID)
@javax.annotation.Nonnull
private Integer functionId;
private Long functionId;

public static final String SERIALIZED_NAME_MATCHED_FUNCTION_ID = "matched_function_id";
@SerializedName(SERIALIZED_NAME_MATCHED_FUNCTION_ID)
Expand Down Expand Up @@ -84,21 +84,21 @@ public class CallerFunctionInfo {
public CallerFunctionInfo() {
}

public CallerFunctionInfo functionId(@javax.annotation.Nonnull Integer functionId) {
public CallerFunctionInfo functionId(@javax.annotation.Nonnull Long functionId) {
this.functionId = functionId;
return this;
}

/**
* Get functionId
* Unique identifier of the function
* @return functionId
*/
@javax.annotation.Nonnull
public Integer getFunctionId() {
public Long getFunctionId() {
return functionId;
}

public void setFunctionId(@javax.annotation.Nonnull Integer functionId) {
public void setFunctionId(@javax.annotation.Nonnull Long functionId) {
this.functionId = functionId;
}

Expand Down
10 changes: 5 additions & 5 deletions src/main/java/ai/reveng/model/DecompilationResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public class DecompilationResponse {
public static final String SERIALIZED_NAME_FUNCTION_ID = "function_id";
@SerializedName(SERIALIZED_NAME_FUNCTION_ID)
@javax.annotation.Nonnull
private Integer functionId;
private Long functionId;

public static final String SERIALIZED_NAME_DECOMPILATION = "decompilation";
@SerializedName(SERIALIZED_NAME_DECOMPILATION)
Expand All @@ -69,21 +69,21 @@ public class DecompilationResponse {
public DecompilationResponse() {
}

public DecompilationResponse functionId(@javax.annotation.Nonnull Integer functionId) {
public DecompilationResponse functionId(@javax.annotation.Nonnull Long functionId) {
this.functionId = functionId;
return this;
}

/**
* Get functionId
* The ID of the function
* @return functionId
*/
@javax.annotation.Nonnull
public Integer getFunctionId() {
public Long getFunctionId() {
return functionId;
}

public void setFunctionId(@javax.annotation.Nonnull Integer functionId) {
public void setFunctionId(@javax.annotation.Nonnull Long functionId) {
this.functionId = functionId;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public class FunctionDataTypesListItem {
public static final String SERIALIZED_NAME_FUNCTION_ID = "function_id";
@SerializedName(SERIALIZED_NAME_FUNCTION_ID)
@javax.annotation.Nonnull
private Integer functionId;
private Long functionId;

public FunctionDataTypesListItem() {
}
Expand Down Expand Up @@ -157,7 +157,7 @@ public void setDataTypesVersion(@javax.annotation.Nullable Integer dataTypesVers
}


public FunctionDataTypesListItem functionId(@javax.annotation.Nonnull Integer functionId) {
public FunctionDataTypesListItem functionId(@javax.annotation.Nonnull Long functionId) {
this.functionId = functionId;
return this;
}
Expand All @@ -167,11 +167,11 @@ public FunctionDataTypesListItem functionId(@javax.annotation.Nonnull Integer fu
* @return functionId
*/
@javax.annotation.Nonnull
public Integer getFunctionId() {
public Long getFunctionId() {
return functionId;
}

public void setFunctionId(@javax.annotation.Nonnull Integer functionId) {
public void setFunctionId(@javax.annotation.Nonnull Long functionId) {
this.functionId = functionId;
}

Expand Down
8 changes: 4 additions & 4 deletions src/main/java/ai/reveng/model/FunctionDataTypesStatus.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public class FunctionDataTypesStatus {
public static final String SERIALIZED_NAME_FUNCTION_ID = "function_id";
@SerializedName(SERIALIZED_NAME_FUNCTION_ID)
@javax.annotation.Nonnull
private Integer functionId;
private Long functionId;

public static final String SERIALIZED_NAME_COMPLETED = "completed";
@SerializedName(SERIALIZED_NAME_COMPLETED)
Expand All @@ -69,7 +69,7 @@ public class FunctionDataTypesStatus {
public FunctionDataTypesStatus() {
}

public FunctionDataTypesStatus functionId(@javax.annotation.Nonnull Integer functionId) {
public FunctionDataTypesStatus functionId(@javax.annotation.Nonnull Long functionId) {
this.functionId = functionId;
return this;
}
Expand All @@ -79,11 +79,11 @@ public FunctionDataTypesStatus functionId(@javax.annotation.Nonnull Integer func
* @return functionId
*/
@javax.annotation.Nonnull
public Integer getFunctionId() {
public Long getFunctionId() {
return functionId;
}

public void setFunctionId(@javax.annotation.Nonnull Integer functionId) {
public void setFunctionId(@javax.annotation.Nonnull Long functionId) {
this.functionId = functionId;
}

Expand Down
Loading