revengai 1.78.1__py3-none-any.whl → 1.80.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of revengai might be problematic. Click here for more details.

@@ -25,6 +25,7 @@ from revengai.models.analysis_update_tags_request import AnalysisUpdateTagsReque
25
25
  from revengai.models.app_api_rest_v2_analyses_enums_order_by import AppApiRestV2AnalysesEnumsOrderBy
26
26
  from revengai.models.base_response_analysis_create_response import BaseResponseAnalysisCreateResponse
27
27
  from revengai.models.base_response_analysis_detail_response import BaseResponseAnalysisDetailResponse
28
+ from revengai.models.base_response_analysis_function_mapping import BaseResponseAnalysisFunctionMapping
28
29
  from revengai.models.base_response_analysis_update_tags_response import BaseResponseAnalysisUpdateTagsResponse
29
30
  from revengai.models.base_response_basic import BaseResponseBasic
30
31
  from revengai.models.base_response_binary_ann_list_response import BaseResponseBinaryAnnListResponse
@@ -35,7 +36,6 @@ from revengai.models.base_response_nearest_neighbor_analysis import BaseResponse
35
36
  from revengai.models.base_response_params import BaseResponseParams
36
37
  from revengai.models.base_response_recent import BaseResponseRecent
37
38
  from revengai.models.base_response_status import BaseResponseStatus
38
- from revengai.models.base_response_symbols_info import BaseResponseSymbolsInfo
39
39
  from revengai.models.base_response_upload_response import BaseResponseUploadResponse
40
40
  from revengai.models.binary_ann_form import BinaryAnnForm
41
41
  from revengai.models.dynamic_execution_status_input import DynamicExecutionStatusInput
@@ -1234,7 +1234,7 @@ class AnalysesCoreApi:
1234
1234
 
1235
1235
 
1236
1236
  @validate_call
1237
- def get_analysis_logs(
1237
+ def get_analysis_function_map(
1238
1238
  self,
1239
1239
  analysis_id: StrictInt,
1240
1240
  authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
@@ -1250,10 +1250,10 @@ class AnalysesCoreApi:
1250
1250
  _content_type: Optional[StrictStr] = None,
1251
1251
  _headers: Optional[Dict[StrictStr, Any]] = None,
1252
1252
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1253
- ) -> BaseResponseLogs:
1254
- """Gets the logs of an analysis
1253
+ ) -> BaseResponseAnalysisFunctionMapping:
1254
+ """Get Analysis Function Map
1255
1255
 
1256
- Given an analysis ID gets the current logs of an analysis
1256
+ Returns three maps: a map of function ids to function addresses, it's inverse and a map of function addresses to function names.
1257
1257
 
1258
1258
  :param analysis_id: (required)
1259
1259
  :type analysis_id: int
@@ -1281,7 +1281,7 @@ class AnalysesCoreApi:
1281
1281
  :return: Returns the result object.
1282
1282
  """ # noqa: E501
1283
1283
 
1284
- _param = self._get_analysis_logs_serialize(
1284
+ _param = self._get_analysis_function_map_serialize(
1285
1285
  analysis_id=analysis_id,
1286
1286
  authorization=authorization,
1287
1287
  _request_auth=_request_auth,
@@ -1291,7 +1291,7 @@ class AnalysesCoreApi:
1291
1291
  )
1292
1292
 
1293
1293
  _response_types_map: Dict[str, Optional[str]] = {
1294
- '200': "BaseResponseLogs",
1294
+ '200': "BaseResponseAnalysisFunctionMapping",
1295
1295
  '422': "BaseResponse",
1296
1296
  }
1297
1297
  response_data = self.api_client.call_api(
@@ -1306,7 +1306,7 @@ class AnalysesCoreApi:
1306
1306
 
1307
1307
 
1308
1308
  @validate_call
1309
- def get_analysis_logs_with_http_info(
1309
+ def get_analysis_function_map_with_http_info(
1310
1310
  self,
1311
1311
  analysis_id: StrictInt,
1312
1312
  authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
@@ -1322,10 +1322,10 @@ class AnalysesCoreApi:
1322
1322
  _content_type: Optional[StrictStr] = None,
1323
1323
  _headers: Optional[Dict[StrictStr, Any]] = None,
1324
1324
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1325
- ) -> ApiResponse[BaseResponseLogs]:
1326
- """Gets the logs of an analysis
1325
+ ) -> ApiResponse[BaseResponseAnalysisFunctionMapping]:
1326
+ """Get Analysis Function Map
1327
1327
 
1328
- Given an analysis ID gets the current logs of an analysis
1328
+ Returns three maps: a map of function ids to function addresses, it's inverse and a map of function addresses to function names.
1329
1329
 
1330
1330
  :param analysis_id: (required)
1331
1331
  :type analysis_id: int
@@ -1353,7 +1353,7 @@ class AnalysesCoreApi:
1353
1353
  :return: Returns the result object.
1354
1354
  """ # noqa: E501
1355
1355
 
