revengai 1.1.1__py3-none-any.whl → 1.72.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.
Files changed (740) hide show
  1. revengai/__init__.py +41 -20
  2. revengai/api/analyses_comments_api.py +1 -1
  3. revengai/api/analyses_core_api.py +341 -3
  4. revengai/api/analyses_dynamic_execution_api.py +1 -1
  5. revengai/api/analyses_results_metadata_api.py +7 -7
  6. revengai/api/analyses_security_checks_api.py +1 -1
  7. revengai/api/authentication_users_api.py +1 -1
  8. revengai/api/binaries_api.py +1 -1
  9. revengai/api/collections_api.py +1 -1
  10. revengai/api/confidence_api.py +1 -1
  11. revengai/api/external_sources_api.py +1 -1
  12. revengai/api/firmware_api.py +1 -1
  13. revengai/api/functions_ai_decompilation_api.py +1 -1
  14. revengai/api/functions_block_comments_api.py +1 -1
  15. revengai/api/functions_core_api.py +1901 -417
  16. revengai/api/functions_data_types_api.py +13 -13
  17. revengai/api/functions_decompilation_api.py +1 -1
  18. revengai/api/functions_renaming_history_api.py +1 -1
  19. revengai/api/functions_threat_score_api.py +1 -1
  20. revengai/api/models_api.py +1 -1
  21. revengai/api/search_api.py +19 -2
  22. revengai/api_client.py +2 -2
  23. revengai/configuration.py +3 -3
  24. revengai/exceptions.py +1 -1
  25. revengai/models/__init__.py +27 -13
  26. revengai/models/addr.py +1 -1
  27. revengai/models/ai_decompilation_rating.py +1 -1
  28. revengai/models/{function_param_mapping.py → ai_unstrip_request.py} +10 -12
  29. revengai/models/analysis_access_info.py +1 -1
  30. revengai/models/analysis_config.py +1 -1
  31. revengai/models/analysis_create_request.py +4 -4
  32. revengai/models/analysis_create_response.py +1 -1
  33. revengai/models/analysis_detail_response.py +1 -1
  34. revengai/models/analysis_functions.py +1 -1
  35. revengai/models/analysis_record.py +1 -1
  36. revengai/models/analysis_scope.py +1 -1
  37. revengai/models/analysis_strings_response.py +1 -1
  38. revengai/models/{app_api_rest_v2_analyses_responses_analysis_tags.py → analysis_tags.py} +5 -5
  39. revengai/models/analysis_threat_score_data.py +1 -1
  40. revengai/models/analysis_update_request.py +1 -1
  41. revengai/models/analysis_update_tags_request.py +1 -1
  42. revengai/models/analysis_update_tags_response.py +1 -1
  43. revengai/models/ann_function.py +3 -3
  44. revengai/models/app_api_rest_v2_analyses_enums_dynamic_execution_status.py +1 -1
  45. revengai/models/app_api_rest_v2_analyses_enums_order_by.py +1 -1
  46. revengai/models/app_api_rest_v2_analyses_responses_tag_item.py +1 -1
  47. revengai/models/app_api_rest_v2_collections_enums_order_by.py +1 -1
  48. revengai/models/app_api_rest_v2_functions_responses_function.py +1 -1
  49. revengai/models/app_api_rest_v2_functions_types_function.py +1 -1
  50. revengai/models/app_services_binary_ann_schema_tag_item.py +1 -1
  51. revengai/models/app_services_dynamic_execution_schemas_dynamic_execution_status.py +1 -1
  52. revengai/models/argument.py +1 -1
  53. revengai/models/auto_unstrip_by_group_response.py +132 -0
  54. revengai/models/{app_api_rest_v1_analysis_info_schema_function_rename.py → auto_unstrip_request.py} +12 -10
  55. revengai/models/{upload_success.py → auto_unstrip_response.py} +39 -22
  56. revengai/models/base_response.py +1 -1
  57. revengai/models/base_response_analysis_create_response.py +1 -1
  58. revengai/models/base_response_analysis_detail_response.py +1 -1
  59. revengai/models/base_response_analysis_functions.py +1 -1
  60. revengai/models/base_response_analysis_strings_response.py +1 -1
  61. revengai/models/{app_core_responses_base_base_response_analysis_tags1.py → base_response_analysis_tags.py} +8 -8
  62. revengai/models/base_response_analysis_threat_score_data.py +1 -1
  63. revengai/models/base_response_analysis_update_tags_response.py +1 -1
  64. revengai/models/base_response_basic.py +1 -1
  65. revengai/models/base_response_binary_additional_response.py +1 -1
  66. revengai/models/base_response_binary_ann_list_response.py +1 -1
  67. revengai/models/base_response_binary_details_response.py +1 -1
  68. revengai/models/base_response_binary_externals_response.py +1 -1
  69. revengai/models/base_response_binary_search_response.py +1 -1
  70. revengai/models/base_response_block_comments_generation_for_function_response.py +1 -1
  71. revengai/models/base_response_block_comments_overview_generation_response.py +1 -1
  72. revengai/models/base_response_bool.py +1 -1
  73. revengai/models/base_response_box_plot_confidence.py +1 -1
  74. revengai/models/base_response_callees_caller_functions_response.py +1 -1
  75. revengai/models/base_response_capabilities.py +1 -1
  76. revengai/models/base_response_check_security_checks_task_response.py +1 -1
  77. revengai/models/base_response_child_binaries_response.py +1 -1
  78. revengai/models/base_response_collection_binaries_update_response.py +1 -1
  79. revengai/models/base_response_collection_response.py +1 -1
  80. revengai/models/base_response_collection_search_response.py +1 -1
  81. revengai/models/base_response_collection_tags_update_response.py +1 -1
  82. revengai/models/base_response_comment_response.py +1 -1
  83. revengai/models/base_response_communities.py +1 -1
  84. revengai/models/base_response_created.py +1 -1
  85. revengai/models/base_response_decompilation_response.py +1 -1
  86. revengai/models/base_response_dict.py +1 -1
  87. revengai/models/base_response_dynamic_execution_status.py +1 -1
  88. revengai/models/base_response_external_response.py +1 -1
  89. revengai/models/base_response_function_analysis_threat_score_data.py +1 -1
  90. revengai/models/base_response_function_blocks_response.py +1 -1
  91. revengai/models/base_response_function_capability_response.py +1 -1
  92. revengai/models/base_response_function_data_types.py +1 -1
  93. revengai/models/base_response_function_data_types_list.py +1 -1
  94. revengai/models/base_response_function_search_response.py +1 -1
  95. revengai/models/base_response_function_strings_response.py +1 -1
  96. revengai/models/base_response_function_task_response.py +1 -1
  97. revengai/models/base_response_function_threat_score.py +1 -1
  98. revengai/models/base_response_functions_detail_response.py +1 -1
  99. revengai/models/base_response_generate_function_data_types.py +1 -1
  100. revengai/models/base_response_generation_status_list.py +1 -1
  101. revengai/models/base_response_get_ai_decompilation_rating_response.py +1 -1
  102. revengai/models/base_response_get_ai_decompilation_task.py +1 -1
  103. revengai/models/base_response_get_public_user_response.py +1 -1
  104. revengai/models/base_response_get_user_response.py +1 -1
  105. revengai/models/base_response_list_collection_results.py +1 -1
  106. revengai/models/base_response_list_comment_response.py +1 -1
  107. revengai/models/base_response_list_die_match.py +1 -1
  108. revengai/models/base_response_list_function_box_plot_confidence.py +1 -1
  109. revengai/models/base_response_list_function_name_history.py +1 -1
  110. revengai/models/base_response_list_sbom.py +1 -1
  111. revengai/models/base_response_list_similar_functions_response.py +1 -1
  112. revengai/models/base_response_list_tag_origin_box_plot_confidence.py +1 -1
  113. revengai/models/base_response_list_user_activity_response.py +1 -1
  114. revengai/models/base_response_login_response.py +1 -1
  115. revengai/models/base_response_logs.py +1 -1
  116. revengai/models/base_response_models_response.py +1 -1
  117. revengai/models/base_response_nearest_neighbor_analysis.py +1 -1
  118. revengai/models/base_response_network_overview_response.py +1 -1
  119. revengai/models/base_response_params.py +1 -1
  120. revengai/models/base_response_process_dumps.py +1 -1
  121. revengai/models/base_response_process_registry.py +1 -1
  122. revengai/models/base_response_process_tree.py +1 -1
  123. revengai/models/base_response_queued_security_checks_task_response.py +1 -1
  124. revengai/models/base_response_recent.py +1 -1
  125. revengai/models/base_response_security_checks_response.py +1 -1
  126. revengai/models/base_response_status.py +1 -1
  127. revengai/models/base_response_str.py +1 -1
  128. revengai/models/base_response_symbols_info.py +1 -1
  129. revengai/models/base_response_tag_search_response.py +1 -1
  130. revengai/models/base_response_task_response.py +1 -1
  131. revengai/models/base_response_ttps.py +1 -1
  132. revengai/models/{app_core_responses_base_base_response_analysis_tags2.py → base_response_upload_response.py} +8 -8
  133. revengai/models/base_response_vulnerabilities.py +1 -1
  134. revengai/models/basic.py +1 -1
  135. revengai/models/binary_additional_details_data_response.py +1 -1
  136. revengai/models/binary_additional_response.py +1 -1
  137. revengai/models/binary_ann_form.py +1 -1
  138. revengai/models/binary_ann_list_response.py +1 -1
  139. revengai/models/binary_config.py +1 -1
  140. revengai/models/binary_details_response.py +1 -1
  141. revengai/models/binary_externals_response.py +1 -1
  142. revengai/models/binary_search_response.py +1 -1
  143. revengai/models/binary_search_result.py +1 -1
  144. revengai/models/binary_task_status.py +1 -1
  145. revengai/models/block.py +1 -1
  146. revengai/models/block_comments_generation_for_function_response.py +1 -1
  147. revengai/models/boundary.py +1 -1
  148. revengai/models/box_plot_confidence.py +1 -1
  149. revengai/models/callee_function_info.py +1 -1
  150. revengai/models/callees_caller_functions_response.py +1 -1
  151. revengai/models/caller_function_info.py +1 -1
  152. revengai/models/capabilities.py +1 -1
  153. revengai/models/capability.py +1 -1
  154. revengai/models/check_security_checks_task_response.py +1 -1
  155. revengai/models/child_binaries_response.py +1 -1
  156. revengai/models/code_signature_model.py +1 -1
  157. revengai/models/collection_binaries_update_request.py +1 -1
  158. revengai/models/collection_binaries_update_response.py +1 -1
  159. revengai/models/collection_binary_response.py +1 -1
  160. revengai/models/collection_create_request.py +1 -1
  161. revengai/models/collection_list_item.py +1 -1
  162. revengai/models/collection_response.py +1 -1
  163. revengai/models/collection_response_binaries_inner.py +1 -1
  164. revengai/models/collection_scope.py +1 -1
  165. revengai/models/collection_search_response.py +1 -1
  166. revengai/models/collection_search_result.py +1 -1
  167. revengai/models/collection_tags_update_request.py +1 -1
  168. revengai/models/collection_tags_update_response.py +1 -1
  169. revengai/models/collection_update_request.py +1 -1
  170. revengai/models/comment_base.py +1 -1
  171. revengai/models/comment_response.py +1 -1
  172. revengai/models/comment_update_request.py +1 -1
  173. revengai/models/communities.py +1 -1
  174. revengai/models/community_match_percentages.py +1 -1
  175. revengai/models/confidence_type.py +1 -1
  176. revengai/models/context.py +1 -1
  177. revengai/models/created.py +1 -1
  178. revengai/models/decompilation_comment_context.py +1 -1
  179. revengai/models/decompilation_response.py +1 -1
  180. revengai/models/die_match.py +1 -1
  181. revengai/models/dynamic_execution_status_input.py +1 -1
  182. revengai/models/elf_dynamic_entry.py +1 -1
  183. revengai/models/elf_import_model.py +1 -1
  184. revengai/models/elf_model.py +1 -1
  185. revengai/models/elf_relocation.py +1 -1
  186. revengai/models/elf_section.py +1 -1
  187. revengai/models/elf_security.py +1 -1
  188. revengai/models/elf_segment.py +1 -1
  189. revengai/models/elf_symbol.py +1 -1
  190. revengai/models/entrypoint_model.py +1 -1
  191. revengai/models/enumeration.py +1 -1
  192. revengai/models/error_model.py +1 -1
  193. revengai/models/export_model.py +1 -1
  194. revengai/models/exported_binary_ann_result.py +1 -1
  195. revengai/models/external_response.py +1 -1
  196. revengai/models/file_format.py +1 -1
  197. revengai/models/file_hashes.py +1 -1
  198. revengai/models/file_metadata.py +1 -1
  199. revengai/models/filters.py +1 -1
  200. revengai/models/function_analysis_threat_score_data.py +1 -1
  201. revengai/models/function_block_destination_response.py +1 -1
  202. revengai/models/function_block_response.py +1 -1
  203. revengai/models/function_blocks_response.py +1 -1
  204. revengai/models/function_boundary.py +1 -1
  205. revengai/models/function_box_plot_confidence.py +1 -1
  206. revengai/models/function_capability_response.py +1 -1
  207. revengai/models/function_comment_create_request.py +1 -1
  208. revengai/models/function_data_types.py +1 -1
  209. revengai/models/function_data_types_list.py +1 -1
  210. revengai/models/function_data_types_list_item.py +1 -1
  211. revengai/models/function_data_types_params.py +1 -1
  212. revengai/models/function_data_types_status.py +1 -1
  213. revengai/models/function_header.py +1 -1
  214. revengai/models/function_info_input.py +1 -1
  215. revengai/models/function_info_input_func_deps_inner.py +1 -1
  216. revengai/models/function_info_output.py +1 -1
  217. revengai/models/function_local_variable_response.py +1 -1
  218. revengai/models/function_mapping_full.py +1 -1
  219. revengai/models/function_name_confidence_body.py +1 -1
  220. revengai/models/function_name_history.py +1 -1
  221. revengai/models/function_name_input.py +1 -1
  222. revengai/models/function_param_response.py +1 -1
  223. revengai/models/function_rename.py +4 -4
  224. revengai/models/function_rename_map.py +3 -3
  225. revengai/models/function_search_response.py +1 -1
  226. revengai/models/function_search_result.py +1 -1
  227. revengai/models/function_string.py +1 -1
  228. revengai/models/function_strings_response.py +1 -1
  229. revengai/models/function_task_response.py +1 -1
  230. revengai/models/function_task_status.py +1 -1
  231. revengai/models/function_threat_score.py +1 -1
  232. revengai/models/function_type_input.py +1 -1
  233. revengai/models/function_type_output.py +1 -1
  234. revengai/models/functions_detail_response.py +1 -1
  235. revengai/models/functions_list_rename.py +1 -1
  236. revengai/models/generate_function_data_types.py +1 -1
  237. revengai/models/generation_status_list.py +1 -1
  238. revengai/models/get_ai_decompilation_rating_response.py +1 -1
  239. revengai/models/get_ai_decompilation_task.py +1 -1
  240. revengai/models/get_public_user_response.py +1 -1
  241. revengai/models/get_user_response.py +1 -1
  242. revengai/models/global_variable.py +1 -1
  243. revengai/models/icon_model.py +1 -1
  244. revengai/models/import_model.py +1 -1
  245. revengai/models/inverse_function_map_item.py +1 -1
  246. revengai/models/inverse_string_map_item.py +1 -1
  247. revengai/models/inverse_value.py +1 -1
  248. revengai/models/isa.py +1 -1
  249. revengai/models/list_collection_results.py +1 -1
  250. revengai/models/login_request.py +1 -1
  251. revengai/models/login_response.py +1 -1
  252. revengai/models/logs.py +1 -1
  253. revengai/models/{collections_count_form.py → matched_function_group.py} +12 -11
  254. revengai/models/{batch_function_rename_record.py → matched_function_suggestion.py} +18 -12
  255. revengai/models/meta_model.py +1 -1
  256. revengai/models/model_name.py +1 -1
  257. revengai/models/models_response.py +1 -1
  258. revengai/models/nearest_neighbor.py +1 -1
  259. revengai/models/network_overview_dns.py +1 -1
  260. revengai/models/network_overview_dns_answer.py +1 -1
  261. revengai/models/network_overview_metadata.py +1 -1
  262. revengai/models/network_overview_response.py +1 -1
  263. revengai/models/order.py +1 -1
  264. revengai/models/origin.py +1 -1
  265. revengai/models/pagination_model.py +1 -1
  266. revengai/models/params.py +1 -1
  267. revengai/models/pdb_debug_model.py +1 -1
  268. revengai/models/pe_model.py +1 -1
  269. revengai/models/platform.py +1 -1
  270. revengai/models/process.py +1 -1
  271. revengai/models/process_dump.py +1 -1
  272. revengai/models/process_dump_metadata.py +1 -1
  273. revengai/models/process_dumps.py +1 -1
  274. revengai/models/process_dumps_data.py +1 -1
  275. revengai/models/process_registry.py +1 -1
  276. revengai/models/process_tree.py +1 -1
  277. revengai/models/queued_security_checks_task_response.py +1 -1
  278. revengai/models/re_analysis_form.py +1 -1
  279. revengai/models/recent.py +1 -1
  280. revengai/models/registry.py +1 -1
  281. revengai/models/relative_binary_response.py +1 -1
  282. revengai/models/sandbox_options.py +1 -1
  283. revengai/models/sbom.py +1 -1
  284. revengai/models/sbom_package.py +1 -1
  285. revengai/models/scrape_third_party_config.py +1 -1
  286. revengai/models/search_binary_ids.py +1 -1
  287. revengai/models/search_function_ids.py +1 -1
  288. revengai/models/section_model.py +1 -1
  289. revengai/models/security_checks_response.py +1 -1
  290. revengai/models/security_checks_result.py +1 -1
  291. revengai/models/security_model.py +1 -1
  292. revengai/models/severity_type.py +1 -1
  293. revengai/models/similar_functions_response.py +1 -1
  294. revengai/models/single_code_certificate_model.py +1 -1
  295. revengai/models/single_code_signature_model.py +1 -1
  296. revengai/models/single_pdb_entry_model.py +1 -1
  297. revengai/models/single_section_model.py +1 -1
  298. revengai/models/stack_variable.py +1 -1
  299. revengai/models/status_input.py +1 -1
  300. revengai/models/status_output.py +1 -1
  301. revengai/models/string_functions.py +1 -1
  302. revengai/models/structure.py +1 -1
  303. revengai/models/structure_member.py +1 -1
  304. revengai/models/symbols.py +1 -1
  305. revengai/models/symbols_info.py +1 -1
  306. revengai/models/{tag_input.py → tag.py} +5 -5
  307. revengai/models/tag_confidence_body.py +1 -1
  308. revengai/models/tag_origin_box_plot_confidence.py +1 -1
  309. revengai/models/tag_response.py +1 -1
  310. revengai/models/tag_search_response.py +1 -1
  311. revengai/models/tag_search_result.py +1 -1
  312. revengai/models/tags.py +1 -1
  313. revengai/models/task_response.py +1 -1
  314. revengai/models/task_status.py +1 -1
  315. revengai/models/threat_score_function_body.py +1 -1
  316. revengai/models/timestamp_model.py +1 -1
  317. revengai/models/ttps.py +1 -1
  318. revengai/models/ttps_attack.py +1 -1
  319. revengai/models/ttps_data.py +1 -1
  320. revengai/models/ttps_element.py +1 -1
  321. revengai/models/ttps_occurance.py +1 -1
  322. revengai/models/type_definition.py +1 -1
  323. revengai/models/{search_form.py → unstrip_request.py} +15 -20
  324. revengai/models/update_function_data_types.py +1 -1
  325. revengai/models/{scope.py → upload_file_type.py} +8 -8
  326. revengai/models/{user_boundaries.py → upload_response.py} +14 -13
  327. revengai/models/upsert_ai_decomplation_rating_request.py +1 -1
  328. revengai/models/user_activity_response.py +1 -1
  329. revengai/models/vulnerabilities.py +1 -1
  330. revengai/models/vulnerability.py +1 -1
  331. revengai/models/vulnerability_type.py +1 -1
  332. revengai/models/workspace.py +1 -1
  333. revengai/rest.py +1 -1
  334. {revengai-1.1.1.dist-info → revengai-1.72.0.dist-info}/METADATA +20 -7
  335. revengai-1.72.0.dist-info/RECORD +339 -0
  336. revengai/api/v1_api.py +0 -6373
  337. revengai/models/analyse_created.py +0 -99
  338. revengai/models/analysis_form.py +0 -138
  339. revengai/models/analysis_status.py +0 -94
  340. revengai/models/ann_input.py +0 -108
  341. revengai/models/app_api_rest_v1_analyse_schema_model_name.py +0 -44
  342. revengai/models/app_api_rest_v1_analyse_schema_status.py +0 -40
  343. revengai/models/app_api_rest_v1_analyse_schema_symbols.py +0 -97
  344. revengai/models/app_api_rest_v1_analysis_info_responses_logs.py +0 -99
  345. revengai/models/app_api_rest_v1_ann_schema_ann_function.py +0 -135
  346. revengai/models/app_api_rest_v2_analyses_enums_model_name.py +0 -43
  347. revengai/models/app_api_rest_v2_analyses_enums_status.py +0 -41
  348. revengai/models/app_api_rest_v2_analyses_responses_logs.py +0 -87
  349. revengai/models/app_api_rest_v2_analyses_schemas_symbols.py +0 -97
  350. revengai/models/app_api_rest_v2_functions_rename_schema_function_rename.py +0 -94
  351. revengai/models/app_api_rest_v2_info_responses_analysis_tags.py +0 -104
  352. revengai/models/app_api_rest_v2_similarity_schema_ann_function.py +0 -121
  353. revengai/models/batch_ann.py +0 -106
  354. revengai/models/batch_function_rename.py +0 -95
  355. revengai/models/collection_count.py +0 -99
  356. revengai/models/config_settings.py +0 -101
  357. revengai/models/create_ai_decompilation_request.py +0 -87
  358. revengai/models/deleted_analysis.py +0 -99
  359. revengai/models/file_options.py +0 -41
  360. revengai/models/function_batch_ann.py +0 -106
  361. revengai/models/function_dump.py +0 -106
  362. revengai/models/function_list.py +0 -87
  363. revengai/models/function_list_basic.py +0 -99
  364. revengai/models/function_params.py +0 -95
  365. revengai/models/isa_options.py +0 -39
  366. revengai/models/model_list.py +0 -99
  367. revengai/models/platform_options.py +0 -40
  368. revengai/models/quick_search.py +0 -99
  369. revengai/models/recent_analysis.py +0 -99
  370. revengai/models/recent_analysis_form.py +0 -92
  371. revengai/models/rename.py +0 -99
  372. revengai/models/search_query.py +0 -99
  373. revengai/models/tag_output.py +0 -89
  374. revengai/test/__init__.py +0 -0
  375. revengai/test/test_addr.py +0 -50
  376. revengai/test/test_ai_decompilation_rating.py +0 -33
  377. revengai/test/test_analyse_created.py +0 -53
  378. revengai/test/test_analyses_comments_api.py +0 -59
  379. revengai/test/test_analyses_core_api.py +0 -136
  380. revengai/test/test_analyses_dynamic_execution_api.py +0 -80
  381. revengai/test/test_analyses_results_metadata_api.py +0 -143
  382. revengai/test/test_analyses_security_checks_api.py +0 -52
  383. revengai/test/test_analysis_access_info.py +0 -54
  384. revengai/test/test_analysis_config.py +0 -60
  385. revengai/test/test_analysis_create_request.py +0 -83
  386. revengai/test/test_analysis_create_response.py +0 -54
  387. revengai/test/test_analysis_detail_response.py +0 -83
  388. revengai/test/test_analysis_form.py +0 -81
  389. revengai/test/test_analysis_functions.py +0 -78
  390. revengai/test/test_analysis_record.py +0 -74
  391. revengai/test/test_analysis_scope.py +0 -33
  392. revengai/test/test_analysis_status.py +0 -53
  393. revengai/test/test_analysis_strings_response.py +0 -70
  394. revengai/test/test_analysis_threat_score_data.py +0 -64
  395. revengai/test/test_analysis_update_request.py +0 -52
  396. revengai/test/test_analysis_update_tags_request.py +0 -56
  397. revengai/test/test_analysis_update_tags_response.py +0 -60
  398. revengai/test/test_ann_function.py +0 -61
  399. revengai/test/test_ann_input.py +0 -56
  400. revengai/test/test_app_api_rest_v1_analyse_schema_model_name.py +0 -33
  401. revengai/test/test_app_api_rest_v1_analyse_schema_status.py +0 -33
  402. revengai/test/test_app_api_rest_v1_analyse_schema_symbols.py +0 -57
  403. revengai/test/test_app_api_rest_v1_analysis_info_responses_logs.py +0 -53
  404. revengai/test/test_app_api_rest_v1_analysis_info_schema_function_rename.py +0 -52
  405. revengai/test/test_app_api_rest_v1_ann_schema_ann_function.py +0 -74
  406. revengai/test/test_app_api_rest_v2_analyses_enums_dynamic_execution_status.py +0 -33
  407. revengai/test/test_app_api_rest_v2_analyses_enums_model_name.py +0 -33
  408. revengai/test/test_app_api_rest_v2_analyses_enums_order_by.py +0 -33
  409. revengai/test/test_app_api_rest_v2_analyses_enums_status.py +0 -33
  410. revengai/test/test_app_api_rest_v2_analyses_responses_analysis_tags.py +0 -74
  411. revengai/test/test_app_api_rest_v2_analyses_responses_logs.py +0 -52
  412. revengai/test/test_app_api_rest_v2_analyses_responses_tag_item.py +0 -55
  413. revengai/test/test_app_api_rest_v2_analyses_schemas_symbols.py +0 -57
  414. revengai/test/test_app_api_rest_v2_collections_enums_order_by.py +0 -33
  415. revengai/test/test_app_api_rest_v2_functions_rename_schema_function_rename.py +0 -52
  416. revengai/test/test_app_api_rest_v2_functions_responses_function.py +0 -54
  417. revengai/test/test_app_api_rest_v2_functions_types_function.py +0 -72
  418. revengai/test/test_app_api_rest_v2_info_responses_analysis_tags.py +0 -70
  419. revengai/test/test_app_api_rest_v2_similarity_schema_ann_function.py +0 -61
  420. revengai/test/test_app_core_responses_base_base_response_analysis_tags1.py +0 -73
  421. revengai/test/test_app_core_responses_base_base_response_analysis_tags2.py +0 -75
  422. revengai/test/test_app_services_binary_ann_schema_tag_item.py +0 -52
  423. revengai/test/test_app_services_dynamic_execution_schemas_dynamic_execution_status.py +0 -52
  424. revengai/test/test_argument.py +0 -59
  425. revengai/test/test_authentication_users_api.py +0 -66
  426. revengai/test/test_base_response.py +0 -63
  427. revengai/test/test_base_response_analysis_create_response.py +0 -65
  428. revengai/test/test_base_response_analysis_detail_response.py +0 -81
  429. revengai/test/test_base_response_analysis_functions.py +0 -77
  430. revengai/test/test_base_response_analysis_strings_response.py +0 -73
  431. revengai/test/test_base_response_analysis_threat_score_data.py +0 -70
  432. revengai/test/test_base_response_analysis_update_tags_response.py +0 -68
  433. revengai/test/test_base_response_basic.py +0 -74
  434. revengai/test/test_base_response_binary_additional_response.py +0 -259
  435. revengai/test/test_base_response_binary_ann_list_response.py +0 -83
  436. revengai/test/test_base_response_binary_details_response.py +0 -83
  437. revengai/test/test_base_response_binary_externals_response.py +0 -72
  438. revengai/test/test_base_response_binary_search_response.py +0 -77
  439. revengai/test/test_base_response_block_comments_generation_for_function_response.py +0 -64
  440. revengai/test/test_base_response_block_comments_overview_generation_response.py +0 -63
  441. revengai/test/test_base_response_bool.py +0 -63
  442. revengai/test/test_base_response_box_plot_confidence.py +0 -70
  443. revengai/test/test_base_response_callees_caller_functions_response.py +0 -82
  444. revengai/test/test_base_response_capabilities.py +0 -71
  445. revengai/test/test_base_response_check_security_checks_task_response.py +0 -64
  446. revengai/test/test_base_response_child_binaries_response.py +0 -73
  447. revengai/test/test_base_response_collection_binaries_update_response.py +0 -72
  448. revengai/test/test_base_response_collection_response.py +0 -78
  449. revengai/test/test_base_response_collection_search_response.py +0 -80
  450. revengai/test/test_base_response_collection_tags_update_response.py +0 -66
  451. revengai/test/test_base_response_comment_response.py +0 -71
  452. revengai/test/test_base_response_communities.py +0 -77
  453. revengai/test/test_base_response_created.py +0 -66
  454. revengai/test/test_base_response_decompilation_response.py +0 -66
  455. revengai/test/test_base_response_dict.py +0 -65
  456. revengai/test/test_base_response_dynamic_execution_status.py +0 -64
  457. revengai/test/test_base_response_external_response.py +0 -68
  458. revengai/test/test_base_response_function_analysis_threat_score_data.py +0 -70
  459. revengai/test/test_base_response_function_blocks_response.py +0 -96
  460. revengai/test/test_base_response_function_capability_response.py +0 -66
  461. revengai/test/test_base_response_function_data_types.py +0 -99
  462. revengai/test/test_base_response_function_data_types_list.py +0 -105
  463. revengai/test/test_base_response_function_search_response.py +0 -73
  464. revengai/test/test_base_response_function_strings_response.py +0 -69
  465. revengai/test/test_base_response_function_task_response.py +0 -65
  466. revengai/test/test_base_response_function_threat_score.py +0 -73
  467. revengai/test/test_base_response_functions_detail_response.py +0 -78
  468. revengai/test/test_base_response_generate_function_data_types.py +0 -74
  469. revengai/test/test_base_response_generation_status_list.py +0 -71
  470. revengai/test/test_base_response_get_ai_decompilation_rating_response.py +0 -64
  471. revengai/test/test_base_response_get_ai_decompilation_task.py +0 -118
  472. revengai/test/test_base_response_get_public_user_response.py +0 -65
  473. revengai/test/test_base_response_get_user_response.py +0 -70
  474. revengai/test/test_base_response_list_collection_results.py +0 -79
  475. revengai/test/test_base_response_list_comment_response.py +0 -73
  476. revengai/test/test_base_response_list_die_match.py +0 -69
  477. revengai/test/test_base_response_list_function_box_plot_confidence.py +0 -74
  478. revengai/test/test_base_response_list_function_name_history.py +0 -71
  479. revengai/test/test_base_response_list_sbom.py +0 -73
  480. revengai/test/test_base_response_list_similar_functions_response.py +0 -77
  481. revengai/test/test_base_response_list_tag_origin_box_plot_confidence.py +0 -76
  482. revengai/test/test_base_response_list_user_activity_response.py +0 -71
  483. revengai/test/test_base_response_login_response.py +0 -64
  484. revengai/test/test_base_response_logs.py +0 -64
  485. revengai/test/test_base_response_models_response.py +0 -66
  486. revengai/test/test_base_response_nearest_neighbor_analysis.py +0 -75
  487. revengai/test/test_base_response_network_overview_response.py +0 -80
  488. revengai/test/test_base_response_params.py +0 -70
  489. revengai/test/test_base_response_process_dumps.py +0 -76
  490. revengai/test/test_base_response_process_registry.py +0 -73
  491. revengai/test/test_base_response_process_tree.py +0 -78
  492. revengai/test/test_base_response_queued_security_checks_task_response.py +0 -64
  493. revengai/test/test_base_response_recent.py +0 -79
  494. revengai/test/test_base_response_security_checks_response.py +0 -76
  495. revengai/test/test_base_response_status.py +0 -65
  496. revengai/test/test_base_response_str.py +0 -63
  497. revengai/test/test_base_response_symbols_info.py +0 -68
  498. revengai/test/test_base_response_tag_search_response.py +0 -68
  499. revengai/test/test_base_response_task_response.py +0 -65
  500. revengai/test/test_base_response_ttps.py +0 -81
  501. revengai/test/test_base_response_vulnerabilities.py +0 -77
  502. revengai/test/test_basic.py +0 -72
  503. revengai/test/test_batch_ann.py +0 -55
  504. revengai/test/test_batch_function_rename.py +0 -60
  505. revengai/test/test_batch_function_rename_record.py +0 -54
  506. revengai/test/test_binaries_api.py +0 -73
  507. revengai/test/test_binary_additional_details_data_response.py +0 -256
  508. revengai/test/test_binary_additional_response.py +0 -441
  509. revengai/test/test_binary_ann_form.py +0 -58
  510. revengai/test/test_binary_ann_list_response.py +0 -90
  511. revengai/test/test_binary_config.py +0 -53
  512. revengai/test/test_binary_details_response.py +0 -90
  513. revengai/test/test_binary_externals_response.py +0 -68
  514. revengai/test/test_binary_search_response.py +0 -78
  515. revengai/test/test_binary_search_result.py +0 -72
  516. revengai/test/test_binary_task_status.py +0 -33
  517. revengai/test/test_block.py +0 -52
  518. revengai/test/test_block_comments_generation_for_function_response.py +0 -52
  519. revengai/test/test_boundary.py +0 -56
  520. revengai/test/test_box_plot_confidence.py +0 -64
  521. revengai/test/test_callee_function_info.py +0 -61
  522. revengai/test/test_callees_caller_functions_response.py +0 -87
  523. revengai/test/test_caller_function_info.py +0 -61
  524. revengai/test/test_capabilities.py +0 -66
  525. revengai/test/test_capability.py +0 -60
  526. revengai/test/test_check_security_checks_task_response.py +0 -52
  527. revengai/test/test_child_binaries_response.py +0 -66
  528. revengai/test/test_code_signature_model.py +0 -80
  529. revengai/test/test_collection_binaries_update_request.py +0 -56
  530. revengai/test/test_collection_binaries_update_response.py +0 -68
  531. revengai/test/test_collection_binary_response.py +0 -62
  532. revengai/test/test_collection_count.py +0 -53
  533. revengai/test/test_collection_create_request.py +0 -63
  534. revengai/test/test_collection_list_item.py +0 -72
  535. revengai/test/test_collection_response.py +0 -73
  536. revengai/test/test_collection_response_binaries_inner.py +0 -62
  537. revengai/test/test_collection_scope.py +0 -33
  538. revengai/test/test_collection_search_response.py +0 -84
  539. revengai/test/test_collection_search_result.py +0 -73
  540. revengai/test/test_collection_tags_update_request.py +0 -56
  541. revengai/test/test_collection_tags_update_response.py +0 -56
  542. revengai/test/test_collection_update_request.py +0 -53
  543. revengai/test/test_collections_api.py +0 -80
  544. revengai/test/test_collections_count_form.py +0 -52
  545. revengai/test/test_comment_base.py +0 -52
  546. revengai/test/test_comment_response.py +0 -65
  547. revengai/test/test_comment_update_request.py +0 -52
  548. revengai/test/test_communities.py +0 -78
  549. revengai/test/test_community_match_percentages.py +0 -58
  550. revengai/test/test_confidence_api.py +0 -59
  551. revengai/test/test_confidence_type.py +0 -33
  552. revengai/test/test_config_settings.py +0 -70
  553. revengai/test/test_context.py +0 -54
  554. revengai/test/test_create_ai_decompilation_request.py +0 -52
  555. revengai/test/test_created.py +0 -56
  556. revengai/test/test_decompilation_comment_context.py +0 -54
  557. revengai/test/test_decompilation_response.py +0 -56
  558. revengai/test/test_deleted_analysis.py +0 -52
  559. revengai/test/test_die_match.py +0 -58
  560. revengai/test/test_dynamic_execution_status_input.py +0 -33
  561. revengai/test/test_elf_dynamic_entry.py +0 -54
  562. revengai/test/test_elf_import_model.py +0 -58
  563. revengai/test/test_elf_model.py +0 -236
  564. revengai/test/test_elf_relocation.py +0 -64
  565. revengai/test/test_elf_section.py +0 -70
  566. revengai/test/test_elf_security.py +0 -60
  567. revengai/test/test_elf_segment.py +0 -68
  568. revengai/test/test_elf_symbol.py +0 -64
  569. revengai/test/test_entrypoint_model.py +0 -54
  570. revengai/test/test_enumeration.py +0 -60
  571. revengai/test/test_error_model.py +0 -54
  572. revengai/test/test_export_model.py +0 -62
  573. revengai/test/test_exported_binary_ann_result.py +0 -79
  574. revengai/test/test_external_response.py +0 -60
  575. revengai/test/test_external_sources_api.py +0 -73
  576. revengai/test/test_file_format.py +0 -33
  577. revengai/test/test_file_hashes.py +0 -66
  578. revengai/test/test_file_metadata.py +0 -74
  579. revengai/test/test_file_options.py +0 -33
  580. revengai/test/test_filters.py +0 -33
  581. revengai/test/test_firmware_api.py +0 -45
  582. revengai/test/test_function_analysis_threat_score_data.py +0 -64
  583. revengai/test/test_function_batch_ann.py +0 -55
  584. revengai/test/test_function_block_destination_response.py +0 -56
  585. revengai/test/test_function_block_response.py +0 -75
  586. revengai/test/test_function_blocks_response.py +0 -116
  587. revengai/test/test_function_boundary.py +0 -56
  588. revengai/test/test_function_box_plot_confidence.py +0 -68
  589. revengai/test/test_function_capability_response.py +0 -56
  590. revengai/test/test_function_comment_create_request.py +0 -55
  591. revengai/test/test_function_data_types.py +0 -88
  592. revengai/test/test_function_data_types_list.py +0 -132
  593. revengai/test/test_function_data_types_list_item.py +0 -90
  594. revengai/test/test_function_data_types_params.py +0 -56
  595. revengai/test/test_function_data_types_status.py +0 -56
  596. revengai/test/test_function_dump.py +0 -55
  597. revengai/test/test_function_header.py +0 -73
  598. revengai/test/test_function_info_input.py +0 -85
  599. revengai/test/test_function_info_input_func_deps_inner.py +0 -66
  600. revengai/test/test_function_info_output.py +0 -85
  601. revengai/test/test_function_list.py +0 -56
  602. revengai/test/test_function_list_basic.py +0 -53
  603. revengai/test/test_function_local_variable_response.py +0 -60
  604. revengai/test/test_function_mapping_full.py +0 -148
  605. revengai/test/test_function_name_confidence_body.py +0 -56
  606. revengai/test/test_function_name_history.py +0 -62
  607. revengai/test/test_function_name_input.py +0 -54
  608. revengai/test/test_function_param_mapping.py +0 -54
  609. revengai/test/test_function_param_response.py +0 -60
  610. revengai/test/test_function_params.py +0 -60
  611. revengai/test/test_function_rename.py +0 -52
  612. revengai/test/test_function_rename_map.py +0 -55
  613. revengai/test/test_function_search_response.py +0 -70
  614. revengai/test/test_function_search_result.py +0 -64
  615. revengai/test/test_function_string.py +0 -54
  616. revengai/test/test_function_strings_response.py +0 -62
  617. revengai/test/test_function_task_response.py +0 -52
  618. revengai/test/test_function_task_status.py +0 -33
  619. revengai/test/test_function_threat_score.py +0 -70
  620. revengai/test/test_function_type_input.py +0 -95
  621. revengai/test/test_function_type_output.py +0 -95
  622. revengai/test/test_functions_ai_decompilation_api.py +0 -108
  623. revengai/test/test_functions_block_comments_api.py +0 -73
  624. revengai/test/test_functions_core_api.py +0 -87
  625. revengai/test/test_functions_data_types_api.py +0 -101
  626. revengai/test/test_functions_decompilation_api.py +0 -80
  627. revengai/test/test_functions_detail_response.py +0 -74
  628. revengai/test/test_functions_list_rename.py +0 -62
  629. revengai/test/test_functions_renaming_history_api.py +0 -59
  630. revengai/test/test_functions_threat_score_api.py +0 -59
  631. revengai/test/test_generate_function_data_types.py +0 -72
  632. revengai/test/test_generation_status_list.py +0 -64
  633. revengai/test/test_get_ai_decompilation_rating_response.py +0 -52
  634. revengai/test/test_get_ai_decompilation_task.py +0 -157
  635. revengai/test/test_get_public_user_response.py +0 -54
  636. revengai/test/test_get_user_response.py +0 -64
  637. revengai/test/test_global_variable.py +0 -60
  638. revengai/test/test_icon_model.py +0 -52
  639. revengai/test/test_import_model.py +0 -66
  640. revengai/test/test_inverse_function_map_item.py +0 -55
  641. revengai/test/test_inverse_string_map_item.py +0 -54
  642. revengai/test/test_inverse_value.py +0 -52
  643. revengai/test/test_isa.py +0 -33
  644. revengai/test/test_isa_options.py +0 -33
  645. revengai/test/test_list_collection_results.py +0 -82
  646. revengai/test/test_login_request.py +0 -54
  647. revengai/test/test_login_response.py +0 -52
  648. revengai/test/test_logs.py +0 -52
  649. revengai/test/test_meta_model.py +0 -54
  650. revengai/test/test_model_list.py +0 -53
  651. revengai/test/test_model_name.py +0 -33
  652. revengai/test/test_models_api.py +0 -38
  653. revengai/test/test_models_response.py +0 -56
  654. revengai/test/test_nearest_neighbor.py +0 -66
  655. revengai/test/test_network_overview_dns.py +0 -64
  656. revengai/test/test_network_overview_dns_answer.py +0 -54
  657. revengai/test/test_network_overview_metadata.py +0 -58
  658. revengai/test/test_network_overview_response.py +0 -84
  659. revengai/test/test_order.py +0 -33
  660. revengai/test/test_origin.py +0 -33
  661. revengai/test/test_pagination_model.py +0 -56
  662. revengai/test/test_params.py +0 -64
  663. revengai/test/test_pdb_debug_model.py +0 -62
  664. revengai/test/test_pe_model.py +0 -220
  665. revengai/test/test_platform.py +0 -33
  666. revengai/test/test_platform_options.py +0 -33
  667. revengai/test/test_process.py +0 -72
  668. revengai/test/test_process_dump.py +0 -64
  669. revengai/test/test_process_dump_metadata.py +0 -56
  670. revengai/test/test_process_dumps.py +0 -76
  671. revengai/test/test_process_dumps_data.py +0 -72
  672. revengai/test/test_process_registry.py +0 -70
  673. revengai/test/test_process_tree.py +0 -80
  674. revengai/test/test_queued_security_checks_task_response.py +0 -52
  675. revengai/test/test_quick_search.py +0 -53
  676. revengai/test/test_re_analysis_form.py +0 -58
  677. revengai/test/test_recent.py +0 -82
  678. revengai/test/test_recent_analysis.py +0 -53
  679. revengai/test/test_recent_analysis_form.py +0 -53
  680. revengai/test/test_registry.py +0 -58
  681. revengai/test/test_relative_binary_response.py +0 -56
  682. revengai/test/test_rename.py +0 -53
  683. revengai/test/test_sandbox_options.py +0 -52
  684. revengai/test/test_sbom.py +0 -66
  685. revengai/test/test_sbom_package.py +0 -54
  686. revengai/test/test_scope.py +0 -33
  687. revengai/test/test_scrape_third_party_config.py +0 -51
  688. revengai/test/test_search_api.py +0 -59
  689. revengai/test/test_search_binary_ids.py +0 -50
  690. revengai/test/test_search_form.py +0 -56
  691. revengai/test/test_search_function_ids.py +0 -50
  692. revengai/test/test_search_query.py +0 -52
  693. revengai/test/test_section_model.py +0 -72
  694. revengai/test/test_security_checks_response.py +0 -76
  695. revengai/test/test_security_checks_result.py +0 -66
  696. revengai/test/test_security_model.py +0 -72
  697. revengai/test/test_severity_type.py +0 -33
  698. revengai/test/test_similar_functions_response.py +0 -74
  699. revengai/test/test_single_code_certificate_model.py +0 -62
  700. revengai/test/test_single_code_signature_model.py +0 -70
  701. revengai/test/test_single_pdb_entry_model.py +0 -56
  702. revengai/test/test_single_section_model.py +0 -64
  703. revengai/test/test_stack_variable.py +0 -61
  704. revengai/test/test_status_input.py +0 -33
  705. revengai/test/test_status_output.py +0 -54
  706. revengai/test/test_string_functions.py +0 -62
  707. revengai/test/test_structure.py +0 -71
  708. revengai/test/test_structure_member.py +0 -59
  709. revengai/test/test_symbols.py +0 -57
  710. revengai/test/test_symbols_info.py +0 -55
  711. revengai/test/test_tag_confidence_body.py +0 -60
  712. revengai/test/test_tag_input.py +0 -52
  713. revengai/test/test_tag_origin_box_plot_confidence.py +0 -72
  714. revengai/test/test_tag_output.py +0 -54
  715. revengai/test/test_tag_response.py +0 -54
  716. revengai/test/test_tag_search_response.py +0 -60
  717. revengai/test/test_tag_search_result.py +0 -54
  718. revengai/test/test_tags.py +0 -54
  719. revengai/test/test_task_response.py +0 -52
  720. revengai/test/test_task_status.py +0 -33
  721. revengai/test/test_threat_score_function_body.py +0 -53
  722. revengai/test/test_timestamp_model.py +0 -56
  723. revengai/test/test_ttps.py +0 -86
  724. revengai/test/test_ttps_attack.py +0 -54
  725. revengai/test/test_ttps_data.py +0 -82
  726. revengai/test/test_ttps_element.py +0 -74
  727. revengai/test/test_ttps_occurance.py +0 -54
  728. revengai/test/test_type_definition.py +0 -56
  729. revengai/test/test_update_function_data_types.py +0 -118
  730. revengai/test/test_upload_success.py +0 -54
  731. revengai/test/test_upsert_ai_decomplation_rating_request.py +0 -52
  732. revengai/test/test_user_activity_response.py +0 -62
  733. revengai/test/test_user_boundaries.py +0 -56
  734. revengai/test/test_v1_api.py +0 -185
  735. revengai/test/test_vulnerabilities.py +0 -78
  736. revengai/test/test_vulnerability.py +0 -71
  737. revengai/test/test_vulnerability_type.py +0 -33
  738. revengai/test/test_workspace.py +0 -33
  739. revengai-1.1.1.dist-info/RECORD +0 -741
  740. {revengai-1.1.1.dist-info → revengai-1.72.0.dist-info}/WHEEL +0 -0
