Skip to content

Commit 498632e

Browse files
authored
Merge pull request #38 from RevEngAI/sdk-update-v2.14.1
🤖 Update SDK to version v2.14.1
2 parents f9ce525 + 110b9c7 commit 498632e

16 files changed

+27
-33
lines changed

.sdk-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2.13.0
1+
v2.14.1

docs/AnalysisFunctionMatchingRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
1010
**results_per_function** | **int** | Maximum number of matches to return per function, default is 1, max is 10 | [optional] [default to 1]
1111
**page** | **int** | Page number for paginated results, default is 1 (first page) | [optional] [default to 1]
1212
**page_size** | **int** | Number of functions to return per page, default is 0 (all functions), max is 1000 | [optional] [default to 0]
13+
**status_only** | **bool** | If set to true, only returns the status of the matching operation without the actual results | [optional] [default to False]
1314
**no_cache** | **bool** | If set to true, forces the system to bypass any cached results and perform a fresh computation | [optional] [default to False]
1415

1516
## Example

docs/AutoUnstripRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
99
**apply** | **bool** | Whether to apply the matched function names to the target binary, default is False | [optional] [default to False]
1010
**confidence_threshold** | **float** | Confidence threshold for applying function names as a percentage, default is 90 | [optional] [default to 90.0]
1111
**min_group_size** | **int** | Minimum number of matching functions required to consider for a match, default is 10 | [optional] [default to 10]
12+
**status_only** | **bool** | If set to true, only returns the status of the auto-unstrip operation without the actual results | [optional] [default to False]
1213
**no_cache** | **bool** | If set to true, forces the system to bypass any cached results and perform a fresh computation | [optional] [default to False]
1314

1415
## Example

docs/FunctionMatchingBatchResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
1111
**error_message** | **str** | | [optional]
1212
**current_page** | **int** | | [optional]
1313
**total_pages** | **int** | | [optional]
14-
**matches** | [**List[FunctionMatchingResultWithBestMatch]**](FunctionMatchingResultWithBestMatch.md) | |
14+
**matches** | [**List[FunctionMatchingResultWithBestMatch]**](FunctionMatchingResultWithBestMatch.md) | | [optional]
1515

1616
## Example
1717

docs/FunctionMatchingRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
1212
**results_per_function** | **int** | Maximum number of matches to return per function, default is 1, max is 50 | [optional] [default to 1]
1313
**page** | **int** | Page number for paginated results, default is 1 (first page) | [optional] [default to 1]
1414
**page_size** | **int** | Number of functions to return per page, default is 0 (all functions), max is 1000 | [optional] [default to 0]
15+
**status_only** | **bool** | If set to true, only returns the status of the matching operation without the actual results | [optional] [default to False]
1516
**no_cache** | **bool** | If set to true, forces the system to bypass any cached results and perform a fresh computation | [optional] [default to False]
1617

1718
## Example

revengai/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
""" # noqa: E501
1414

1515

16-
__version__ = "v2.13.0"
16+
__version__ = "v2.14.1"
1717

1818
# Define package exports
1919
__all__ = [

revengai/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def __init__(
9090
self.default_headers[header_name] = header_value
9191
self.cookie = cookie
9292
# Set default User-Agent.
93-
self.user_agent = 'OpenAPI-Generator/v2.13.0/python'
93+
self.user_agent = 'OpenAPI-Generator/v2.14.1/python'
9494
self.client_side_validation = configuration.client_side_validation
9595

9696
def __enter__(self):

revengai/configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -529,8 +529,8 @@ def to_debug_report(self) -> str:
529529
return "Python SDK Debug Report:\n"\
530530
"OS: {env}\n"\
531531
"Python Version: {pyversion}\n"\
532-
"Version of the API: v2.13.0\n"\
533-
"SDK Package Version: v2.13.0".\
532+
"Version of the API: v2.14.1\n"\
533+
"SDK Package Version: v2.14.1".\
534534
format(env=sys.platform, pyversion=sys.version)
535535

536536
def get_host_settings(self) -> List[HostSetting]:

revengai/models/analysis_function_matching_request.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ class AnalysisFunctionMatchingRequest(BaseModel):
3232
results_per_function: Optional[Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(default=1, description="Maximum number of matches to return per function, default is 1, max is 10")
3333
page: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=1, description="Page number for paginated results, default is 1 (first page)")
3434
page_size: Optional[Annotated[int, Field(le=1000, strict=True, ge=0)]] = Field(default=0, description="Number of functions to return per page, default is 0 (all functions), max is 1000")
35+
status_only: Optional[StrictBool] = Field(default=False, description="If set to true, only returns the status of the matching operation without the actual results")
3536
no_cache: Optional[StrictBool] = Field(default=False, description="If set to true, forces the system to bypass any cached results and perform a fresh computation")
36-
__properties: ClassVar[List[str]] = ["min_similarity", "filters", "results_per_function", "page", "page_size", "no_cache"]
37+
__properties: ClassVar[List[str]] = ["min_similarity", "filters", "results_per_function", "page", "page_size", "status_only", "no_cache"]
3738

3839
model_config = ConfigDict(
3940
populate_by_name=True,
@@ -99,6 +100,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
99100
"results_per_function": obj.get("results_per_function") if obj.get("results_per_function") is not None else 1,
100101
"page": obj.get("page") if obj.get("page") is not None else 1,
101102
"page_size": obj.get("page_size") if obj.get("page_size") is not None else 0,
103+
"status_only": obj.get("status_only") if obj.get("status_only") is not None else False,
102104
"no_cache": obj.get("no_cache") if obj.get("no_cache") is not None else False
103105
})
104106
return _obj

revengai/models/auto_unstrip_request.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ class AutoUnstripRequest(BaseModel):
3030
apply: Optional[StrictBool] = Field(default=False, description="Whether to apply the matched function names to the target binary, default is False")
3131
confidence_threshold: Optional[Union[Annotated[float, Field(le=100.0, strict=True, ge=0.0)], Annotated[int, Field(le=100, strict=True, ge=0)]]] = Field(default=90.0, description="Confidence threshold for applying function names as a percentage, default is 90")
3232
min_group_size: Optional[Annotated[int, Field(le=20, strict=True, ge=1)]] = Field(default=10, description="Minimum number of matching functions required to consider for a match, default is 10")
33+
status_only: Optional[StrictBool] = Field(default=False, description="If set to true, only returns the status of the auto-unstrip operation without the actual results")
3334
no_cache: Optional[StrictBool] = Field(default=False, description="If set to true, forces the system to bypass any cached results and perform a fresh computation")
34-
__properties: ClassVar[List[str]] = ["min_similarity", "apply", "confidence_threshold", "min_group_size", "no_cache"]
35+
__properties: ClassVar[List[str]] = ["min_similarity", "apply", "confidence_threshold", "min_group_size", "status_only", "no_cache"]
3536

3637
model_config = ConfigDict(
3738
populate_by_name=True,
@@ -88,6 +89,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
8889
"apply": obj.get("apply") if obj.get("apply") is not None else False,
8990
"confidence_threshold": obj.get("confidence_threshold") if obj.get("confidence_threshold") is not None else 90.0,
9091
"min_group_size": obj.get("min_group_size") if obj.get("min_group_size") is not None else 10,
92+
"status_only": obj.get("status_only") if obj.get("status_only") is not None else False,
9193
"no_cache": obj.get("no_cache") if obj.get("no_cache") is not None else False
9294
})
9395
return _obj

0 commit comments

Comments
 (0)