Package ai.reveng.api

Class StringsApi

java.lang.Object
ai.reveng.api.StringsApi

public class StringsApi extends Object
  • Constructor Details

    • StringsApi

      public StringsApi()
    • StringsApi

      public StringsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getHostIndex

      public int getHostIndex()
    • setHostIndex

      public void setHostIndex(int hostIndex)
    • getCustomBaseUrl

      public String getCustomBaseUrl()
    • setCustomBaseUrl

      public void setCustomBaseUrl(String customBaseUrl)
    • addUserStringToAnalysisCall

      public okhttp3.Call addUserStringToAnalysisCall(@Nonnull Long analysisId, @Nonnull AddUserStringInputBody addUserStringInputBody, ApiCallback _callback) throws ApiException
      Build call for addUserStringToAnalysis
      Parameters:
      analysisId - Analysis ID (required)
      addUserStringInputBody - (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 Created -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • addUserStringToAnalysis

      public Map<String,Object> addUserStringToAnalysis(@Nonnull Long analysisId, @Nonnull AddUserStringInputBody addUserStringInputBody) throws ApiException
      Add a user-provided string to an analysis. Attaches a user-provided string to an analysis at the given virtual address. The string is stored with source `USER` and complements strings discovered automatically during analysis. **Error codes:** - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied
      Parameters:
      analysisId - Analysis ID (required)
      addUserStringInputBody - (required)
      Returns:
      Map<String, Object>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 Created -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • addUserStringToAnalysisWithHttpInfo

      public ApiResponse<Map<String,Object>> addUserStringToAnalysisWithHttpInfo(@Nonnull Long analysisId, @Nonnull AddUserStringInputBody addUserStringInputBody) throws ApiException
      Add a user-provided string to an analysis. Attaches a user-provided string to an analysis at the given virtual address. The string is stored with source `USER` and complements strings discovered automatically during analysis. **Error codes:** - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied
      Parameters:
      analysisId - Analysis ID (required)
      addUserStringInputBody - (required)
      Returns:
      ApiResponse<Map<String, Object>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 Created -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • addUserStringToAnalysisAsync

      public okhttp3.Call addUserStringToAnalysisAsync(@Nonnull Long analysisId, @Nonnull AddUserStringInputBody addUserStringInputBody, ApiCallback<Map<String,Object>> _callback) throws ApiException
      Add a user-provided string to an analysis. (asynchronously) Attaches a user-provided string to an analysis at the given virtual address. The string is stored with source `USER` and complements strings discovered automatically during analysis. **Error codes:** - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied
      Parameters:
      analysisId - Analysis ID (required)
      addUserStringInputBody - (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 Created -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • addUserStringToFunctionCall

      public okhttp3.Call addUserStringToFunctionCall(@Nonnull Long functionId, @Nonnull AddUserStringToFunctionInputBody addUserStringToFunctionInputBody, ApiCallback _callback) throws ApiException
      Build call for addUserStringToFunction
      Parameters:
      functionId - Function ID (required)
      addUserStringToFunctionInputBody - (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 Created -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • addUserStringToFunction

      public Map<String,Object> addUserStringToFunction(@Nonnull Long functionId, @Nonnull AddUserStringToFunctionInputBody addUserStringToFunctionInputBody) throws ApiException
      Add a user-provided string to a function. Attaches a user-provided string to a function at the given virtual address. The string is stored with source `USER` and complements strings discovered automatically during analysis. **Error codes:** - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied
      Parameters:
      functionId - Function ID (required)
      addUserStringToFunctionInputBody - (required)
      Returns:
      Map<String, Object>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 Created -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • addUserStringToFunctionWithHttpInfo

      public ApiResponse<Map<String,Object>> addUserStringToFunctionWithHttpInfo(@Nonnull Long functionId, @Nonnull AddUserStringToFunctionInputBody addUserStringToFunctionInputBody) throws ApiException
      Add a user-provided string to a function. Attaches a user-provided string to a function at the given virtual address. The string is stored with source `USER` and complements strings discovered automatically during analysis. **Error codes:** - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied
      Parameters:
      functionId - Function ID (required)
      addUserStringToFunctionInputBody - (required)
      Returns:
      ApiResponse<Map<String, Object>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 Created -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -
    • addUserStringToFunctionAsync

      public okhttp3.Call addUserStringToFunctionAsync(@Nonnull Long functionId, @Nonnull AddUserStringToFunctionInputBody addUserStringToFunctionInputBody, ApiCallback<Map<String,Object>> _callback) throws ApiException
      Add a user-provided string to a function. (asynchronously) Attaches a user-provided string to a function at the given virtual address. The string is stored with source `USER` and complements strings discovered automatically during analysis. **Error codes:** - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied
      Parameters:
      functionId - Function ID (required)
      addUserStringToFunctionInputBody - (required)
      _callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
      Http Response Details
      Response Details
      Status Code Description Response Headers
      201 Created -
      403 Forbidden -
      404 Not Found -
      422 Unprocessable Entity -
      500 Internal Server Error -