@@ -1,104 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- RevEng.AI API
5
-
6
- RevEng.AI is Similarity Search Engine for executable binaries
7
-
8
- The version of the OpenAPI document: 0.0.1
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
10
-
11
- Do not edit the class manually.
12
- """ # noqa: E501
13
-
14
-
15
- from __future__ import annotations
16
- import pprint
17
- import re # noqa: F401
18
- import json
19
-
20
- from pydantic import BaseModel, ConfigDict, Field
21
- from typing import Any, ClassVar, Dict, List
22
- from revengai.models.tag_output import TagOutput
23
- from typing import Optional, Set
24
- from typing_extensions import Self
25
-
26
- class AppApiRestV2InfoResponsesAnalysisTags(BaseModel):
27
- """
28
- AppApiRestV2InfoResponsesAnalysisTags
29
- """ # noqa: E501
30
- analysis_tags: List[TagOutput] = Field(description="List of analysis tags")
31
- suggested_tags: List[TagOutput] = Field(description="List of suggested analysis tags")
32
- __properties: ClassVar[List[str]] = ["analysis_tags", "suggested_tags"]
33
-
34
- model_config = ConfigDict(
35
- populate_by_name=True,
36
- validate_assignment=True,
37
- protected_namespaces=(),
38
- )
39
-
40
-
41
- def to_str(self) -> str:
42
- """Returns the string representation of the model using alias"""
43
- return pprint.pformat(self.model_dump(by_alias=True))
44
-
45
- def to_json(self) -> str:
46
- """Returns the JSON representation of the model using alias"""
47
- # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
48
- return json.dumps(self.to_dict())
49
-
50
- @classmethod
51
- def from_json(cls, json_str: str) -> Optional[Self]:
52
- """Create an instance of AppApiRestV2InfoResponsesAnalysisTags from a JSON string"""
53
- return cls.from_dict(json.loads(json_str))
54
-
55
- def to_dict(self) -> Dict[str, Any]:
56
- """Return the dictionary representation of the model using alias.
57
-
58
- This has the following differences from calling pydantic's
59
- `self.model_dump(by_alias=True)`:
60
-
61
- * `None` is only added to the output dict for nullable fields that
62
- were set at model initialization. Other fields with value `None`
63
- are ignored.
64
- """
65
- excluded_fields: Set[str] = set([
66
- ])
67
-
68
- _dict = self.model_dump(
69
- by_alias=True,
70
- exclude=excluded_fields,
71
- exclude_none=True,
72
- )
73
- # override the default output from pydantic by calling `to_dict()` of each item in analysis_tags (list)
74
- _items = []
75
- if self.analysis_tags:
76
- for _item_analysis_tags in self.analysis_tags:
77
- if _item_analysis_tags:
78
- _items.append(_item_analysis_tags.to_dict())
79
- _dict['analysis_tags'] = _items
80
- # override the default output from pydantic by calling `to_dict()` of each item in suggested_tags (list)
81
- _items = []
82
- if self.suggested_tags:
83
- for _item_suggested_tags in self.suggested_tags:
84
- if _item_suggested_tags:
85
- _items.append(_item_suggested_tags.to_dict())
86
- _dict['suggested_tags'] = _items
87
- return _dict
88
-
89
- @classmethod
90
- def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
91
- """Create an instance of AppApiRestV2InfoResponsesAnalysisTags from a dict"""
92
- if obj is None:
93
- return None
94
-
95
- if not isinstance(obj, dict):
96
- return cls.model_validate(obj)
97
-
98
- _obj = cls.model_validate({
99
- "analysis_tags": [TagOutput.from_dict(_item) for _item in obj["analysis_tags"]] if obj.get("analysis_tags") is not None else None,
100
- "suggested_tags": [TagOutput.from_dict(_item) for _item in obj["suggested_tags"]] if obj.get("suggested_tags") is not None else None
101
- })
102
- return _obj
103
-
104
-
@@ -1,121 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- RevEng.AI API
5
-
6
- RevEng.AI is Similarity Search Engine for executable binaries
7
-
8
- The version of the OpenAPI document: 0.0.1
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
10
-
11
- Do not edit the class manually.
12
- """ # noqa: E501
13
-
14
-
15
- from __future__ import annotations
16
- import pprint
17
- import re # noqa: F401
18
- import json
19
-
20
- from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt
21
- from typing import Any, ClassVar, Dict, List, Optional, Union
22
- from typing_extensions import Annotated
23
- from revengai.models.search_binary_ids import SearchBinaryIds
24
- from revengai.models.search_function_ids import SearchFunctionIds
25
- from typing import Optional, Set
26
- from typing_extensions import Self
27
-
28
- class AppApiRestV2SimilaritySchemaANNFunction(BaseModel):
29
- """
30
- AppApiRestV2SimilaritySchemaANNFunction
31
- """ # noqa: E501
32
- limit: Optional[StrictInt] = Field(default=5, description="The amount of neighbours per function ID")
33
- distance: Optional[Union[StrictFloat, StrictInt]] = Field(default=0.1, description="The distance between two neighbours")
34
- analysis_search_ids: Optional[List[Optional[StrictInt]]] = Field(default=None, description="Perform a search on functions within a list of analyses")
35
- collection_search_ids: Optional[Annotated[List[Optional[StrictInt]], Field(max_length=5)]] = Field(default=None, description="Search only within these collections")
36
- search_binary_ids: Optional[SearchBinaryIds] = None
37
- search_function_ids: Optional[SearchFunctionIds] = None
38
- debug_only: Optional[StrictBool] = Field(default=False, description="Searches for only functions which are debug")
39
- additional_properties: Dict[str, Any] = {}
40
- __properties: ClassVar[List[str]] = ["limit", "distance", "analysis_search_ids", "collection_search_ids", "search_binary_ids", "search_function_ids", "debug_only"]
41
-
42
- model_config = ConfigDict(
43
- populate_by_name=True,
44
- validate_assignment=True,
45
- protected_namespaces=(),
46
- )
47
-
48
-
49
- def to_str(self) -> str:
50
- """Returns the string representation of the model using alias"""
51
- return pprint.pformat(self.model_dump(by_alias=True))
52
-
53
- def to_json(self) -> str:
54
- """Returns the JSON representation of the model using alias"""
55
- # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
56
- return json.dumps(self.to_dict())
57
-
58
- @classmethod
59
- def from_json(cls, json_str: str) -> Optional[Self]:
60
- """Create an instance of AppApiRestV2SimilaritySchemaANNFunction from a JSON string"""
61
- return cls.from_dict(json.loads(json_str))
62
-
63
- def to_dict(self) -> Dict[str, Any]:
64
- """Return the dictionary representation of the model using alias.
65
-
66
- This has the following differences from calling pydantic's
67
- `self.model_dump(by_alias=True)`:
68
-
69
- * `None` is only added to the output dict for nullable fields that
70
- were set at model initialization. Other fields with value `None`
71
- are ignored.
72
- * Fields in `self.additional_properties` are added to the output dict.
73
- """
74
- excluded_fields: Set[str] = set([
75
- "additional_properties",
76
- ])
77
-
78
- _dict = self.model_dump(
79
- by_alias=True,
80
- exclude=excluded_fields,
81
- exclude_none=True,
82
- )
83
- # override the default output from pydantic by calling `to_dict()` of search_binary_ids
84
- if self.search_binary_ids:
85
- _dict['search_binary_ids'] = self.search_binary_ids.to_dict()
86
- # override the default output from pydantic by calling `to_dict()` of search_function_ids
87
- if self.search_function_ids:
88
- _dict['search_function_ids'] = self.search_function_ids.to_dict()
89
- # puts key-value pairs in additional_properties in the top level
90
- if self.additional_properties is not None:
91
- for _key, _value in self.additional_properties.items():
92
- _dict[_key] = _value
93
-
94
- return _dict
95
-
96
- @classmethod
97
- def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
98
- """Create an instance of AppApiRestV2SimilaritySchemaANNFunction from a dict"""
99
- if obj is None:
100
- return None
101
-
102
- if not isinstance(obj, dict):
103
- return cls.model_validate(obj)
104
-
105
- _obj = cls.model_validate({
106
- "limit": obj.get("limit") if obj.get("limit") is not None else 5,
107
- "distance": obj.get("distance") if obj.get("distance") is not None else 0.1,
108
- "analysis_search_ids": obj.get("analysis_search_ids"),
109
- "collection_search_ids": obj.get("collection_search_ids"),
110
- "search_binary_ids": SearchBinaryIds.from_dict(obj["search_binary_ids"]) if obj.get("search_binary_ids") is not None else None,
111
- "search_function_ids": SearchFunctionIds.from_dict(obj["search_function_ids"]) if obj.get("search_function_ids") is not None else None,
112
- "debug_only": obj.get("debug_only") if obj.get("debug_only") is not None else False
113
- })
114
- # store additional fields in additional_properties
115
- for _key in obj.keys():
116
- if _key not in cls.__properties:
117
- _obj.additional_properties[_key] = obj.get(_key)
118
-
119
- return _obj
120
-
121
-
@@ -1,106 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- RevEng.AI API
5
-
6
- RevEng.AI is Similarity Search Engine for executable binaries
7
-
8
- The version of the OpenAPI document: 0.0.1
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
10
-
11
- Do not edit the class manually.
12
- """ # noqa: E501
13
-
14
-
15
- from __future__ import annotations
16
- import pprint
17
- import re # noqa: F401
18
- import json
19
-
20
- from pydantic import BaseModel, ConfigDict
21
- from typing import Any, ClassVar, Dict, List, Optional
22
- from typing import Optional, Set
23
- from typing_extensions import Self
24
-
25
- class BatchAnn(BaseModel):
26
- """
27
- BatchAnn
28
- """ # noqa: E501
29
- success: Optional[Any] = None
30
- settings: Optional[Any]
31
- function_matches: Optional[Any]
32
- __properties: ClassVar[List[str]] = ["success", "settings", "function_matches"]
33
-
34
- model_config = ConfigDict(
35
- populate_by_name=True,
36
- validate_assignment=True,
37
- protected_namespaces=(),
38
- )
39
-
40
-
41
- def to_str(self) -> str:
42
- """Returns the string representation of the model using alias"""
43
- return pprint.pformat(self.model_dump(by_alias=True))
44
-
45
- def to_json(self) -> str:
46
- """Returns the JSON representation of the model using alias"""
47
- # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
48
- return json.dumps(self.to_dict())
49
-
50
- @classmethod
51
- def from_json(cls, json_str: str) -> Optional[Self]:
52
- """Create an instance of BatchAnn from a JSON string"""
53
- return cls.from_dict(json.loads(json_str))
54
-
55
- def to_dict(self) -> Dict[str, Any]:
56
- """Return the dictionary representation of the model using alias.
57
-
58
- This has the following differences from calling pydantic's
59
- `self.model_dump(by_alias=True)`:
60
-
61
- * `None` is only added to the output dict for nullable fields that
62
- were set at model initialization. Other fields with value `None`
63
- are ignored.
64
- """
65
- excluded_fields: Set[str] = set([
66
- ])
67
-
68
- _dict = self.model_dump(
69
- by_alias=True,
70
- exclude=excluded_fields,
71
- exclude_none=True,
72
- )
73
- # set to None if success (nullable) is None
74
- # and model_fields_set contains the field
75
- if self.success is None and "success" in self.model_fields_set:
76
- _dict['success'] = None
77
-
78
- # set to None if settings (nullable) is None
79
- # and model_fields_set contains the field
80
- if self.settings is None and "settings" in self.model_fields_set:
81
- _dict['settings'] = None
82
-
83
- # set to None if function_matches (nullable) is None
84
- # and model_fields_set contains the field
85
- if self.function_matches is None and "function_matches" in self.model_fields_set:
86
- _dict['function_matches'] = None
87
-
88
- return _dict
89
-
90
- @classmethod
91
- def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
92
- """Create an instance of BatchAnn from a dict"""
93
- if obj is None:
94
- return None
95
-
96
- if not isinstance(obj, dict):
97
- return cls.model_validate(obj)
98
-
99
- _obj = cls.model_validate({
100
- "success": obj.get("success"),
101
- "settings": obj.get("settings"),
102
- "function_matches": obj.get("function_matches")
103
- })
104
- return _obj
105
-
106
-
@@ -1,95 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- RevEng.AI API
5
-
6
- RevEng.AI is Similarity Search Engine for executable binaries
7
-
8
- The version of the OpenAPI document: 0.0.1
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
10
-
11
- Do not edit the class manually.
12
- """ # noqa: E501
13
-
14
-
15
- from __future__ import annotations
16
- import pprint
17
- import re # noqa: F401
18
- import json
19
-
20
- from pydantic import BaseModel, ConfigDict
21
- from typing import Any, ClassVar, Dict, List
22
- from revengai.models.batch_function_rename_record import BatchFunctionRenameRecord
23
- from typing import Optional, Set
24
- from typing_extensions import Self
25
-
26
- class BatchFunctionRename(BaseModel):
27
- """
28
- BatchFunctionRename
29
- """ # noqa: E501
30
- new_name_mapping: List[BatchFunctionRenameRecord]
31
- __properties: ClassVar[List[str]] = ["new_name_mapping"]
32
-
33
- model_config = ConfigDict(
34
- populate_by_name=True,
35
- validate_assignment=True,
36
- protected_namespaces=(),
37
- )
38
-
39
-
40
- def to_str(self) -> str:
41
- """Returns the string representation of the model using alias"""
42
- return pprint.pformat(self.model_dump(by_alias=True))
43
-
44
- def to_json(self) -> str:
45
- """Returns the JSON representation of the model using alias"""
46
- # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
47
- return json.dumps(self.to_dict())
48
-
49
- @classmethod
50
- def from_json(cls, json_str: str) -> Optional[Self]:
51
- """Create an instance of BatchFunctionRename from a JSON string"""
52
- return cls.from_dict(json.loads(json_str))
53
-
54
- def to_dict(self) -> Dict[str, Any]:
55
- """Return the dictionary representation of the model using alias.
56
-
57
- This has the following differences from calling pydantic's
58
- `self.model_dump(by_alias=True)`:
59
-
60
- * `None` is only added to the output dict for nullable fields that
61
- were set at model initialization. Other fields with value `None`
62
- are ignored.
63
- """
64
- excluded_fields: Set[str] = set([
65
- ])
66
-
67
- _dict = self.model_dump(
68
- by_alias=True,
69
- exclude=excluded_fields,
70
- exclude_none=True,
71
- )
72
- # override the default output from pydantic by calling `to_dict()` of each item in new_name_mapping (list)
73
- _items = []
74
- if self.new_name_mapping:
75
- for _item_new_name_mapping in self.new_name_mapping:
76
- if _item_new_name_mapping:
77
- _items.append(_item_new_name_mapping.to_dict())
78
- _dict['new_name_mapping'] = _items
79
- return _dict
80
-
81
- @classmethod
82
- def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
83
- """Create an instance of BatchFunctionRename from a dict"""
84
- if obj is None:
85
- return None
86
-
87
- if not isinstance(obj, dict):
88
- return cls.model_validate(obj)
89
-
90
- _obj = cls.model_validate({
91
- "new_name_mapping": [BatchFunctionRenameRecord.from_dict(_item) for _item in obj["new_name_mapping"]] if obj.get("new_name_mapping") is not None else None
92
- })
93
- return _obj
94
-
95
-
@@ -1,99 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- RevEng.AI API
5
-
6
- RevEng.AI is Similarity Search Engine for executable binaries
7
-
8
- The version of the OpenAPI document: 0.0.1
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
10
-
11
- Do not edit the class manually.
12
- """ # noqa: E501
13
-
14
-
15
- from __future__ import annotations
16
- import pprint
17
- import re # noqa: F401
18
- import json
19
-
20
- from pydantic import BaseModel, ConfigDict
21
- from typing import Any, ClassVar, Dict, List, Optional
22
- from typing import Optional, Set
23
- from typing_extensions import Self
24
-
25
- class CollectionCount(BaseModel):
26
- """
27
- CollectionCount
28
- """ # noqa: E501
29
- success: Optional[Any] = None
30
- count: Optional[Any]
31
- __properties: ClassVar[List[str]] = ["success", "count"]
32
-
33
- model_config = ConfigDict(
34
- populate_by_name=True,
35
- validate_assignment=True,
36
- protected_namespaces=(),
37
- )
38
-
39
-
40
- def to_str(self) -> str:
41
- """Returns the string representation of the model using alias"""
42
- return pprint.pformat(self.model_dump(by_alias=True))
43
-
44
- def to_json(self) -> str:
45
- """Returns the JSON representation of the model using alias"""
46
- # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
47
- return json.dumps(self.to_dict())
48
-
49
- @classmethod
50
- def from_json(cls, json_str: str) -> Optional[Self]:
51
- """Create an instance of CollectionCount from a JSON string"""
52
- return cls.from_dict(json.loads(json_str))
53
-
54
- def to_dict(self) -> Dict[str, Any]:
55
- """Return the dictionary representation of the model using alias.
56
-
57
- This has the following differences from calling pydantic's
58
- `self.model_dump(by_alias=True)`:
59
-
60
- * `None` is only added to the output dict for nullable fields that
61
- were set at model initialization. Other fields with value `None`
62
- are ignored.
63
- """
64
- excluded_fields: Set[str] = set([
65
- ])
66
-
67
- _dict = self.model_dump(
68
- by_alias=True,
69
- exclude=excluded_fields,
70
- exclude_none=True,
71
- )
72
- # set to None if success (nullable) is None
73
- # and model_fields_set contains the field
74
- if self.success is None and "success" in self.model_fields_set:
75
- _dict['success'] = None
76
-
77
- # set to None if count (nullable) is None
78
- # and model_fields_set contains the field
79
- if self.count is None and "count" in self.model_fields_set:
80
- _dict['count'] = None
81
-
82
- return _dict
83
-
84
- @classmethod
85
- def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
86
- """Create an instance of CollectionCount from a dict"""
87
- if obj is None:
88
- return None
89
-
90
- if not isinstance(obj, dict):
91
- return cls.model_validate(obj)
92
-
93
- _obj = cls.model_validate({
94
- "success": obj.get("success"),
95
- "count": obj.get("count")
96
- })
97
- return _obj
98
-
99
-
@@ -1,101 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- RevEng.AI API
5
-
6
- RevEng.AI is Similarity Search Engine for executable binaries
7
-
8
- The version of the OpenAPI document: 0.0.1
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
10
-
11
- Do not edit the class manually.
12
- """ # noqa: E501
13
-
14
-
15
- from __future__ import annotations
16
- import pprint
17
- import re # noqa: F401
18
- import json
19
-
20
- from pydantic import BaseModel, ConfigDict, StrictBool, StrictInt, StrictStr
21
- from typing import Any, ClassVar, Dict, List, Optional
22
- from typing import Optional, Set
23
- from typing_extensions import Self
24
-
25
- class ConfigSettings(BaseModel):
26
- """
27
- ConfigSettings
28
- """ # noqa: E501
29
- success: Optional[StrictBool] = True
30
- max_file_size: Optional[StrictInt] = 52428800
31
- valid_models: Optional[List[Optional[StrictStr]]] = None
32
- isa_options: Optional[List[Optional[StrictStr]]] = None
33
- file_options: Optional[List[Optional[StrictStr]]] = None
34
- platform_options: Optional[List[Optional[StrictStr]]] = None
35
- analysis_status_conditions: Optional[List[Optional[StrictStr]]] = None
36
- analysis_scope_conditions: Optional[List[Optional[StrictStr]]] = None
37
- __properties: ClassVar[List[str]] = ["success", "max_file_size", "valid_models", "isa_options", "file_options", "platform_options", "analysis_status_conditions", "analysis_scope_conditions"]
38
-
39
- model_config = ConfigDict(
40
- populate_by_name=True,
41
- validate_assignment=True,
42
- protected_namespaces=(),
43
- )
44
-
45
-
46
- def to_str(self) -> str:
47
- """Returns the string representation of the model using alias"""
48
- return pprint.pformat(self.model_dump(by_alias=True))
49
-
50
- def to_json(self) -> str:
51
- """Returns the JSON representation of the model using alias"""
52
- # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
53
- return json.dumps(self.to_dict())
54
-
55
- @classmethod
56
- def from_json(cls, json_str: str) -> Optional[Self]:
57
- """Create an instance of ConfigSettings from a JSON string"""
58
- return cls.from_dict(json.loads(json_str))
59
-
60
- def to_dict(self) -> Dict[str, Any]:
61
- """Return the dictionary representation of the model using alias.
62
-
63
- This has the following differences from calling pydantic's
64
- `self.model_dump(by_alias=True)`:
65
-
66
- * `None` is only added to the output dict for nullable fields that
67
- were set at model initialization. Other fields with value `None`
68
- are ignored.
69
- """
70
- excluded_fields: Set[str] = set([
71
- ])
72
-
73
- _dict = self.model_dump(
74
- by_alias=True,
75
- exclude=excluded_fields,
76
- exclude_none=True,
77
- )
78
- return _dict
79
-
80
- @classmethod
81
- def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
82
- """Create an instance of ConfigSettings from a dict"""
83
- if obj is None:
84
- return None
85
-
86
- if not isinstance(obj, dict):
87
- return cls.model_validate(obj)
88
-
89
- _obj = cls.model_validate({
90
- "success": obj.get("success") if obj.get("success") is not None else True,
91
- "max_file_size": obj.get("max_file_size") if obj.get("max_file_size") is not None else 52428800,
92
- "valid_models": obj.get("valid_models"),
93
- "isa_options": obj.get("isa_options"),
94
- "file_options": obj.get("file_options"),
95
- "platform_options": obj.get("platform_options"),
96
- "analysis_status_conditions": obj.get("analysis_status_conditions"),
97
- "analysis_scope_conditions": obj.get("analysis_scope_conditions")
98
- })
99
- return _obj
100
-
101
-