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 @@
v1.92.1
v1.93.0
2 changes: 1 addition & 1 deletion docs/FunctionBoundary.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | |
**mangled_name** | **str** | |
**start_address** | **int** | |
**end_address** | **int** | |

Expand Down
2 changes: 1 addition & 1 deletion docs/FunctionMapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**function_map** | **Dict[str, int]** | Mapping of remote function ids to local function addresses |
**inverse_function_map** | **Dict[str, int]** | Mapping of local function addresses to remote function ids |
**name_map** | **Dict[str, str]** | Mapping of local function addresses to function names |
**name_map** | **Dict[str, str]** | Mapping of local function addresses to mangled names |

## Example

Expand Down
2 changes: 1 addition & 1 deletion revengai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
""" # noqa: E501


__version__ = "v1.92.1"
__version__ = "v1.93.0"

# Define package exports
__all__ = [
Expand Down
2 changes: 1 addition & 1 deletion revengai/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def __init__(
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/v1.92.1/python'
self.user_agent = 'OpenAPI-Generator/v1.93.0/python'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
4 changes: 2 additions & 2 deletions revengai/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -529,8 +529,8 @@ def to_debug_report(self) -> str:
return "Python SDK Debug Report:\n"\
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: v1.92.1\n"\
"SDK Package Version: v1.92.1".\
"Version of the API: v1.93.0\n"\
"SDK Package Version: v1.93.0".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self) -> List[HostSetting]:
Expand Down
6 changes: 3 additions & 3 deletions revengai/models/function_boundary.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ class FunctionBoundary(BaseModel):
"""
FunctionBoundary
""" # noqa: E501
name: StrictStr
mangled_name: StrictStr
start_address: StrictInt
end_address: StrictInt
__properties: ClassVar[List[str]] = ["name", "start_address", "end_address"]
__properties: ClassVar[List[str]] = ["mangled_name", "start_address", "end_address"]

model_config = ConfigDict(
populate_by_name=True,
Expand Down Expand Up @@ -81,7 +81,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
return cls.model_validate(obj)

_obj = cls.model_validate({
"name": obj.get("name"),
"mangled_name": obj.get("mangled_name"),
"start_address": obj.get("start_address"),
"end_address": obj.get("end_address")
})
Expand Down
2 changes: 1 addition & 1 deletion revengai/models/function_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class FunctionMapping(BaseModel):
""" # noqa: E501
function_map: Dict[str, StrictInt] = Field(description="Mapping of remote function ids to local function addresses")
inverse_function_map: Dict[str, StrictInt] = Field(description="Mapping of local function addresses to remote function ids")
name_map: Dict[str, StrictStr] = Field(description="Mapping of local function addresses to function names")
name_map: Dict[str, StrictStr] = Field(description="Mapping of local function addresses to mangled names")
__properties: ClassVar[List[str]] = ["function_map", "inverse_function_map", "name_map"]

model_config = ConfigDict(
Expand Down
2 changes: 1 addition & 1 deletion test/test_analysis_create_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def make_instance(self, include_optional) -> AnalysisCreateRequest:
base_address = 56,
function_boundaries = [
revengai.models.function_boundary.FunctionBoundary(
name = '',
mangled_name = '',
start_address = 56,
end_address = 56, )
], ),
Expand Down
4 changes: 2 additions & 2 deletions test/test_function_boundary.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ def make_instance(self, include_optional) -> FunctionBoundary:
model = FunctionBoundary()
if include_optional:
return FunctionBoundary(
name = '',
mangled_name = '',
start_address = 56,
end_address = 56
)
else:
return FunctionBoundary(
name = '',
mangled_name = '',
start_address = 56,
end_address = 56,
)
Expand Down
2 changes: 1 addition & 1 deletion test/test_symbols.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def make_instance(self, include_optional) -> Symbols:
base_address = 56,
function_boundaries = [
revengai.models.function_boundary.FunctionBoundary(
name = '',
mangled_name = '',
start_address = 56,
end_address = 56, )
]
Expand Down