1356
- _param = self._get_analysis_logs_serialize(
1356
+ _param = self._get_analysis_function_map_serialize(
1357
1357
  analysis_id=analysis_id,
1358
1358
  authorization=authorization,
1359
1359
  _request_auth=_request_auth,
@@ -1363,7 +1363,7 @@ class AnalysesCoreApi:
1363
1363
  )
1364
1364
 
1365
1365
  _response_types_map: Dict[str, Optional[str]] = {
1366
- '200': "BaseResponseLogs",
1366
+ '200': "BaseResponseAnalysisFunctionMapping",
1367
1367
  '422': "BaseResponse",
1368
1368
  }
1369
1369
  response_data = self.api_client.call_api(
@@ -1378,7 +1378,7 @@ class AnalysesCoreApi:
1378
1378
 
1379
1379
 
1380
1380
  @validate_call
1381
- def get_analysis_logs_without_preload_content(
1381
+ def get_analysis_function_map_without_preload_content(
1382
1382
  self,
1383
1383
  analysis_id: StrictInt,
1384
1384
  authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
@@ -1395,9 +1395,9 @@ class AnalysesCoreApi:
1395
1395
  _headers: Optional[Dict[StrictStr, Any]] = None,
1396
1396
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1397
1397
  ) -> RESTResponseType:
1398
- """Gets the logs of an analysis
1398
+ """Get Analysis Function Map
1399
1399
 
1400
- Given an analysis ID gets the current logs of an analysis
1400
+ Returns three maps: a map of function ids to function addresses, it's inverse and a map of function addresses to function names.
1401
1401
 
1402
1402
  :param analysis_id: (required)
1403
1403
  :type analysis_id: int
@@ -1425,7 +1425,7 @@ class AnalysesCoreApi:
1425
1425
  :return: Returns the result object.
1426
1426
  """ # noqa: E501
1427
1427
 
1428
- _param = self._get_analysis_logs_serialize(
1428
+ _param = self._get_analysis_function_map_serialize(
1429
1429
  analysis_id=analysis_id,
1430
1430
  authorization=authorization,
1431
1431
  _request_auth=_request_auth,
@@ -1435,7 +1435,7 @@ class AnalysesCoreApi:
1435
1435
  )
1436
1436
 
1437
1437
  _response_types_map: Dict[str, Optional[str]] = {
1438
- '200': "BaseResponseLogs",
1438
+ '200': "BaseResponseAnalysisFunctionMapping",
1439
1439
  '422': "BaseResponse",
1440
1440
  }
1441
1441
  response_data = self.api_client.call_api(
@@ -1445,7 +1445,7 @@ class AnalysesCoreApi:
1445
1445
  return response_data.response
1446
1446
 
1447
1447
 
1448
- def _get_analysis_logs_serialize(
1448
+ def _get_analysis_function_map_serialize(
1449
1449
  self,
1450
1450
  analysis_id,
1451
1451
  authorization,
@@ -1496,7 +1496,7 @@ class AnalysesCoreApi:
1496
1496
 
1497
1497
  return self.api_client.param_serialize(
1498
1498
  method='GET',
1499
- resource_path='/v2/analyses/{analysis_id}/logs',
1499
+ resource_path='/v2/analyses/{analysis_id}/func_maps',
1500
1500
  path_params=_path_params,
1501
1501
  query_params=_query_params,
1502
1502
  header_params=_header_params,
@@ -1513,7 +1513,7 @@ class AnalysesCoreApi:
1513
1513
 
1514
1514
 
1515
1515
  @validate_call
1516
- def get_analysis_params(
1516
+ def get_analysis_logs(
1517
1517
  self,
1518
1518
  analysis_id: StrictInt,
1519
1519
  authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
@@ -1529,10 +1529,10 @@ class AnalysesCoreApi:
1529
1529
  _content_type: Optional[StrictStr] = None,
1530
1530
  _headers: Optional[Dict[StrictStr, Any]] = None,
1531
1531
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1532
- ) -> BaseResponseParams:
1533
- """Gets analysis param information
1532
+ ) -> BaseResponseLogs:
1533
+ """Gets the logs of an analysis
1534
1534
 
1535
- Gets the params that the analysis was run with
1535
+ Given an analysis ID gets the current logs of an analysis
1536
1536
 
1537
1537
  :param analysis_id: (required)
1538
1538
  :type analysis_id: int
@@ -1560,7 +1560,7 @@ class AnalysesCoreApi:
1560
1560
  :return: Returns the result object.
1561
1561
  """ # noqa: E501
1562
1562
 
1563
- _param = self._get_analysis_params_serialize(
1563
+ _param = self._get_analysis_logs_serialize(
1564
1564
  analysis_id=analysis_id,
1565
1565
  authorization=authorization,
1566
1566
  _request_auth=_request_auth,
@@ -1570,7 +1570,7 @@ class AnalysesCoreApi:
1570
1570
  )
1571
1571
 
1572
1572
  _response_types_map: Dict[str, Optional[str]] = {
1573
- '200': "BaseResponseParams",
1573
+ '200': "BaseResponseLogs",
1574
1574
  '422': "BaseResponse",
1575
1575
  }
1576
1576
  response_data = self.api_client.call_api(
@@ -1585,7 +1585,7 @@ class AnalysesCoreApi:
1585
1585
 
1586
1586
 
1587
1587
  @validate_call
1588
- def get_analysis_params_with_http_info(
1588
+ def get_analysis_logs_with_http_info(
1589
1589
  self,
1590
1590
  analysis_id: StrictInt,
1591
1591
  authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
@@ -1601,10 +1601,10 @@ class AnalysesCoreApi:
1601
1601
  _content_type: Optional[StrictStr] = None,
1602
1602
  _headers: Optional[Dict[StrictStr, Any]] = None,
1603
1603
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1604
- ) -> ApiResponse[BaseResponseParams]:
1605
- """Gets analysis param information
1604
+ ) -> ApiResponse[BaseResponseLogs]:
1605
+ """Gets the logs of an analysis
1606
1606
 
1607
- Gets the params that the analysis was run with
1607
+ Given an analysis ID gets the current logs of an analysis
1608
1608
 
1609
1609
  :param analysis_id: (required)
1610
1610
  :type analysis_id: int
@@ -1632,7 +1632,7 @@ class AnalysesCoreApi:
1632
1632
  :return: Returns the result object.
1633
1633
  """ # noqa: E501
1634
1634
 
1635
- _param = self._get_analysis_params_serialize(
1635
+ _param = self._get_analysis_logs_serialize(
1636
1636
  analysis_id=analysis_id,
1637
1637
  authorization=authorization,
1638
1638
  _request_auth=_request_auth,
@@ -1642,7 +1642,7 @@ class AnalysesCoreApi:
1642
1642
  )
1643
1643
 
1644
1644
  _response_types_map: Dict[str, Optional[str]] = {
1645
- '200': "BaseResponseParams",
1645
+ '200': "BaseResponseLogs",
1646
1646
  '422': "BaseResponse",
1647
1647
  }
1648
1648
  response_data = self.api_client.call_api(
@@ -1657,7 +1657,7 @@ class AnalysesCoreApi:
1657
1657
 
1658
1658
 
1659
1659
  @validate_call
1660
- def get_analysis_params_without_preload_content(
1660
+ def get_analysis_logs_without_preload_content(
1661
1661
  self,
1662
1662
  analysis_id: StrictInt,
1663
1663
  authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
@@ -1674,9 +1674,9 @@ class AnalysesCoreApi:
1674
1674
  _headers: Optional[Dict[StrictStr, Any]] = None,
1675
1675
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1676
1676
  ) -> RESTResponseType:
1677
- """Gets analysis param information
1677
+ """Gets the logs of an analysis
1678
1678
 
1679
- Gets the params that the analysis was run with
1679
+ Given an analysis ID gets the current logs of an analysis
1680
1680
 
1681
1681
  :param analysis_id: (required)
1682
1682
  :type analysis_id: int
@@ -1704,7 +1704,7 @@ class AnalysesCoreApi:
1704
1704
  :return: Returns the result object.
1705
1705
  """ # noqa: E501
1706
1706
 
1707
- _param = self._get_analysis_params_serialize(
1707
+ _param = self._get_analysis_logs_serialize(
1708
1708
  analysis_id=analysis_id,
1709
1709
  authorization=authorization,
1710
1710
  _request_auth=_request_auth,
@@ -1714,7 +1714,7 @@ class AnalysesCoreApi:
1714
1714
  )
1715
1715
 
1716
1716
  _response_types_map: Dict[str, Optional[str]] = {
1717
- '200': "BaseResponseParams",
1717
+ '200': "BaseResponseLogs",
1718
1718
  '422': "BaseResponse",
1719
1719
  }
1720
1720
  response_data = self.api_client.call_api(
@@ -1724,7 +1724,7 @@ class AnalysesCoreApi:
1724
1724
  return response_data.response
1725
1725
 
1726
1726
 
1727
- def _get_analysis_params_serialize(
1727
+ def _get_analysis_logs_serialize(
1728
1728
  self,
1729
1729
  analysis_id,
1730
1730
  authorization,
@@ -1775,7 +1775,7 @@ class AnalysesCoreApi:
1775
1775
 
1776
1776
  return self.api_client.param_serialize(
1777
1777
  method='GET',
1778
- resource_path='/v2/analyses/{analysis_id}/params',
1778
+ resource_path='/v2/analyses/{analysis_id}/logs',
1779
1779
  path_params=_path_params,
1780
1780
  query_params=_query_params,
1781
1781
  header_params=_header_params,
@@ -1792,7 +1792,7 @@ class AnalysesCoreApi:
1792
1792
 
1793
1793
 
1794
1794
  @validate_call
1795
- def get_analysis_status(
1795
+ def get_analysis_params(
1796
1796
  self,
1797
1797
  analysis_id: StrictInt,
1798
1798
  authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
@@ -1808,10 +1808,10 @@ class AnalysesCoreApi:
1808
1808
  _content_type: Optional[StrictStr] = None,
1809
1809
  _headers: Optional[Dict[StrictStr, Any]] = None,
1810
1810
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1811
- ) -> BaseResponseStatus:
1812
- """Gets the status of an analysis
1811
+ ) -> BaseResponseParams:
1812
+ """Gets analysis param information
1813
1813
 
1814
- Given an analysis ID gets the current status of the analysis
1814
+ Gets the params that the analysis was run with
1815
1815
 
1816
1816
  :param analysis_id: (required)
1817
1817
  :type analysis_id: int
@@ -1839,7 +1839,7 @@ class AnalysesCoreApi:
1839
1839
  :return: Returns the result object.
1840
1840
  """ # noqa: E501
1841
1841
 
1842
- _param = self._get_analysis_status_serialize(
1842
+ _param = self._get_analysis_params_serialize(
1843
1843
  analysis_id=analysis_id,
1844
1844
  authorization=authorization,
1845
1845
  _request_auth=_request_auth,
@@ -1849,7 +1849,7 @@ class AnalysesCoreApi:
1849
1849
  )
1850
1850
 
1851
1851
  _response_types_map: Dict[str, Optional[str]] = {
1852
- '200': "BaseResponseStatus",
1852
+ '200': "BaseResponseParams",
1853
1853
  '422': "BaseResponse",
1854
1854
  }
1855
1855
  response_data = self.api_client.call_api(
@@ -1864,7 +1864,7 @@ class AnalysesCoreApi:
1864
1864
 
1865
1865
 
1866
1866
  @validate_call
1867
- def get_analysis_status_with_http_info(
1867
+ def get_analysis_params_with_http_info(
1868
1868
  self,
1869
1869
  analysis_id: StrictInt,
1870
1870
  authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
@@ -1880,10 +1880,10 @@ class AnalysesCoreApi:
1880
1880
  _content_type: Optional[StrictStr] = None,
1881
1881
  _headers: Optional[Dict[StrictStr, Any]] = None,
1882
1882
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1883
- ) -> ApiResponse[BaseResponseStatus]:
1884
- """Gets the status of an analysis
1883
+ ) -> ApiResponse[BaseResponseParams]:
1884
+ """Gets analysis param information
1885
1885
 
1886
- Given an analysis ID gets the current status of the analysis
1886
+ Gets the params that the analysis was run with
1887
1887
 
1888
1888
  :param analysis_id: (required)
1889
1889
  :type analysis_id: int
@@ -1911,7 +1911,7 @@ class AnalysesCoreApi:
1911
1911
  :return: Returns the result object.
1912
1912
  """ # noqa: E501
1913
1913
 
1914
- _param = self._get_analysis_status_serialize(
1914
+ _param = self._get_analysis_params_serialize(
1915
1915
  analysis_id=analysis_id,
1916
1916
  authorization=authorization,
1917
1917
  _request_auth=_request_auth,
@@ -1921,7 +1921,7 @@ class AnalysesCoreApi:
1921
1921
  )
1922
1922
 
1923
1923
  _response_types_map: Dict[str, Optional[str]] = {
1924
- '200': "BaseResponseStatus",
1924
+ '200': "BaseResponseParams",
1925
1925
  '422': "BaseResponse",
1926
1926
  }
1927
1927
  response_data = self.api_client.call_api(
@@ -1936,7 +1936,7 @@ class AnalysesCoreApi:
1936
1936
 
1937
1937
 
1938
1938
  @validate_call
1939
- def get_analysis_status_without_preload_content(
1939
+ def get_analysis_params_without_preload_content(
1940
1940
  self,
1941
1941
  analysis_id: StrictInt,
1942
1942
  authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
@@ -1953,9 +1953,9 @@ class AnalysesCoreApi:
1953
1953
  _headers: Optional[Dict[StrictStr, Any]] = None,
1954
1954
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1955
1955
  ) -> RESTResponseType:
1956
- """Gets the status of an analysis
1956
+ """Gets analysis param information
1957
1957
 
1958
- Given an analysis ID gets the current status of the analysis
1958
+ Gets the params that the analysis was run with
1959
1959
 
1960
1960
  :param analysis_id: (required)
1961
1961
  :type analysis_id: int
@@ -1983,7 +1983,7 @@ class AnalysesCoreApi:
1983
1983
  :return: Returns the result object.
1984
1984
  """ # noqa: E501
1985
1985
 
1986
- _param = self._get_analysis_status_serialize(
1986
+ _param = self._get_analysis_params_serialize(
1987
1987
  analysis_id=analysis_id,
1988
1988
  authorization=authorization,
1989
1989
  _request_auth=_request_auth,
@@ -1993,7 +1993,7 @@ class AnalysesCoreApi:
1993
1993
  )
1994
1994
 
1995
1995
  _response_types_map: Dict[str, Optional[str]] = {
1996
- '200': "BaseResponseStatus",
1996
+ '200': "BaseResponseParams",
1997
1997
  '422': "BaseResponse",
1998
1998
  }
1999
1999
  response_data = self.api_client.call_api(
@@ -2003,7 +2003,7 @@ class AnalysesCoreApi:
2003
2003
  return response_data.response
2004
2004
 
2005
2005
 
2006
- def _get_analysis_status_serialize(
2006
+ def _get_analysis_params_serialize(
2007
2007
  self,
2008
2008
  analysis_id,
2009
2009
  authorization,
@@ -2054,7 +2054,7 @@ class AnalysesCoreApi:
2054
2054
 
2055
2055
  return self.api_client.param_serialize(
2056
2056
  method='GET',
2057
- resource_path='/v2/analyses/{analysis_id}/status',
2057
+ resource_path='/v2/analyses/{analysis_id}/params',
2058
2058
  path_params=_path_params,
2059
2059
  query_params=_query_params,
2060
2060
  header_params=_header_params,
@@ -2071,10 +2071,9 @@ class AnalysesCoreApi:
2071
2071
 
2072
2072
 
2073
2073
  @validate_call
2074
- def get_binary_ann(
2074
+ def get_analysis_status(
2075
2075
  self,
2076
2076
  analysis_id: StrictInt,
2077
- binary_ann_form: BinaryAnnForm,
2078
2077
  authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
2079
2078
  _request_timeout: Union[
2080
2079
  None,
@@ -2088,15 +2087,13 @@ class AnalysesCoreApi:
2088
2087
  _content_type: Optional[StrictStr] = None,
2089
2088
  _headers: Optional[Dict[StrictStr, Any]] = None,
2090
2089
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2091
- ) -> BaseResponseBinaryAnnListResponse:
2092
- """Binary Ann
2090
+ ) -> BaseResponseStatus:
2091
+ """Gets the status of an analysis
2093
2092
 
2094
- Binary Ann
2093
+ Given an analysis ID gets the current status of the analysis
2095
2094
 
2096
2095
  :param analysis_id: (required)
2097
2096
  :type analysis_id: int
2098
- :param binary_ann_form: (required)
2099
- :type binary_ann_form: BinaryAnnForm
2100
2097
  :param authorization: API Key bearer token
2101
2098
  :type authorization: str
2102
2099
  :param _request_timeout: timeout setting for this request. If one
@@ -2121,9 +2118,8 @@ class AnalysesCoreApi:
2121
2118
  :return: Returns the result object.
2122
2119
  """ # noqa: E501
2123
2120
 
2124
- _param = self._get_binary_ann_serialize(
2121
+ _param = self._get_analysis_status_serialize(
2125
2122
  analysis_id=analysis_id,
2126
- binary_ann_form=binary_ann_form,
2127
2123
  authorization=authorization,
2128
2124
  _request_auth=_request_auth,
2129
2125
  _content_type=_content_type,
@@ -2132,7 +2128,7 @@ class AnalysesCoreApi:
2132
2128
  )
2133
2129
 
2134
2130
  _response_types_map: Dict[str, Optional[str]] = {
2135
- '200': "BaseResponseBinaryAnnListResponse",
2131
+ '200': "BaseResponseStatus",
2136
2132
  '422': "BaseResponse",
2137
2133
  }
2138
2134
  response_data = self.api_client.call_api(
@@ -2147,10 +2143,9 @@ class AnalysesCoreApi:
2147
2143
 
2148
2144
 
2149
2145
  @validate_call
2150
- def get_binary_ann_with_http_info(
2146
+ def get_analysis_status_with_http_info(
2151
2147
  self,
2152
2148
  analysis_id: StrictInt,
2153
- binary_ann_form: BinaryAnnForm,
2154
2149
  authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
2155
2150
  _request_timeout: Union[
2156
2151
  None,
@@ -2164,15 +2159,13 @@ class AnalysesCoreApi:
2164
2159
  _content_type: Optional[StrictStr] = None,
2165
2160
  _headers: Optional[Dict[StrictStr, Any]] = None,
2166
2161
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2167
- ) -> ApiResponse[BaseResponseBinaryAnnListResponse]:
2168
- """Binary Ann
2162
+ ) -> ApiResponse[BaseResponseStatus]:
2163
+ """Gets the status of an analysis
2169
2164
 
2170
- Binary Ann
2165
+ Given an analysis ID gets the current status of the analysis
2171
2166
 
2172
2167
  :param analysis_id: (required)
2173
2168
  :type analysis_id: int
2174
- :param binary_ann_form: (required)
2175
- :type binary_ann_form: BinaryAnnForm
2176
2169
  :param authorization: API Key bearer token
2177
2170
  :type authorization: str
2178
2171
  :param _request_timeout: timeout setting for this request. If one
@@ -2197,9 +2190,8 @@ class AnalysesCoreApi:
2197
2190
  :return: Returns the result object.
2198
2191
  """ # noqa: E501
2199
2192
 
2200
- _param = self._get_binary_ann_serialize(
2193
+ _param = self._get_analysis_status_serialize(
2201
2194
  analysis_id=analysis_id,
2202
- binary_ann_form=binary_ann_form,
2203
2195
  authorization=authorization,
2204
2196
  _request_auth=_request_auth,
2205
2197
  _content_type=_content_type,
@@ -2208,7 +2200,7 @@ class AnalysesCoreApi:
2208
2200
  )
2209
2201
 
2210
2202
  _response_types_map: Dict[str, Optional[str]] = {
2211
- '200': "BaseResponseBinaryAnnListResponse",
2203
+ '200': "BaseResponseStatus",
2212
2204
  '422': "BaseResponse",
2213
2205
  }
2214
2206
  response_data = self.api_client.call_api(
@@ -2223,10 +2215,9 @@ class AnalysesCoreApi:
2223
2215
 
2224
2216
 
2225
2217
  @validate_call
2226
- def get_binary_ann_without_preload_content(
2218
+ def get_analysis_status_without_preload_content(
2227
2219
  self,
2228
2220
  analysis_id: StrictInt,
2229
- binary_ann_form: BinaryAnnForm,
2230
2221
  authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
2231
2222
  _request_timeout: Union[
2232
2223
  None,
@@ -2241,14 +2232,12 @@ class AnalysesCoreApi:
2241
2232
  _headers: Optional[Dict[StrictStr, Any]] = None,
2242
2233
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2243
2234
  ) -> RESTResponseType:
2244
- """Binary Ann
2235
+ """Gets the status of an analysis
2245
2236
 
2246
- Binary Ann
2237
+ Given an analysis ID gets the current status of the analysis
2247
2238
 
2248
2239
  :param analysis_id: (required)
2249
2240
  :type analysis_id: int
2250
- :param binary_ann_form: (required)
2251
- :type binary_ann_form: BinaryAnnForm
2252
2241
  :param authorization: API Key bearer token
2253
2242
  :type authorization: str
2254
2243
  :param _request_timeout: timeout setting for this request. If one
@@ -2273,9 +2262,8 @@ class AnalysesCoreApi:
2273
2262
  :return: Returns the result object.
2274
2263
  """ # noqa: E501
2275
2264
 
2276
- _param = self._get_binary_ann_serialize(
2265
+ _param = self._get_analysis_status_serialize(
2277
2266
  analysis_id=analysis_id,
2278
- binary_ann_form=binary_ann_form,
2279
2267
  authorization=authorization,
2280
2268
  _request_auth=_request_auth,
2281
2269
  _content_type=_content_type,
@@ -2284,7 +2272,7 @@ class AnalysesCoreApi:
2284
2272
  )
2285
2273
 
2286
2274
  _response_types_map: Dict[str, Optional[str]] = {
2287
- '200': "BaseResponseBinaryAnnListResponse",
2275
+ '200': "BaseResponseStatus",
2288
2276
  '422': "BaseResponse",
2289
2277
  }
2290
2278
  response_data = self.api_client.call_api(
@@ -2294,10 +2282,9 @@ class AnalysesCoreApi:
2294
2282
  return response_data.response
2295
2283
 
2296
2284
 
2297
- def _get_binary_ann_serialize(
2285
+ def _get_analysis_status_serialize(
2298
2286
  self,
2299
2287
  analysis_id,
2300
- binary_ann_form,
2301
2288
  authorization,
2302
2289
  _request_auth,
2303
2290
  _content_type,
@@ -2328,8 +2315,6 @@ class AnalysesCoreApi:
2328
2315
  _header_params['authorization'] = authorization
2329
2316
  # process the form parameters
2330
2317
  # process the body parameter
2331
- if binary_ann_form is not None:
2332
- _body_params = binary_ann_form
2333
2318
 
2334
2319
 
2335
2320
  # set the HTTP header `Accept`
@@ -2340,19 +2325,6 @@ class AnalysesCoreApi:
2340
2325
  ]
2341
2326
  )
2342
2327
 
2343
- # set the HTTP header `Content-Type`
2344
- if _content_type:
2345
- _header_params['Content-Type'] = _content_type
2346
- else:
2347
- _default_content_type = (
2348
- self.api_client.select_header_content_type(
2349
- [
2350
- 'application/json'
2351
- ]
2352
- )
2353
- )
2354
- if _default_content_type is not None:
2355
- _header_params['Content-Type'] = _default_content_type
2356
2328
 
2357
2329
  # authentication setting
2358
2330
  _auth_settings: List[str] = [
@@ -2360,8 +2332,8 @@ class AnalysesCoreApi:
2360
2332
  ]
2361
2333
 
2362
2334
  return self.api_client.param_serialize(
2363
- method='POST',
2364
- resource_path='/v2/binary_ann/{analysis_id}',
2335
+ method='GET',
2336
+ resource_path='/v2/analyses/{analysis_id}/status',
2365
2337
  path_params=_path_params,
2366
2338
  query_params=_query_params,
2367
2339
  header_params=_header_params,
@@ -2378,9 +2350,10 @@ class AnalysesCoreApi:
2378
2350
 
2379
2351
 
2380
2352
  @validate_call
2381
- def get_symbol_info_for_binary(
2353
+ def get_binary_ann(
2382
2354
  self,
2383
- binary_id: StrictInt,
2355
+ analysis_id: StrictInt,
2356
+ binary_ann_form: BinaryAnnForm,
2384
2357
  authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
2385
2358
  _request_timeout: Union[
2386
2359
  None,
@@ -2394,13 +2367,15 @@ class AnalysesCoreApi:
2394
2367
  _content_type: Optional[StrictStr] = None,
2395
2368
  _headers: Optional[Dict[StrictStr, Any]] = None,
2396
2369
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2397
- ) -> BaseResponseSymbolsInfo:
2398
- """Gets the symbol information of a binary
2370
+ ) -> BaseResponseBinaryAnnListResponse:
2371
+ """Binary Ann
2399
2372
 
2400
- Given a binary ID gets the symbol information of the binary
2373
+ Binary Ann
2401
2374
 
2402
- :param binary_id: (required)
2403
- :type binary_id: int
2375
+ :param analysis_id: (required)
2376
+ :type analysis_id: int
2377
+ :param binary_ann_form: (required)
2378
+ :type binary_ann_form: BinaryAnnForm
2404
2379
  :param authorization: API Key bearer token
2405
2380
  :type authorization: str
2406
2381
  :param _request_timeout: timeout setting for this request. If one
@@ -2425,8 +2400,9 @@ class AnalysesCoreApi:
2425
2400
  :return: Returns the result object.
2426
2401
  """ # noqa: E501
2427
2402
 
2428
- _param = self._get_symbol_info_for_binary_serialize(
2429
- binary_id=binary_id,
2403
+ _param = self._get_binary_ann_serialize(
2404
+ analysis_id=analysis_id,
2405
+ binary_ann_form=binary_ann_form,
2430
2406
  authorization=authorization,
2431
2407
  _request_auth=_request_auth,
2432
2408
  _content_type=_content_type,
@@ -2435,10 +2411,8 @@ class AnalysesCoreApi:
2435
2411
  )
2436
2412
 
2437
2413
  _response_types_map: Dict[str, Optional[str]] = {
2438
- '200': "BaseResponseSymbolsInfo",
2414
+ '200': "BaseResponseBinaryAnnListResponse",
2439
2415
  '422': "BaseResponse",
2440
- '404': "BaseResponse",
2441
- '403': "BaseResponse",
2442
2416
  }
2443
2417
  response_data = self.api_client.call_api(
2444
2418
  *_param,
@@ -2452,9 +2426,10 @@ class AnalysesCoreApi:
2452
2426
 
2453
2427
 
2454
2428
  @validate_call
2455
- def get_symbol_info_for_binary_with_http_info(
2429
+ def get_binary_ann_with_http_info(
2456
2430
  self,
2457
- binary_id: StrictInt,
2431
+ analysis_id: StrictInt,
2432
+ binary_ann_form: BinaryAnnForm,
2458
2433
  authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
2459
2434
  _request_timeout: Union[
2460
2435
  None,
@@ -2468,13 +2443,15 @@ class AnalysesCoreApi:
2468
2443
  _content_type: Optional[StrictStr] = None,
2469
2444
  _headers: Optional[Dict[StrictStr, Any]] = None,
2470
2445
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2471
- ) -> ApiResponse[BaseResponseSymbolsInfo]:
2472
- """Gets the symbol information of a binary
2446
+ ) -> ApiResponse[BaseResponseBinaryAnnListResponse]:
2447
+ """Binary Ann
2473
2448
 
2474
- Given a binary ID gets the symbol information of the binary
2449
+ Binary Ann
2475
2450
 
2476
- :param binary_id: (required)
2477
- :type binary_id: int
2451
+ :param analysis_id: (required)
2452
+ :type analysis_id: int
2453
+ :param binary_ann_form: (required)
2454
+ :type binary_ann_form: BinaryAnnForm
2478
2455
  :param authorization: API Key bearer token
2479
2456
  :type authorization: str
2480
2457
  :param _request_timeout: timeout setting for this request. If one
@@ -2499,8 +2476,9 @@ class AnalysesCoreApi:
2499
2476
  :return: Returns the result object.
2500
2477
  """ # noqa: E501
2501
2478
 
2502
- _param = self._get_symbol_info_for_binary_serialize(
2503
- binary_id=binary_id,
2479
+ _param = self._get_binary_ann_serialize(
2480
+ analysis_id=analysis_id,
2481
+ binary_ann_form=binary_ann_form,
2504
2482
  authorization=authorization,
2505
2483
  _request_auth=_request_auth,
2506
2484
  _content_type=_content_type,
@@ -2509,10 +2487,8 @@ class AnalysesCoreApi:
2509
2487
  )
2510
2488
 
2511
2489
  _response_types_map: Dict[str, Optional[str]] = {
2512
- '200': "BaseResponseSymbolsInfo",
2490
+ '200': "BaseResponseBinaryAnnListResponse",
2513
2491
  '422': "BaseResponse",
2514
- '404': "BaseResponse",
2515
- '403': "BaseResponse",
2516
2492
  }
2517
2493
  response_data = self.api_client.call_api(
2518
2494
  *_param,
@@ -2526,9 +2502,10 @@ class AnalysesCoreApi:
2526
2502
 
2527
2503
 
2528
2504
  @validate_call
2529
- def get_symbol_info_for_binary_without_preload_content(
2505
+ def get_binary_ann_without_preload_content(
2530
2506
  self,
2531
- binary_id: StrictInt,
2507
+ analysis_id: StrictInt,
2508
+ binary_ann_form: BinaryAnnForm,
2532
2509
  authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
2533
2510
  _request_timeout: Union[
2534
2511
  None,
@@ -2543,12 +2520,14 @@ class AnalysesCoreApi:
2543
2520
  _headers: Optional[Dict[StrictStr, Any]] = None,
2544
2521
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2545
2522
  ) -> RESTResponseType:
2546
- """Gets the symbol information of a binary
2523
+ """Binary Ann
2547
2524
 
2548
- Given a binary ID gets the symbol information of the binary
2525
+ Binary Ann
2549
2526
 
2550
- :param binary_id: (required)
2551
- :type binary_id: int
2527
+ :param analysis_id: (required)
2528
+ :type analysis_id: int
2529
+ :param binary_ann_form: (required)
2530
+ :type binary_ann_form: BinaryAnnForm
2552
2531
  :param authorization: API Key bearer token
2553
2532
  :type authorization: str
2554
2533
  :param _request_timeout: timeout setting for this request. If one
@@ -2573,8 +2552,9 @@ class AnalysesCoreApi:
2573
2552
  :return: Returns the result object.
2574
2553
  """ # noqa: E501
2575
2554
 
2576
- _param = self._get_symbol_info_for_binary_serialize(
2577
- binary_id=binary_id,
2555
+ _param = self._get_binary_ann_serialize(
2556
+ analysis_id=analysis_id,
2557
+ binary_ann_form=binary_ann_form,
2578
2558
  authorization=authorization,
2579
2559
  _request_auth=_request_auth,
2580
2560
  _content_type=_content_type,
@@ -2583,10 +2563,8 @@ class AnalysesCoreApi:
2583
2563
  )
2584
2564
 
2585
2565
  _response_types_map: Dict[str, Optional[str]] = {
2586
- '200': "BaseResponseSymbolsInfo",
2566
+ '200': "BaseResponseBinaryAnnListResponse",
2587
2567
  '422': "BaseResponse",
2588
- '404': "BaseResponse",
2589
- '403': "BaseResponse",
2590
2568
  }
2591
2569
  response_data = self.api_client.call_api(
2592
2570
  *_param,
@@ -2595,9 +2573,10 @@ class AnalysesCoreApi:
2595
2573
  return response_data.response
2596
2574
 
2597
2575
 
2598
- def _get_symbol_info_for_binary_serialize(
2576
+ def _get_binary_ann_serialize(
2599
2577
  self,
2600
- binary_id,
2578
+ analysis_id,
2579
+ binary_ann_form,
2601
2580
  authorization,
2602
2581
  _request_auth,
2603
2582
  _content_type,
@@ -2620,14 +2599,16 @@ class AnalysesCoreApi:
2620
2599
  _body_params: Optional[bytes] = None
2621
2600
 
2622
2601
  # process the path parameters
2623
- if binary_id is not None:
2624
- _path_params['binary_id'] = binary_id
2602
+ if analysis_id is not None:
2603
+ _path_params['analysis_id'] = analysis_id
2625
2604
  # process the query parameters
2626
2605
  # process the header parameters
2627
2606
  if authorization is not None:
2628
2607
  _header_params['authorization'] = authorization
2629
2608
  # process the form parameters
2630
2609
  # process the body parameter
2610
+ if binary_ann_form is not None:
2611
+ _body_params = binary_ann_form
2631
2612
 
2632
2613
 
2633
2614
  # set the HTTP header `Accept`
@@ -2638,6 +2619,19 @@ class AnalysesCoreApi:
2638
2619
  ]
2639
2620
  )
2640
2621
 
2622
+ # set the HTTP header `Content-Type`
2623
+ if _content_type:
2624
+ _header_params['Content-Type'] = _content_type
2625
+ else:
2626
+ _default_content_type = (
2627
+ self.api_client.select_header_content_type(
2628
+ [
2629
+ 'application/json'
2630
+ ]
2631
+ )
2632
+ )
2633
+ if _default_content_type is not None:
2634
+ _header_params['Content-Type'] = _default_content_type
2641
2635
 
2642
2636
  # authentication setting
2643
2637
  _auth_settings: List[str] = [
@@ -2645,8 +2639,8 @@ class AnalysesCoreApi:
2645
2639
  ]
2646
2640
 
2647
2641
  return self.api_client.param_serialize(
2648
- method='GET',
2649
- resource_path='/v2/analyses/symbol_info/{binary_id}',
2642
+ method='POST',
2643
+ resource_path='/v2/binary_ann/{analysis_id}',
2650
2644
  path_params=_path_params,
2651
2645
  query_params=_query_params,
2652
2646
  header_params=_header_params,