revengai 1.1.1__py3-none-any.whl → 1.73.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.73.0.dist-info}/METADATA +20 -7
  335. revengai-1.73.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.73.0.dist-info}/WHEEL +0 -0
@@ -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 AnalyseCreated(BaseModel):
26
- """
27
- AnalyseCreated
28
- """ # noqa: E501
29
- success: Optional[Any] = None
30
- binary_id: Optional[Any]
31
- __properties: ClassVar[List[str]] = ["success", "binary_id"]
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 AnalyseCreated 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 binary_id (nullable) is None
78
- # and model_fields_set contains the field
79
- if self.binary_id is None and "binary_id" in self.model_fields_set:
80
- _dict['binary_id'] = 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 AnalyseCreated 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
- "binary_id": obj.get("binary_id")
96
- })
97
- return _obj
98
-
99
-
@@ -1,138 +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 revengai.models.app_api_rest_v1_analyse_schema_model_name import AppApiRestV1AnalyseSchemaModelName
23
- from revengai.models.app_api_rest_v1_analyse_schema_symbols import AppApiRestV1AnalyseSchemaSymbols
24
- from revengai.models.file_options import FileOptions
25
- from revengai.models.isa_options import IsaOptions
26
- from revengai.models.platform_options import PlatformOptions
27
- from typing import Optional, Set
28
- from typing_extensions import Self
29
-
30
- class AnalysisForm(BaseModel):
31
- """
32
- Form Model for receiving the analysis request
33
- """ # noqa: E501
34
- model_name: AppApiRestV1AnalyseSchemaModelName
35
- platform_options: Optional[PlatformOptions] = None
36
- isa_options: Optional[IsaOptions] = None
37
- file_options: Optional[FileOptions] = None
38
- dynamic_execution: Optional[StrictBool] = False
39
- tags: Optional[List[StrictStr]] = None
40
- binary_scope: Optional[StrictStr] = 'PRIVATE'
41
- symbols: Optional[AppApiRestV1AnalyseSchemaSymbols] = None
42
- file_name: Optional[StrictStr] = 'empty'
43
- command_line_args: Optional[StrictStr] = ''
44
- priority: Optional[StrictInt] = 0
45
- sha_256_hash: Optional[StrictStr] = ''
46
- debug_hash: Optional[StrictStr] = None
47
- size_in_bytes: StrictInt
48
- skip_scraping: Optional[StrictBool] = False
49
- skip_cves: Optional[StrictBool] = False
50
- skip_sbom: Optional[StrictBool] = False
51
- skip_capabilities: Optional[StrictBool] = False
52
- ignore_cache: Optional[StrictBool] = False
53
- advanced_analysis: Optional[StrictBool] = False
54
- __properties: ClassVar[List[str]] = ["model_name", "platform_options", "isa_options", "file_options", "dynamic_execution", "tags", "binary_scope", "symbols", "file_name", "command_line_args", "priority", "sha_256_hash", "debug_hash", "size_in_bytes", "skip_scraping", "skip_cves", "skip_sbom", "skip_capabilities", "ignore_cache", "advanced_analysis"]
55
-
56
- model_config = ConfigDict(
57
- populate_by_name=True,
58
- validate_assignment=True,
59
- protected_namespaces=(),
60
- )
61
-
62
-
63
- def to_str(self) -> str:
64
- """Returns the string representation of the model using alias"""
65
- return pprint.pformat(self.model_dump(by_alias=True))
66
-
67
- def to_json(self) -> str:
68
- """Returns the JSON representation of the model using alias"""
69
- # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
70
- return json.dumps(self.to_dict())
71
-
72
- @classmethod
73
- def from_json(cls, json_str: str) -> Optional[Self]:
74
- """Create an instance of AnalysisForm from a JSON string"""
75
- return cls.from_dict(json.loads(json_str))
76
-
77
- def to_dict(self) -> Dict[str, Any]:
78
- """Return the dictionary representation of the model using alias.
79
-
80
- This has the following differences from calling pydantic's
81
- `self.model_dump(by_alias=True)`:
82
-
83
- * `None` is only added to the output dict for nullable fields that
84
- were set at model initialization. Other fields with value `None`
85
- are ignored.
86
- """
87
- excluded_fields: Set[str] = set([
88
- ])
89
-
90
- _dict = self.model_dump(
91
- by_alias=True,
92
- exclude=excluded_fields,
93
- exclude_none=True,
94
- )
95
- # override the default output from pydantic by calling `to_dict()` of symbols
96
- if self.symbols:
97
- _dict['symbols'] = self.symbols.to_dict()
98
- # set to None if debug_hash (nullable) is None
99
- # and model_fields_set contains the field
100
- if self.debug_hash is None and "debug_hash" in self.model_fields_set:
101
- _dict['debug_hash'] = None
102
-
103
- return _dict
104
-
105
- @classmethod
106
- def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
107
- """Create an instance of AnalysisForm from a dict"""
108
- if obj is None:
109
- return None
110
-
111
- if not isinstance(obj, dict):
112
- return cls.model_validate(obj)
113
-
114
- _obj = cls.model_validate({
115
- "model_name": obj.get("model_name"),
116
- "platform_options": obj.get("platform_options"),
117
- "isa_options": obj.get("isa_options"),
118
- "file_options": obj.get("file_options"),
119
- "dynamic_execution": obj.get("dynamic_execution") if obj.get("dynamic_execution") is not None else False,
120
- "tags": obj.get("tags"),
121
- "binary_scope": obj.get("binary_scope") if obj.get("binary_scope") is not None else 'PRIVATE',
122
- "symbols": AppApiRestV1AnalyseSchemaSymbols.from_dict(obj["symbols"]) if obj.get("symbols") is not None else None,
123
- "file_name": obj.get("file_name") if obj.get("file_name") is not None else 'empty',
124
- "command_line_args": obj.get("command_line_args") if obj.get("command_line_args") is not None else '',
125
- "priority": obj.get("priority") if obj.get("priority") is not None else 0,
126
- "sha_256_hash": obj.get("sha_256_hash") if obj.get("sha_256_hash") is not None else '',
127
- "debug_hash": obj.get("debug_hash"),
128
- "size_in_bytes": obj.get("size_in_bytes"),
129
- "skip_scraping": obj.get("skip_scraping") if obj.get("skip_scraping") is not None else False,
130
- "skip_cves": obj.get("skip_cves") if obj.get("skip_cves") is not None else False,
131
- "skip_sbom": obj.get("skip_sbom") if obj.get("skip_sbom") is not None else False,
132
- "skip_capabilities": obj.get("skip_capabilities") if obj.get("skip_capabilities") is not None else False,
133
- "ignore_cache": obj.get("ignore_cache") if obj.get("ignore_cache") is not None else False,
134
- "advanced_analysis": obj.get("advanced_analysis") if obj.get("advanced_analysis") is not None else False
135
- })
136
- return _obj
137
-
138
-
@@ -1,94 +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, 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 AnalysisStatus(BaseModel):
26
- """
27
- AnalysisStatus
28
- """ # noqa: E501
29
- success: Optional[Any] = None
30
- status: StrictStr
31
- __properties: ClassVar[List[str]] = ["success", "status"]
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 AnalysisStatus 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
- return _dict
78
-
79
- @classmethod
80
- def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
81
- """Create an instance of AnalysisStatus from a dict"""
82
- if obj is None:
83
- return None
84
-
85
- if not isinstance(obj, dict):
86
- return cls.model_validate(obj)
87
-
88
- _obj = cls.model_validate({
89
- "success": obj.get("success"),
90
- "status": obj.get("status")
91
- })
92
- return _obj
93
-
94
-
@@ -1,108 +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, StrictFloat, StrictInt, StrictStr
21
- from typing import Any, ClassVar, Dict, List, Optional, Union
22
- from typing import Optional, Set
23
- from typing_extensions import Self
24
-
25
- class ANNInput(BaseModel):
26
- """
27
- ANNInput
28
- """ # noqa: E501
29
- result_per_function: Optional[StrictInt] = None
30
- debug_mode: Optional[StrictBool] = None
31
- distance: Optional[Union[StrictFloat, StrictInt]] = None
32
- collection: Optional[List[Optional[StrictStr]]] = None
33
- __properties: ClassVar[List[str]] = ["result_per_function", "debug_mode", "distance", "collection"]
34
-
35
- model_config = ConfigDict(
36
- populate_by_name=True,
37
- validate_assignment=True,
38
- protected_namespaces=(),
39
- )
40
-
41
-
42
- def to_str(self) -> str:
43
- """Returns the string representation of the model using alias"""
44
- return pprint.pformat(self.model_dump(by_alias=True))
45
-
46
- def to_json(self) -> str:
47
- """Returns the JSON representation of the model using alias"""
48
- # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
49
- return json.dumps(self.to_dict())
50
-
51
- @classmethod
52
- def from_json(cls, json_str: str) -> Optional[Self]:
53
- """Create an instance of ANNInput from a JSON string"""
54
- return cls.from_dict(json.loads(json_str))
55
-
56
- def to_dict(self) -> Dict[str, Any]:
57
- """Return the dictionary representation of the model using alias.
58
-
59
- This has the following differences from calling pydantic's
60
- `self.model_dump(by_alias=True)`:
61
-
62
- * `None` is only added to the output dict for nullable fields that
63
- were set at model initialization. Other fields with value `None`
64
- are ignored.
65
- """
66
- excluded_fields: Set[str] = set([
67
- ])
68
-
69
- _dict = self.model_dump(
70
- by_alias=True,
71
- exclude=excluded_fields,
72
- exclude_none=True,
73
- )
74
- # set to None if result_per_function (nullable) is None
75
- # and model_fields_set contains the field
76
- if self.result_per_function is None and "result_per_function" in self.model_fields_set:
77
- _dict['result_per_function'] = None
78
-
79
- # set to None if debug_mode (nullable) is None
80
- # and model_fields_set contains the field
81
- if self.debug_mode is None and "debug_mode" in self.model_fields_set:
82
- _dict['debug_mode'] = None
83
-
84
- # set to None if distance (nullable) is None
85
- # and model_fields_set contains the field
86
- if self.distance is None and "distance" in self.model_fields_set:
87
- _dict['distance'] = None
88
-
89
- return _dict
90
-
91
- @classmethod
92
- def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
93
- """Create an instance of ANNInput from a dict"""
94
- if obj is None:
95
- return None
96
-
97
- if not isinstance(obj, dict):
98
- return cls.model_validate(obj)
99
-
100
- _obj = cls.model_validate({
101
- "result_per_function": obj.get("result_per_function"),
102
- "debug_mode": obj.get("debug_mode"),
103
- "distance": obj.get("distance"),
104
- "collection": obj.get("collection")
105
- })
106
- return _obj
107
-
108
-
@@ -1,44 +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 json
17
- from enum import Enum
18
- from typing_extensions import Self
19
-
20
-
21
- class AppApiRestV1AnalyseSchemaModelName(str, Enum):
22
- """
23
- Custom enum for the model name
24
- """
25
-
26
- """
27
- allowed enum values
28
- """
29
- BINNET_MINUS_0_DOT_5_MINUS_X86_MINUS_WINDOWS = 'binnet-0.5-x86-windows'
30
- BINNET_MINUS_0_DOT_5_MINUS_X86_MINUS_LINUX = 'binnet-0.5-x86-linux'
31
- BINNET_MINUS_0_DOT_5_MINUS_X86_MINUS_MACOS = 'binnet-0.5-x86-macos'
32
- BINNET_MINUS_0_DOT_5_MINUS_X86_MINUS_ANDROID = 'binnet-0.5-x86-android'
33
- BINNET_MINUS_0_DOT_5_MINUS_X86_MINUS_32_MINUS_LINUX = 'binnet-0.5-x86-32-linux'
34
- BINNET_MINUS_0_DOT_5_MINUS_X86_MINUS_32_MINUS_WINDOWS = 'binnet-0.5-x86-32-windows'
35
- BINNET_MINUS_0_DOT_5_MINUS_ARM_MINUS_64_MINUS_LINUX = 'binnet-0.5-arm-64-linux'
36
- BINNET_MINUS_0_DOT_5_MINUS_ARM_MINUS_64_MINUS_WINDOWS = 'binnet-0.5-arm-64-windows'
37
- BINNET_MINUS_0_DOT_5 = 'binnet-0.5'
38
-
39
- @classmethod
40
- def from_json(cls, json_str: str) -> Self:
41
- """Create an instance of AppApiRestV1AnalyseSchemaModelName from a JSON string"""
42
- return cls(json.loads(json_str))
43
-
44
-
@@ -1,40 +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 json
17
- from enum import Enum
18
- from typing_extensions import Self
19
-
20
-
21
- class AppApiRestV1AnalyseSchemaStatus(str, Enum):
22
- """
23
- Custom enum for status
24
- """
25
-
26
- """
27
- allowed enum values
28
- """
29
- QUEUED = 'Queued'
30
- PROCESSING = 'Processing'
31
- COMPLETE = 'Complete'
32
- ERROR = 'Error'
33
- ALL = 'All'
34
-
35
- @classmethod
36
- def from_json(cls, json_str: str) -> Self:
37
- """Create an instance of AppApiRestV1AnalyseSchemaStatus from a JSON string"""
38
- return cls(json.loads(json_str))
39
-
40
-
@@ -1,97 +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, StrictInt
21
- from typing import Any, ClassVar, Dict, List, Optional
22
- from revengai.models.user_boundaries import UserBoundaries
23
- from typing import Optional, Set
24
- from typing_extensions import Self
25
-
26
- class AppApiRestV1AnalyseSchemaSymbols(BaseModel):
27
- """
28
- AppApiRestV1AnalyseSchemaSymbols
29
- """ # noqa: E501
30
- base_addr: Optional[StrictInt] = None
31
- functions: Optional[List[UserBoundaries]] = None
32
- __properties: ClassVar[List[str]] = ["base_addr", "functions"]
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 AppApiRestV1AnalyseSchemaSymbols 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 functions (list)
74
- _items = []
75
- if self.functions:
76
- for _item_functions in self.functions:
77
- if _item_functions:
78
- _items.append(_item_functions.to_dict())
79
- _dict['functions'] = _items
80
- return _dict
81
-
82
- @classmethod
83
- def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
84
- """Create an instance of AppApiRestV1AnalyseSchemaSymbols from a dict"""
85
- if obj is None:
86
- return None
87
-
88
- if not isinstance(obj, dict):
89
- return cls.model_validate(obj)
90
-
91
- _obj = cls.model_validate({
92
- "base_addr": obj.get("base_addr"),
93
- "functions": [UserBoundaries.from_dict(_item) for _item in obj["functions"]] if obj.get("functions") is not None else None
94
- })
95
- return _obj
96
-
97
-