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.
- revengai/__init__.py +41 -20
- revengai/api/analyses_comments_api.py +1 -1
- revengai/api/analyses_core_api.py +341 -3
- revengai/api/analyses_dynamic_execution_api.py +1 -1
- revengai/api/analyses_results_metadata_api.py +7 -7
- revengai/api/analyses_security_checks_api.py +1 -1
- revengai/api/authentication_users_api.py +1 -1
- revengai/api/binaries_api.py +1 -1
- revengai/api/collections_api.py +1 -1
- revengai/api/confidence_api.py +1 -1
- revengai/api/external_sources_api.py +1 -1
- revengai/api/firmware_api.py +1 -1
- revengai/api/functions_ai_decompilation_api.py +1 -1
- revengai/api/functions_block_comments_api.py +1 -1
- revengai/api/functions_core_api.py +1901 -417
- revengai/api/functions_data_types_api.py +13 -13
- revengai/api/functions_decompilation_api.py +1 -1
- revengai/api/functions_renaming_history_api.py +1 -1
- revengai/api/functions_threat_score_api.py +1 -1
- revengai/api/models_api.py +1 -1
- revengai/api/search_api.py +19 -2
- revengai/api_client.py +2 -2
- revengai/configuration.py +3 -3
- revengai/exceptions.py +1 -1
- revengai/models/__init__.py +27 -13
- revengai/models/addr.py +1 -1
- revengai/models/ai_decompilation_rating.py +1 -1
- revengai/models/{function_param_mapping.py → ai_unstrip_request.py} +10 -12
- revengai/models/analysis_access_info.py +1 -1
- revengai/models/analysis_config.py +1 -1
- revengai/models/analysis_create_request.py +4 -4
- revengai/models/analysis_create_response.py +1 -1
- revengai/models/analysis_detail_response.py +1 -1
- revengai/models/analysis_functions.py +1 -1
- revengai/models/analysis_record.py +1 -1
- revengai/models/analysis_scope.py +1 -1
- revengai/models/analysis_strings_response.py +1 -1
- revengai/models/{app_api_rest_v2_analyses_responses_analysis_tags.py → analysis_tags.py} +5 -5
- revengai/models/analysis_threat_score_data.py +1 -1
- revengai/models/analysis_update_request.py +1 -1
- revengai/models/analysis_update_tags_request.py +1 -1
- revengai/models/analysis_update_tags_response.py +1 -1
- revengai/models/ann_function.py +3 -3
- revengai/models/app_api_rest_v2_analyses_enums_dynamic_execution_status.py +1 -1
- revengai/models/app_api_rest_v2_analyses_enums_order_by.py +1 -1
- revengai/models/app_api_rest_v2_analyses_responses_tag_item.py +1 -1
- revengai/models/app_api_rest_v2_collections_enums_order_by.py +1 -1
- revengai/models/app_api_rest_v2_functions_responses_function.py +1 -1
- revengai/models/app_api_rest_v2_functions_types_function.py +1 -1
- revengai/models/app_services_binary_ann_schema_tag_item.py +1 -1
- revengai/models/app_services_dynamic_execution_schemas_dynamic_execution_status.py +1 -1
- revengai/models/argument.py +1 -1
- revengai/models/auto_unstrip_by_group_response.py +132 -0
- revengai/models/{app_api_rest_v1_analysis_info_schema_function_rename.py → auto_unstrip_request.py} +12 -10
- revengai/models/{upload_success.py → auto_unstrip_response.py} +39 -22
- revengai/models/base_response.py +1 -1
- revengai/models/base_response_analysis_create_response.py +1 -1
- revengai/models/base_response_analysis_detail_response.py +1 -1
- revengai/models/base_response_analysis_functions.py +1 -1
- revengai/models/base_response_analysis_strings_response.py +1 -1
- revengai/models/{app_core_responses_base_base_response_analysis_tags1.py → base_response_analysis_tags.py} +8 -8
- revengai/models/base_response_analysis_threat_score_data.py +1 -1
- revengai/models/base_response_analysis_update_tags_response.py +1 -1
- revengai/models/base_response_basic.py +1 -1
- revengai/models/base_response_binary_additional_response.py +1 -1
- revengai/models/base_response_binary_ann_list_response.py +1 -1
- revengai/models/base_response_binary_details_response.py +1 -1
- revengai/models/base_response_binary_externals_response.py +1 -1
- revengai/models/base_response_binary_search_response.py +1 -1
- revengai/models/base_response_block_comments_generation_for_function_response.py +1 -1
- revengai/models/base_response_block_comments_overview_generation_response.py +1 -1
- revengai/models/base_response_bool.py +1 -1
- revengai/models/base_response_box_plot_confidence.py +1 -1
- revengai/models/base_response_callees_caller_functions_response.py +1 -1
- revengai/models/base_response_capabilities.py +1 -1
- revengai/models/base_response_check_security_checks_task_response.py +1 -1
- revengai/models/base_response_child_binaries_response.py +1 -1
- revengai/models/base_response_collection_binaries_update_response.py +1 -1
- revengai/models/base_response_collection_response.py +1 -1
- revengai/models/base_response_collection_search_response.py +1 -1
- revengai/models/base_response_collection_tags_update_response.py +1 -1
- revengai/models/base_response_comment_response.py +1 -1
- revengai/models/base_response_communities.py +1 -1
- revengai/models/base_response_created.py +1 -1
- revengai/models/base_response_decompilation_response.py +1 -1
- revengai/models/base_response_dict.py +1 -1
- revengai/models/base_response_dynamic_execution_status.py +1 -1
- revengai/models/base_response_external_response.py +1 -1
- revengai/models/base_response_function_analysis_threat_score_data.py +1 -1
- revengai/models/base_response_function_blocks_response.py +1 -1
- revengai/models/base_response_function_capability_response.py +1 -1
- revengai/models/base_response_function_data_types.py +1 -1
- revengai/models/base_response_function_data_types_list.py +1 -1
- revengai/models/base_response_function_search_response.py +1 -1
- revengai/models/base_response_function_strings_response.py +1 -1
- revengai/models/base_response_function_task_response.py +1 -1
- revengai/models/base_response_function_threat_score.py +1 -1
- revengai/models/base_response_functions_detail_response.py +1 -1
- revengai/models/base_response_generate_function_data_types.py +1 -1
- revengai/models/base_response_generation_status_list.py +1 -1
- revengai/models/base_response_get_ai_decompilation_rating_response.py +1 -1
- revengai/models/base_response_get_ai_decompilation_task.py +1 -1
- revengai/models/base_response_get_public_user_response.py +1 -1
- revengai/models/base_response_get_user_response.py +1 -1
- revengai/models/base_response_list_collection_results.py +1 -1
- revengai/models/base_response_list_comment_response.py +1 -1
- revengai/models/base_response_list_die_match.py +1 -1
- revengai/models/base_response_list_function_box_plot_confidence.py +1 -1
- revengai/models/base_response_list_function_name_history.py +1 -1
- revengai/models/base_response_list_sbom.py +1 -1
- revengai/models/base_response_list_similar_functions_response.py +1 -1
- revengai/models/base_response_list_tag_origin_box_plot_confidence.py +1 -1
- revengai/models/base_response_list_user_activity_response.py +1 -1
- revengai/models/base_response_login_response.py +1 -1
- revengai/models/base_response_logs.py +1 -1
- revengai/models/base_response_models_response.py +1 -1
- revengai/models/base_response_nearest_neighbor_analysis.py +1 -1
- revengai/models/base_response_network_overview_response.py +1 -1
- revengai/models/base_response_params.py +1 -1
- revengai/models/base_response_process_dumps.py +1 -1
- revengai/models/base_response_process_registry.py +1 -1
- revengai/models/base_response_process_tree.py +1 -1
- revengai/models/base_response_queued_security_checks_task_response.py +1 -1
- revengai/models/base_response_recent.py +1 -1
- revengai/models/base_response_security_checks_response.py +1 -1
- revengai/models/base_response_status.py +1 -1
- revengai/models/base_response_str.py +1 -1
- revengai/models/base_response_symbols_info.py +1 -1
- revengai/models/base_response_tag_search_response.py +1 -1
- revengai/models/base_response_task_response.py +1 -1
- revengai/models/base_response_ttps.py +1 -1
- revengai/models/{app_core_responses_base_base_response_analysis_tags2.py → base_response_upload_response.py} +8 -8
- revengai/models/base_response_vulnerabilities.py +1 -1
- revengai/models/basic.py +1 -1
- revengai/models/binary_additional_details_data_response.py +1 -1
- revengai/models/binary_additional_response.py +1 -1
- revengai/models/binary_ann_form.py +1 -1
- revengai/models/binary_ann_list_response.py +1 -1
- revengai/models/binary_config.py +1 -1
- revengai/models/binary_details_response.py +1 -1
- revengai/models/binary_externals_response.py +1 -1
- revengai/models/binary_search_response.py +1 -1
- revengai/models/binary_search_result.py +1 -1
- revengai/models/binary_task_status.py +1 -1
- revengai/models/block.py +1 -1
- revengai/models/block_comments_generation_for_function_response.py +1 -1
- revengai/models/boundary.py +1 -1
- revengai/models/box_plot_confidence.py +1 -1
- revengai/models/callee_function_info.py +1 -1
- revengai/models/callees_caller_functions_response.py +1 -1
- revengai/models/caller_function_info.py +1 -1
- revengai/models/capabilities.py +1 -1
- revengai/models/capability.py +1 -1
- revengai/models/check_security_checks_task_response.py +1 -1
- revengai/models/child_binaries_response.py +1 -1
- revengai/models/code_signature_model.py +1 -1
- revengai/models/collection_binaries_update_request.py +1 -1
- revengai/models/collection_binaries_update_response.py +1 -1
- revengai/models/collection_binary_response.py +1 -1
- revengai/models/collection_create_request.py +1 -1
- revengai/models/collection_list_item.py +1 -1
- revengai/models/collection_response.py +1 -1
- revengai/models/collection_response_binaries_inner.py +1 -1
- revengai/models/collection_scope.py +1 -1
- revengai/models/collection_search_response.py +1 -1
- revengai/models/collection_search_result.py +1 -1
- revengai/models/collection_tags_update_request.py +1 -1
- revengai/models/collection_tags_update_response.py +1 -1
- revengai/models/collection_update_request.py +1 -1
- revengai/models/comment_base.py +1 -1
- revengai/models/comment_response.py +1 -1
- revengai/models/comment_update_request.py +1 -1
- revengai/models/communities.py +1 -1
- revengai/models/community_match_percentages.py +1 -1
- revengai/models/confidence_type.py +1 -1
- revengai/models/context.py +1 -1
- revengai/models/created.py +1 -1
- revengai/models/decompilation_comment_context.py +1 -1
- revengai/models/decompilation_response.py +1 -1
- revengai/models/die_match.py +1 -1
- revengai/models/dynamic_execution_status_input.py +1 -1
- revengai/models/elf_dynamic_entry.py +1 -1
- revengai/models/elf_import_model.py +1 -1
- revengai/models/elf_model.py +1 -1
- revengai/models/elf_relocation.py +1 -1
- revengai/models/elf_section.py +1 -1
- revengai/models/elf_security.py +1 -1
- revengai/models/elf_segment.py +1 -1
- revengai/models/elf_symbol.py +1 -1
- revengai/models/entrypoint_model.py +1 -1
- revengai/models/enumeration.py +1 -1
- revengai/models/error_model.py +1 -1
- revengai/models/export_model.py +1 -1
- revengai/models/exported_binary_ann_result.py +1 -1
- revengai/models/external_response.py +1 -1
- revengai/models/file_format.py +1 -1
- revengai/models/file_hashes.py +1 -1
- revengai/models/file_metadata.py +1 -1
- revengai/models/filters.py +1 -1
- revengai/models/function_analysis_threat_score_data.py +1 -1
- revengai/models/function_block_destination_response.py +1 -1
- revengai/models/function_block_response.py +1 -1
- revengai/models/function_blocks_response.py +1 -1
- revengai/models/function_boundary.py +1 -1
- revengai/models/function_box_plot_confidence.py +1 -1
- revengai/models/function_capability_response.py +1 -1
- revengai/models/function_comment_create_request.py +1 -1
- revengai/models/function_data_types.py +1 -1
- revengai/models/function_data_types_list.py +1 -1
- revengai/models/function_data_types_list_item.py +1 -1
- revengai/models/function_data_types_params.py +1 -1
- revengai/models/function_data_types_status.py +1 -1
- revengai/models/function_header.py +1 -1
- revengai/models/function_info_input.py +1 -1
- revengai/models/function_info_input_func_deps_inner.py +1 -1
- revengai/models/function_info_output.py +1 -1
- revengai/models/function_local_variable_response.py +1 -1
- revengai/models/function_mapping_full.py +1 -1
- revengai/models/function_name_confidence_body.py +1 -1
- revengai/models/function_name_history.py +1 -1
- revengai/models/function_name_input.py +1 -1
- revengai/models/function_param_response.py +1 -1
- revengai/models/function_rename.py +4 -4
- revengai/models/function_rename_map.py +3 -3
- revengai/models/function_search_response.py +1 -1
- revengai/models/function_search_result.py +1 -1
- revengai/models/function_string.py +1 -1
- revengai/models/function_strings_response.py +1 -1
- revengai/models/function_task_response.py +1 -1
- revengai/models/function_task_status.py +1 -1
- revengai/models/function_threat_score.py +1 -1
- revengai/models/function_type_input.py +1 -1
- revengai/models/function_type_output.py +1 -1
- revengai/models/functions_detail_response.py +1 -1
- revengai/models/functions_list_rename.py +1 -1
- revengai/models/generate_function_data_types.py +1 -1
- revengai/models/generation_status_list.py +1 -1
- revengai/models/get_ai_decompilation_rating_response.py +1 -1
- revengai/models/get_ai_decompilation_task.py +1 -1
- revengai/models/get_public_user_response.py +1 -1
- revengai/models/get_user_response.py +1 -1
- revengai/models/global_variable.py +1 -1
- revengai/models/icon_model.py +1 -1
- revengai/models/import_model.py +1 -1
- revengai/models/inverse_function_map_item.py +1 -1
- revengai/models/inverse_string_map_item.py +1 -1
- revengai/models/inverse_value.py +1 -1
- revengai/models/isa.py +1 -1
- revengai/models/list_collection_results.py +1 -1
- revengai/models/login_request.py +1 -1
- revengai/models/login_response.py +1 -1
- revengai/models/logs.py +1 -1
- revengai/models/{collections_count_form.py → matched_function_group.py} +12 -11
- revengai/models/{batch_function_rename_record.py → matched_function_suggestion.py} +18 -12
- revengai/models/meta_model.py +1 -1
- revengai/models/model_name.py +1 -1
- revengai/models/models_response.py +1 -1
- revengai/models/nearest_neighbor.py +1 -1
- revengai/models/network_overview_dns.py +1 -1
- revengai/models/network_overview_dns_answer.py +1 -1
- revengai/models/network_overview_metadata.py +1 -1
- revengai/models/network_overview_response.py +1 -1
- revengai/models/order.py +1 -1
- revengai/models/origin.py +1 -1
- revengai/models/pagination_model.py +1 -1
- revengai/models/params.py +1 -1
- revengai/models/pdb_debug_model.py +1 -1
- revengai/models/pe_model.py +1 -1
- revengai/models/platform.py +1 -1
- revengai/models/process.py +1 -1
- revengai/models/process_dump.py +1 -1
- revengai/models/process_dump_metadata.py +1 -1
- revengai/models/process_dumps.py +1 -1
- revengai/models/process_dumps_data.py +1 -1
- revengai/models/process_registry.py +1 -1
- revengai/models/process_tree.py +1 -1
- revengai/models/queued_security_checks_task_response.py +1 -1
- revengai/models/re_analysis_form.py +1 -1
- revengai/models/recent.py +1 -1
- revengai/models/registry.py +1 -1
- revengai/models/relative_binary_response.py +1 -1
- revengai/models/sandbox_options.py +1 -1
- revengai/models/sbom.py +1 -1
- revengai/models/sbom_package.py +1 -1
- revengai/models/scrape_third_party_config.py +1 -1
- revengai/models/search_binary_ids.py +1 -1
- revengai/models/search_function_ids.py +1 -1
- revengai/models/section_model.py +1 -1
- revengai/models/security_checks_response.py +1 -1
- revengai/models/security_checks_result.py +1 -1
- revengai/models/security_model.py +1 -1
- revengai/models/severity_type.py +1 -1
- revengai/models/similar_functions_response.py +1 -1
- revengai/models/single_code_certificate_model.py +1 -1
- revengai/models/single_code_signature_model.py +1 -1
- revengai/models/single_pdb_entry_model.py +1 -1
- revengai/models/single_section_model.py +1 -1
- revengai/models/stack_variable.py +1 -1
- revengai/models/status_input.py +1 -1
- revengai/models/status_output.py +1 -1
- revengai/models/string_functions.py +1 -1
- revengai/models/structure.py +1 -1
- revengai/models/structure_member.py +1 -1
- revengai/models/symbols.py +1 -1
- revengai/models/symbols_info.py +1 -1
- revengai/models/{tag_input.py → tag.py} +5 -5
- revengai/models/tag_confidence_body.py +1 -1
- revengai/models/tag_origin_box_plot_confidence.py +1 -1
- revengai/models/tag_response.py +1 -1
- revengai/models/tag_search_response.py +1 -1
- revengai/models/tag_search_result.py +1 -1
- revengai/models/tags.py +1 -1
- revengai/models/task_response.py +1 -1
- revengai/models/task_status.py +1 -1
- revengai/models/threat_score_function_body.py +1 -1
- revengai/models/timestamp_model.py +1 -1
- revengai/models/ttps.py +1 -1
- revengai/models/ttps_attack.py +1 -1
- revengai/models/ttps_data.py +1 -1
- revengai/models/ttps_element.py +1 -1
- revengai/models/ttps_occurance.py +1 -1
- revengai/models/type_definition.py +1 -1
- revengai/models/{search_form.py → unstrip_request.py} +15 -20
- revengai/models/update_function_data_types.py +1 -1
- revengai/models/{scope.py → upload_file_type.py} +8 -8
- revengai/models/{user_boundaries.py → upload_response.py} +14 -13
- revengai/models/upsert_ai_decomplation_rating_request.py +1 -1
- revengai/models/user_activity_response.py +1 -1
- revengai/models/vulnerabilities.py +1 -1
- revengai/models/vulnerability.py +1 -1
- revengai/models/vulnerability_type.py +1 -1
- revengai/models/workspace.py +1 -1
- revengai/rest.py +1 -1
- {revengai-1.1.1.dist-info → revengai-1.73.0.dist-info}/METADATA +20 -7
- revengai-1.73.0.dist-info/RECORD +339 -0
- revengai/api/v1_api.py +0 -6373
- revengai/models/analyse_created.py +0 -99
- revengai/models/analysis_form.py +0 -138
- revengai/models/analysis_status.py +0 -94
- revengai/models/ann_input.py +0 -108
- revengai/models/app_api_rest_v1_analyse_schema_model_name.py +0 -44
- revengai/models/app_api_rest_v1_analyse_schema_status.py +0 -40
- revengai/models/app_api_rest_v1_analyse_schema_symbols.py +0 -97
- revengai/models/app_api_rest_v1_analysis_info_responses_logs.py +0 -99
- revengai/models/app_api_rest_v1_ann_schema_ann_function.py +0 -135
- revengai/models/app_api_rest_v2_analyses_enums_model_name.py +0 -43
- revengai/models/app_api_rest_v2_analyses_enums_status.py +0 -41
- revengai/models/app_api_rest_v2_analyses_responses_logs.py +0 -87
- revengai/models/app_api_rest_v2_analyses_schemas_symbols.py +0 -97
- revengai/models/app_api_rest_v2_functions_rename_schema_function_rename.py +0 -94
- revengai/models/app_api_rest_v2_info_responses_analysis_tags.py +0 -104
- revengai/models/app_api_rest_v2_similarity_schema_ann_function.py +0 -121
- revengai/models/batch_ann.py +0 -106
- revengai/models/batch_function_rename.py +0 -95
- revengai/models/collection_count.py +0 -99
- revengai/models/config_settings.py +0 -101
- revengai/models/create_ai_decompilation_request.py +0 -87
- revengai/models/deleted_analysis.py +0 -99
- revengai/models/file_options.py +0 -41
- revengai/models/function_batch_ann.py +0 -106
- revengai/models/function_dump.py +0 -106
- revengai/models/function_list.py +0 -87
- revengai/models/function_list_basic.py +0 -99
- revengai/models/function_params.py +0 -95
- revengai/models/isa_options.py +0 -39
- revengai/models/model_list.py +0 -99
- revengai/models/platform_options.py +0 -40
- revengai/models/quick_search.py +0 -99
- revengai/models/recent_analysis.py +0 -99
- revengai/models/recent_analysis_form.py +0 -92
- revengai/models/rename.py +0 -99
- revengai/models/search_query.py +0 -99
- revengai/models/tag_output.py +0 -89
- revengai/test/__init__.py +0 -0
- revengai/test/test_addr.py +0 -50
- revengai/test/test_ai_decompilation_rating.py +0 -33
- revengai/test/test_analyse_created.py +0 -53
- revengai/test/test_analyses_comments_api.py +0 -59
- revengai/test/test_analyses_core_api.py +0 -136
- revengai/test/test_analyses_dynamic_execution_api.py +0 -80
- revengai/test/test_analyses_results_metadata_api.py +0 -143
- revengai/test/test_analyses_security_checks_api.py +0 -52
- revengai/test/test_analysis_access_info.py +0 -54
- revengai/test/test_analysis_config.py +0 -60
- revengai/test/test_analysis_create_request.py +0 -83
- revengai/test/test_analysis_create_response.py +0 -54
- revengai/test/test_analysis_detail_response.py +0 -83
- revengai/test/test_analysis_form.py +0 -81
- revengai/test/test_analysis_functions.py +0 -78
- revengai/test/test_analysis_record.py +0 -74
- revengai/test/test_analysis_scope.py +0 -33
- revengai/test/test_analysis_status.py +0 -53
- revengai/test/test_analysis_strings_response.py +0 -70
- revengai/test/test_analysis_threat_score_data.py +0 -64
- revengai/test/test_analysis_update_request.py +0 -52
- revengai/test/test_analysis_update_tags_request.py +0 -56
- revengai/test/test_analysis_update_tags_response.py +0 -60
- revengai/test/test_ann_function.py +0 -61
- revengai/test/test_ann_input.py +0 -56
- revengai/test/test_app_api_rest_v1_analyse_schema_model_name.py +0 -33
- revengai/test/test_app_api_rest_v1_analyse_schema_status.py +0 -33
- revengai/test/test_app_api_rest_v1_analyse_schema_symbols.py +0 -57
- revengai/test/test_app_api_rest_v1_analysis_info_responses_logs.py +0 -53
- revengai/test/test_app_api_rest_v1_analysis_info_schema_function_rename.py +0 -52
- revengai/test/test_app_api_rest_v1_ann_schema_ann_function.py +0 -74
- revengai/test/test_app_api_rest_v2_analyses_enums_dynamic_execution_status.py +0 -33
- revengai/test/test_app_api_rest_v2_analyses_enums_model_name.py +0 -33
- revengai/test/test_app_api_rest_v2_analyses_enums_order_by.py +0 -33
- revengai/test/test_app_api_rest_v2_analyses_enums_status.py +0 -33
- revengai/test/test_app_api_rest_v2_analyses_responses_analysis_tags.py +0 -74
- revengai/test/test_app_api_rest_v2_analyses_responses_logs.py +0 -52
- revengai/test/test_app_api_rest_v2_analyses_responses_tag_item.py +0 -55
- revengai/test/test_app_api_rest_v2_analyses_schemas_symbols.py +0 -57
- revengai/test/test_app_api_rest_v2_collections_enums_order_by.py +0 -33
- revengai/test/test_app_api_rest_v2_functions_rename_schema_function_rename.py +0 -52
- revengai/test/test_app_api_rest_v2_functions_responses_function.py +0 -54
- revengai/test/test_app_api_rest_v2_functions_types_function.py +0 -72
- revengai/test/test_app_api_rest_v2_info_responses_analysis_tags.py +0 -70
- revengai/test/test_app_api_rest_v2_similarity_schema_ann_function.py +0 -61
- revengai/test/test_app_core_responses_base_base_response_analysis_tags1.py +0 -73
- revengai/test/test_app_core_responses_base_base_response_analysis_tags2.py +0 -75
- revengai/test/test_app_services_binary_ann_schema_tag_item.py +0 -52
- revengai/test/test_app_services_dynamic_execution_schemas_dynamic_execution_status.py +0 -52
- revengai/test/test_argument.py +0 -59
- revengai/test/test_authentication_users_api.py +0 -66
- revengai/test/test_base_response.py +0 -63
- revengai/test/test_base_response_analysis_create_response.py +0 -65
- revengai/test/test_base_response_analysis_detail_response.py +0 -81
- revengai/test/test_base_response_analysis_functions.py +0 -77
- revengai/test/test_base_response_analysis_strings_response.py +0 -73
- revengai/test/test_base_response_analysis_threat_score_data.py +0 -70
- revengai/test/test_base_response_analysis_update_tags_response.py +0 -68
- revengai/test/test_base_response_basic.py +0 -74
- revengai/test/test_base_response_binary_additional_response.py +0 -259
- revengai/test/test_base_response_binary_ann_list_response.py +0 -83
- revengai/test/test_base_response_binary_details_response.py +0 -83
- revengai/test/test_base_response_binary_externals_response.py +0 -72
- revengai/test/test_base_response_binary_search_response.py +0 -77
- revengai/test/test_base_response_block_comments_generation_for_function_response.py +0 -64
- revengai/test/test_base_response_block_comments_overview_generation_response.py +0 -63
- revengai/test/test_base_response_bool.py +0 -63
- revengai/test/test_base_response_box_plot_confidence.py +0 -70
- revengai/test/test_base_response_callees_caller_functions_response.py +0 -82
- revengai/test/test_base_response_capabilities.py +0 -71
- revengai/test/test_base_response_check_security_checks_task_response.py +0 -64
- revengai/test/test_base_response_child_binaries_response.py +0 -73
- revengai/test/test_base_response_collection_binaries_update_response.py +0 -72
- revengai/test/test_base_response_collection_response.py +0 -78
- revengai/test/test_base_response_collection_search_response.py +0 -80
- revengai/test/test_base_response_collection_tags_update_response.py +0 -66
- revengai/test/test_base_response_comment_response.py +0 -71
- revengai/test/test_base_response_communities.py +0 -77
- revengai/test/test_base_response_created.py +0 -66
- revengai/test/test_base_response_decompilation_response.py +0 -66
- revengai/test/test_base_response_dict.py +0 -65
- revengai/test/test_base_response_dynamic_execution_status.py +0 -64
- revengai/test/test_base_response_external_response.py +0 -68
- revengai/test/test_base_response_function_analysis_threat_score_data.py +0 -70
- revengai/test/test_base_response_function_blocks_response.py +0 -96
- revengai/test/test_base_response_function_capability_response.py +0 -66
- revengai/test/test_base_response_function_data_types.py +0 -99
- revengai/test/test_base_response_function_data_types_list.py +0 -105
- revengai/test/test_base_response_function_search_response.py +0 -73
- revengai/test/test_base_response_function_strings_response.py +0 -69
- revengai/test/test_base_response_function_task_response.py +0 -65
- revengai/test/test_base_response_function_threat_score.py +0 -73
- revengai/test/test_base_response_functions_detail_response.py +0 -78
- revengai/test/test_base_response_generate_function_data_types.py +0 -74
- revengai/test/test_base_response_generation_status_list.py +0 -71
- revengai/test/test_base_response_get_ai_decompilation_rating_response.py +0 -64
- revengai/test/test_base_response_get_ai_decompilation_task.py +0 -118
- revengai/test/test_base_response_get_public_user_response.py +0 -65
- revengai/test/test_base_response_get_user_response.py +0 -70
- revengai/test/test_base_response_list_collection_results.py +0 -79
- revengai/test/test_base_response_list_comment_response.py +0 -73
- revengai/test/test_base_response_list_die_match.py +0 -69
- revengai/test/test_base_response_list_function_box_plot_confidence.py +0 -74
- revengai/test/test_base_response_list_function_name_history.py +0 -71
- revengai/test/test_base_response_list_sbom.py +0 -73
- revengai/test/test_base_response_list_similar_functions_response.py +0 -77
- revengai/test/test_base_response_list_tag_origin_box_plot_confidence.py +0 -76
- revengai/test/test_base_response_list_user_activity_response.py +0 -71
- revengai/test/test_base_response_login_response.py +0 -64
- revengai/test/test_base_response_logs.py +0 -64
- revengai/test/test_base_response_models_response.py +0 -66
- revengai/test/test_base_response_nearest_neighbor_analysis.py +0 -75
- revengai/test/test_base_response_network_overview_response.py +0 -80
- revengai/test/test_base_response_params.py +0 -70
- revengai/test/test_base_response_process_dumps.py +0 -76
- revengai/test/test_base_response_process_registry.py +0 -73
- revengai/test/test_base_response_process_tree.py +0 -78
- revengai/test/test_base_response_queued_security_checks_task_response.py +0 -64
- revengai/test/test_base_response_recent.py +0 -79
- revengai/test/test_base_response_security_checks_response.py +0 -76
- revengai/test/test_base_response_status.py +0 -65
- revengai/test/test_base_response_str.py +0 -63
- revengai/test/test_base_response_symbols_info.py +0 -68
- revengai/test/test_base_response_tag_search_response.py +0 -68
- revengai/test/test_base_response_task_response.py +0 -65
- revengai/test/test_base_response_ttps.py +0 -81
- revengai/test/test_base_response_vulnerabilities.py +0 -77
- revengai/test/test_basic.py +0 -72
- revengai/test/test_batch_ann.py +0 -55
- revengai/test/test_batch_function_rename.py +0 -60
- revengai/test/test_batch_function_rename_record.py +0 -54
- revengai/test/test_binaries_api.py +0 -73
- revengai/test/test_binary_additional_details_data_response.py +0 -256
- revengai/test/test_binary_additional_response.py +0 -441
- revengai/test/test_binary_ann_form.py +0 -58
- revengai/test/test_binary_ann_list_response.py +0 -90
- revengai/test/test_binary_config.py +0 -53
- revengai/test/test_binary_details_response.py +0 -90
- revengai/test/test_binary_externals_response.py +0 -68
- revengai/test/test_binary_search_response.py +0 -78
- revengai/test/test_binary_search_result.py +0 -72
- revengai/test/test_binary_task_status.py +0 -33
- revengai/test/test_block.py +0 -52
- revengai/test/test_block_comments_generation_for_function_response.py +0 -52
- revengai/test/test_boundary.py +0 -56
- revengai/test/test_box_plot_confidence.py +0 -64
- revengai/test/test_callee_function_info.py +0 -61
- revengai/test/test_callees_caller_functions_response.py +0 -87
- revengai/test/test_caller_function_info.py +0 -61
- revengai/test/test_capabilities.py +0 -66
- revengai/test/test_capability.py +0 -60
- revengai/test/test_check_security_checks_task_response.py +0 -52
- revengai/test/test_child_binaries_response.py +0 -66
- revengai/test/test_code_signature_model.py +0 -80
- revengai/test/test_collection_binaries_update_request.py +0 -56
- revengai/test/test_collection_binaries_update_response.py +0 -68
- revengai/test/test_collection_binary_response.py +0 -62
- revengai/test/test_collection_count.py +0 -53
- revengai/test/test_collection_create_request.py +0 -63
- revengai/test/test_collection_list_item.py +0 -72
- revengai/test/test_collection_response.py +0 -73
- revengai/test/test_collection_response_binaries_inner.py +0 -62
- revengai/test/test_collection_scope.py +0 -33
- revengai/test/test_collection_search_response.py +0 -84
- revengai/test/test_collection_search_result.py +0 -73
- revengai/test/test_collection_tags_update_request.py +0 -56
- revengai/test/test_collection_tags_update_response.py +0 -56
- revengai/test/test_collection_update_request.py +0 -53
- revengai/test/test_collections_api.py +0 -80
- revengai/test/test_collections_count_form.py +0 -52
- revengai/test/test_comment_base.py +0 -52
- revengai/test/test_comment_response.py +0 -65
- revengai/test/test_comment_update_request.py +0 -52
- revengai/test/test_communities.py +0 -78
- revengai/test/test_community_match_percentages.py +0 -58
- revengai/test/test_confidence_api.py +0 -59
- revengai/test/test_confidence_type.py +0 -33
- revengai/test/test_config_settings.py +0 -70
- revengai/test/test_context.py +0 -54
- revengai/test/test_create_ai_decompilation_request.py +0 -52
- revengai/test/test_created.py +0 -56
- revengai/test/test_decompilation_comment_context.py +0 -54
- revengai/test/test_decompilation_response.py +0 -56
- revengai/test/test_deleted_analysis.py +0 -52
- revengai/test/test_die_match.py +0 -58
- revengai/test/test_dynamic_execution_status_input.py +0 -33
- revengai/test/test_elf_dynamic_entry.py +0 -54
- revengai/test/test_elf_import_model.py +0 -58
- revengai/test/test_elf_model.py +0 -236
- revengai/test/test_elf_relocation.py +0 -64
- revengai/test/test_elf_section.py +0 -70
- revengai/test/test_elf_security.py +0 -60
- revengai/test/test_elf_segment.py +0 -68
- revengai/test/test_elf_symbol.py +0 -64
- revengai/test/test_entrypoint_model.py +0 -54
- revengai/test/test_enumeration.py +0 -60
- revengai/test/test_error_model.py +0 -54
- revengai/test/test_export_model.py +0 -62
- revengai/test/test_exported_binary_ann_result.py +0 -79
- revengai/test/test_external_response.py +0 -60
- revengai/test/test_external_sources_api.py +0 -73
- revengai/test/test_file_format.py +0 -33
- revengai/test/test_file_hashes.py +0 -66
- revengai/test/test_file_metadata.py +0 -74
- revengai/test/test_file_options.py +0 -33
- revengai/test/test_filters.py +0 -33
- revengai/test/test_firmware_api.py +0 -45
- revengai/test/test_function_analysis_threat_score_data.py +0 -64
- revengai/test/test_function_batch_ann.py +0 -55
- revengai/test/test_function_block_destination_response.py +0 -56
- revengai/test/test_function_block_response.py +0 -75
- revengai/test/test_function_blocks_response.py +0 -116
- revengai/test/test_function_boundary.py +0 -56
- revengai/test/test_function_box_plot_confidence.py +0 -68
- revengai/test/test_function_capability_response.py +0 -56
- revengai/test/test_function_comment_create_request.py +0 -55
- revengai/test/test_function_data_types.py +0 -88
- revengai/test/test_function_data_types_list.py +0 -132
- revengai/test/test_function_data_types_list_item.py +0 -90
- revengai/test/test_function_data_types_params.py +0 -56
- revengai/test/test_function_data_types_status.py +0 -56
- revengai/test/test_function_dump.py +0 -55
- revengai/test/test_function_header.py +0 -73
- revengai/test/test_function_info_input.py +0 -85
- revengai/test/test_function_info_input_func_deps_inner.py +0 -66
- revengai/test/test_function_info_output.py +0 -85
- revengai/test/test_function_list.py +0 -56
- revengai/test/test_function_list_basic.py +0 -53
- revengai/test/test_function_local_variable_response.py +0 -60
- revengai/test/test_function_mapping_full.py +0 -148
- revengai/test/test_function_name_confidence_body.py +0 -56
- revengai/test/test_function_name_history.py +0 -62
- revengai/test/test_function_name_input.py +0 -54
- revengai/test/test_function_param_mapping.py +0 -54
- revengai/test/test_function_param_response.py +0 -60
- revengai/test/test_function_params.py +0 -60
- revengai/test/test_function_rename.py +0 -52
- revengai/test/test_function_rename_map.py +0 -55
- revengai/test/test_function_search_response.py +0 -70
- revengai/test/test_function_search_result.py +0 -64
- revengai/test/test_function_string.py +0 -54
- revengai/test/test_function_strings_response.py +0 -62
- revengai/test/test_function_task_response.py +0 -52
- revengai/test/test_function_task_status.py +0 -33
- revengai/test/test_function_threat_score.py +0 -70
- revengai/test/test_function_type_input.py +0 -95
- revengai/test/test_function_type_output.py +0 -95
- revengai/test/test_functions_ai_decompilation_api.py +0 -108
- revengai/test/test_functions_block_comments_api.py +0 -73
- revengai/test/test_functions_core_api.py +0 -87
- revengai/test/test_functions_data_types_api.py +0 -101
- revengai/test/test_functions_decompilation_api.py +0 -80
- revengai/test/test_functions_detail_response.py +0 -74
- revengai/test/test_functions_list_rename.py +0 -62
- revengai/test/test_functions_renaming_history_api.py +0 -59
- revengai/test/test_functions_threat_score_api.py +0 -59
- revengai/test/test_generate_function_data_types.py +0 -72
- revengai/test/test_generation_status_list.py +0 -64
- revengai/test/test_get_ai_decompilation_rating_response.py +0 -52
- revengai/test/test_get_ai_decompilation_task.py +0 -157
- revengai/test/test_get_public_user_response.py +0 -54
- revengai/test/test_get_user_response.py +0 -64
- revengai/test/test_global_variable.py +0 -60
- revengai/test/test_icon_model.py +0 -52
- revengai/test/test_import_model.py +0 -66
- revengai/test/test_inverse_function_map_item.py +0 -55
- revengai/test/test_inverse_string_map_item.py +0 -54
- revengai/test/test_inverse_value.py +0 -52
- revengai/test/test_isa.py +0 -33
- revengai/test/test_isa_options.py +0 -33
- revengai/test/test_list_collection_results.py +0 -82
- revengai/test/test_login_request.py +0 -54
- revengai/test/test_login_response.py +0 -52
- revengai/test/test_logs.py +0 -52
- revengai/test/test_meta_model.py +0 -54
- revengai/test/test_model_list.py +0 -53
- revengai/test/test_model_name.py +0 -33
- revengai/test/test_models_api.py +0 -38
- revengai/test/test_models_response.py +0 -56
- revengai/test/test_nearest_neighbor.py +0 -66
- revengai/test/test_network_overview_dns.py +0 -64
- revengai/test/test_network_overview_dns_answer.py +0 -54
- revengai/test/test_network_overview_metadata.py +0 -58
- revengai/test/test_network_overview_response.py +0 -84
- revengai/test/test_order.py +0 -33
- revengai/test/test_origin.py +0 -33
- revengai/test/test_pagination_model.py +0 -56
- revengai/test/test_params.py +0 -64
- revengai/test/test_pdb_debug_model.py +0 -62
- revengai/test/test_pe_model.py +0 -220
- revengai/test/test_platform.py +0 -33
- revengai/test/test_platform_options.py +0 -33
- revengai/test/test_process.py +0 -72
- revengai/test/test_process_dump.py +0 -64
- revengai/test/test_process_dump_metadata.py +0 -56
- revengai/test/test_process_dumps.py +0 -76
- revengai/test/test_process_dumps_data.py +0 -72
- revengai/test/test_process_registry.py +0 -70
- revengai/test/test_process_tree.py +0 -80
- revengai/test/test_queued_security_checks_task_response.py +0 -52
- revengai/test/test_quick_search.py +0 -53
- revengai/test/test_re_analysis_form.py +0 -58
- revengai/test/test_recent.py +0 -82
- revengai/test/test_recent_analysis.py +0 -53
- revengai/test/test_recent_analysis_form.py +0 -53
- revengai/test/test_registry.py +0 -58
- revengai/test/test_relative_binary_response.py +0 -56
- revengai/test/test_rename.py +0 -53
- revengai/test/test_sandbox_options.py +0 -52
- revengai/test/test_sbom.py +0 -66
- revengai/test/test_sbom_package.py +0 -54
- revengai/test/test_scope.py +0 -33
- revengai/test/test_scrape_third_party_config.py +0 -51
- revengai/test/test_search_api.py +0 -59
- revengai/test/test_search_binary_ids.py +0 -50
- revengai/test/test_search_form.py +0 -56
- revengai/test/test_search_function_ids.py +0 -50
- revengai/test/test_search_query.py +0 -52
- revengai/test/test_section_model.py +0 -72
- revengai/test/test_security_checks_response.py +0 -76
- revengai/test/test_security_checks_result.py +0 -66
- revengai/test/test_security_model.py +0 -72
- revengai/test/test_severity_type.py +0 -33
- revengai/test/test_similar_functions_response.py +0 -74
- revengai/test/test_single_code_certificate_model.py +0 -62
- revengai/test/test_single_code_signature_model.py +0 -70
- revengai/test/test_single_pdb_entry_model.py +0 -56
- revengai/test/test_single_section_model.py +0 -64
- revengai/test/test_stack_variable.py +0 -61
- revengai/test/test_status_input.py +0 -33
- revengai/test/test_status_output.py +0 -54
- revengai/test/test_string_functions.py +0 -62
- revengai/test/test_structure.py +0 -71
- revengai/test/test_structure_member.py +0 -59
- revengai/test/test_symbols.py +0 -57
- revengai/test/test_symbols_info.py +0 -55
- revengai/test/test_tag_confidence_body.py +0 -60
- revengai/test/test_tag_input.py +0 -52
- revengai/test/test_tag_origin_box_plot_confidence.py +0 -72
- revengai/test/test_tag_output.py +0 -54
- revengai/test/test_tag_response.py +0 -54
- revengai/test/test_tag_search_response.py +0 -60
- revengai/test/test_tag_search_result.py +0 -54
- revengai/test/test_tags.py +0 -54
- revengai/test/test_task_response.py +0 -52
- revengai/test/test_task_status.py +0 -33
- revengai/test/test_threat_score_function_body.py +0 -53
- revengai/test/test_timestamp_model.py +0 -56
- revengai/test/test_ttps.py +0 -86
- revengai/test/test_ttps_attack.py +0 -54
- revengai/test/test_ttps_data.py +0 -82
- revengai/test/test_ttps_element.py +0 -74
- revengai/test/test_ttps_occurance.py +0 -54
- revengai/test/test_type_definition.py +0 -56
- revengai/test/test_update_function_data_types.py +0 -118
- revengai/test/test_upload_success.py +0 -54
- revengai/test/test_upsert_ai_decomplation_rating_request.py +0 -52
- revengai/test/test_user_activity_response.py +0 -62
- revengai/test/test_user_boundaries.py +0 -56
- revengai/test/test_v1_api.py +0 -185
- revengai/test/test_vulnerabilities.py +0 -78
- revengai/test/test_vulnerability.py +0 -71
- revengai/test/test_vulnerability_type.py +0 -33
- revengai/test/test_workspace.py +0 -33
- revengai-1.1.1.dist-info/RECORD +0 -741
- {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 AppApiRestV1AnalysisInfoResponsesLogs(BaseModel):
|
26
|
-
"""
|
27
|
-
AppApiRestV1AnalysisInfoResponsesLogs
|
28
|
-
""" # noqa: E501
|
29
|
-
success: Optional[Any] = None
|
30
|
-
logs: Optional[Any]
|
31
|
-
__properties: ClassVar[List[str]] = ["success", "logs"]
|
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 AppApiRestV1AnalysisInfoResponsesLogs 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 logs (nullable) is None
|
78
|
-
# and model_fields_set contains the field
|
79
|
-
if self.logs is None and "logs" in self.model_fields_set:
|
80
|
-
_dict['logs'] = 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 AppApiRestV1AnalysisInfoResponsesLogs 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
|
-
"logs": obj.get("logs")
|
96
|
-
})
|
97
|
-
return _obj
|
98
|
-
|
99
|
-
|
@@ -1,135 +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, StrictStr, field_validator
|
21
|
-
from typing import Any, ClassVar, Dict, List, Optional, Union
|
22
|
-
from typing_extensions import Annotated
|
23
|
-
from typing import Optional, Set
|
24
|
-
from typing_extensions import Self
|
25
|
-
|
26
|
-
class AppApiRestV1AnnSchemaANNFunction(BaseModel):
|
27
|
-
"""
|
28
|
-
AppApiRestV1AnnSchemaANNFunction
|
29
|
-
""" # noqa: E501
|
30
|
-
result_per_function: Optional[Annotated[int, Field(le=20, strict=True)]] = None
|
31
|
-
distance: Optional[Union[StrictFloat, StrictInt]] = None
|
32
|
-
function_id_list: List[Optional[StrictInt]] = Field(description="List of function ids to compare")
|
33
|
-
speculative_function_ids: Optional[List[Any]] = None
|
34
|
-
collection: Optional[List[Optional[StrictStr]]] = Field(default=None, description="Perform a search on functions within a list of collections")
|
35
|
-
collection_search_list: Optional[List[Optional[StrictInt]]] = Field(default=None, description="Perform a search on functions within a list of collections")
|
36
|
-
debug_mode: Optional[StrictBool] = None
|
37
|
-
debug_types: Optional[List[StrictStr]] = Field(default=None, description="If limiting results to functions with debug names, which type of debug names to include?")
|
38
|
-
binaries_search_list: Optional[List[Optional[StrictInt]]] = Field(default=None, description="Perform a search on functions within a list of analyses")
|
39
|
-
__properties: ClassVar[List[str]] = ["result_per_function", "distance", "function_id_list", "speculative_function_ids", "collection", "collection_search_list", "debug_mode", "debug_types", "binaries_search_list"]
|
40
|
-
|
41
|
-
@field_validator('debug_types')
|
42
|
-
def debug_types_validate_enum(cls, value):
|
43
|
-
"""Validates the enum"""
|
44
|
-
if value is None:
|
45
|
-
return value
|
46
|
-
|
47
|
-
for i in value:
|
48
|
-
if i not in set(['USER', 'SYSTEM', 'EXTERNAL']):
|
49
|
-
raise ValueError("each list item must be one of ('USER', 'SYSTEM', 'EXTERNAL')")
|
50
|
-
return value
|
51
|
-
|
52
|
-
model_config = ConfigDict(
|
53
|
-
populate_by_name=True,
|
54
|
-
validate_assignment=True,
|
55
|
-
protected_namespaces=(),
|
56
|
-
)
|
57
|
-
|
58
|
-
|
59
|
-
def to_str(self) -> str:
|
60
|
-
"""Returns the string representation of the model using alias"""
|
61
|
-
return pprint.pformat(self.model_dump(by_alias=True))
|
62
|
-
|
63
|
-
def to_json(self) -> str:
|
64
|
-
"""Returns the JSON representation of the model using alias"""
|
65
|
-
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
66
|
-
return json.dumps(self.to_dict())
|
67
|
-
|
68
|
-
@classmethod
|
69
|
-
def from_json(cls, json_str: str) -> Optional[Self]:
|
70
|
-
"""Create an instance of AppApiRestV1AnnSchemaANNFunction from a JSON string"""
|
71
|
-
return cls.from_dict(json.loads(json_str))
|
72
|
-
|
73
|
-
def to_dict(self) -> Dict[str, Any]:
|
74
|
-
"""Return the dictionary representation of the model using alias.
|
75
|
-
|
76
|
-
This has the following differences from calling pydantic's
|
77
|
-
`self.model_dump(by_alias=True)`:
|
78
|
-
|
79
|
-
* `None` is only added to the output dict for nullable fields that
|
80
|
-
were set at model initialization. Other fields with value `None`
|
81
|
-
are ignored.
|
82
|
-
"""
|
83
|
-
excluded_fields: Set[str] = set([
|
84
|
-
])
|
85
|
-
|
86
|
-
_dict = self.model_dump(
|
87
|
-
by_alias=True,
|
88
|
-
exclude=excluded_fields,
|
89
|
-
exclude_none=True,
|
90
|
-
)
|
91
|
-
# set to None if result_per_function (nullable) is None
|
92
|
-
# and model_fields_set contains the field
|
93
|
-
if self.result_per_function is None and "result_per_function" in self.model_fields_set:
|
94
|
-
_dict['result_per_function'] = None
|
95
|
-
|
96
|
-
# set to None if distance (nullable) is None
|
97
|
-
# and model_fields_set contains the field
|
98
|
-
if self.distance is None and "distance" in self.model_fields_set:
|
99
|
-
_dict['distance'] = None
|
100
|
-
|
101
|
-
# set to None if speculative_function_ids (nullable) is None
|
102
|
-
# and model_fields_set contains the field
|
103
|
-
if self.speculative_function_ids is None and "speculative_function_ids" in self.model_fields_set:
|
104
|
-
_dict['speculative_function_ids'] = None
|
105
|
-
|
106
|
-
# set to None if debug_mode (nullable) is None
|
107
|
-
# and model_fields_set contains the field
|
108
|
-
if self.debug_mode is None and "debug_mode" in self.model_fields_set:
|
109
|
-
_dict['debug_mode'] = None
|
110
|
-
|
111
|
-
return _dict
|
112
|
-
|
113
|
-
@classmethod
|
114
|
-
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
115
|
-
"""Create an instance of AppApiRestV1AnnSchemaANNFunction from a dict"""
|
116
|
-
if obj is None:
|
117
|
-
return None
|
118
|
-
|
119
|
-
if not isinstance(obj, dict):
|
120
|
-
return cls.model_validate(obj)
|
121
|
-
|
122
|
-
_obj = cls.model_validate({
|
123
|
-
"result_per_function": obj.get("result_per_function"),
|
124
|
-
"distance": obj.get("distance"),
|
125
|
-
"function_id_list": obj.get("function_id_list"),
|
126
|
-
"speculative_function_ids": obj.get("speculative_function_ids"),
|
127
|
-
"collection": obj.get("collection"),
|
128
|
-
"collection_search_list": obj.get("collection_search_list"),
|
129
|
-
"debug_mode": obj.get("debug_mode"),
|
130
|
-
"debug_types": obj.get("debug_types"),
|
131
|
-
"binaries_search_list": obj.get("binaries_search_list")
|
132
|
-
})
|
133
|
-
return _obj
|
134
|
-
|
135
|
-
|
@@ -1,43 +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 AppApiRestV2AnalysesEnumsModelName(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_WINDOWS = 'binnet-0.5-x86-32-windows'
|
34
|
-
BINNET_MINUS_0_DOT_5_MINUS_X86_MINUS_32_MINUS_LINUX = 'binnet-0.5-x86-32-linux'
|
35
|
-
BINNET_MINUS_0_DOT_5_MINUS_ARM_MINUS_64_MINUS_WINDOWS = 'binnet-0.5-arm-64-windows'
|
36
|
-
BINNET_MINUS_0_DOT_5_MINUS_ARM_MINUS_64_MINUS_LINUX = 'binnet-0.5-arm-64-linux'
|
37
|
-
|
38
|
-
@classmethod
|
39
|
-
def from_json(cls, json_str: str) -> Self:
|
40
|
-
"""Create an instance of AppApiRestV2AnalysesEnumsModelName from a JSON string"""
|
41
|
-
return cls(json.loads(json_str))
|
42
|
-
|
43
|
-
|
@@ -1,41 +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 AppApiRestV2AnalysesEnumsStatus(str, Enum):
|
22
|
-
"""
|
23
|
-
Custom enum for the analysis status
|
24
|
-
"""
|
25
|
-
|
26
|
-
"""
|
27
|
-
allowed enum values
|
28
|
-
"""
|
29
|
-
UPLOADED = 'Uploaded'
|
30
|
-
QUEUED = 'Queued'
|
31
|
-
COMPLETE = 'Complete'
|
32
|
-
ERROR = 'Error'
|
33
|
-
PROCESSING = 'Processing'
|
34
|
-
ALL = 'All'
|
35
|
-
|
36
|
-
@classmethod
|
37
|
-
def from_json(cls, json_str: str) -> Self:
|
38
|
-
"""Create an instance of AppApiRestV2AnalysesEnumsStatus from a JSON string"""
|
39
|
-
return cls(json.loads(json_str))
|
40
|
-
|
41
|
-
|
@@ -1,87 +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, StrictStr
|
21
|
-
from typing import Any, ClassVar, Dict, List
|
22
|
-
from typing import Optional, Set
|
23
|
-
from typing_extensions import Self
|
24
|
-
|
25
|
-
class AppApiRestV2AnalysesResponsesLogs(BaseModel):
|
26
|
-
"""
|
27
|
-
AppApiRestV2AnalysesResponsesLogs
|
28
|
-
""" # noqa: E501
|
29
|
-
logs: StrictStr = Field(description="Full logs of an analysis of an analysis_id")
|
30
|
-
__properties: ClassVar[List[str]] = ["logs"]
|
31
|
-
|
32
|
-
model_config = ConfigDict(
|
33
|
-
populate_by_name=True,
|
34
|
-
validate_assignment=True,
|
35
|
-
protected_namespaces=(),
|
36
|
-
)
|
37
|
-
|
38
|
-
|
39
|
-
def to_str(self) -> str:
|
40
|
-
"""Returns the string representation of the model using alias"""
|
41
|
-
return pprint.pformat(self.model_dump(by_alias=True))
|
42
|
-
|
43
|
-
def to_json(self) -> str:
|
44
|
-
"""Returns the JSON representation of the model using alias"""
|
45
|
-
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
46
|
-
return json.dumps(self.to_dict())
|
47
|
-
|
48
|
-
@classmethod
|
49
|
-
def from_json(cls, json_str: str) -> Optional[Self]:
|
50
|
-
"""Create an instance of AppApiRestV2AnalysesResponsesLogs from a JSON string"""
|
51
|
-
return cls.from_dict(json.loads(json_str))
|
52
|
-
|
53
|
-
def to_dict(self) -> Dict[str, Any]:
|
54
|
-
"""Return the dictionary representation of the model using alias.
|
55
|
-
|
56
|
-
This has the following differences from calling pydantic's
|
57
|
-
`self.model_dump(by_alias=True)`:
|
58
|
-
|
59
|
-
* `None` is only added to the output dict for nullable fields that
|
60
|
-
were set at model initialization. Other fields with value `None`
|
61
|
-
are ignored.
|
62
|
-
"""
|
63
|
-
excluded_fields: Set[str] = set([
|
64
|
-
])
|
65
|
-
|
66
|
-
_dict = self.model_dump(
|
67
|
-
by_alias=True,
|
68
|
-
exclude=excluded_fields,
|
69
|
-
exclude_none=True,
|
70
|
-
)
|
71
|
-
return _dict
|
72
|
-
|
73
|
-
@classmethod
|
74
|
-
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
75
|
-
"""Create an instance of AppApiRestV2AnalysesResponsesLogs from a dict"""
|
76
|
-
if obj is None:
|
77
|
-
return None
|
78
|
-
|
79
|
-
if not isinstance(obj, dict):
|
80
|
-
return cls.model_validate(obj)
|
81
|
-
|
82
|
-
_obj = cls.model_validate({
|
83
|
-
"logs": obj.get("logs")
|
84
|
-
})
|
85
|
-
return _obj
|
86
|
-
|
87
|
-
|
@@ -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, Field, StrictInt
|
21
|
-
from typing import Any, ClassVar, Dict, List, Optional
|
22
|
-
from revengai.models.function_boundary import FunctionBoundary
|
23
|
-
from typing import Optional, Set
|
24
|
-
from typing_extensions import Self
|
25
|
-
|
26
|
-
class AppApiRestV2AnalysesSchemasSymbols(BaseModel):
|
27
|
-
"""
|
28
|
-
AppApiRestV2AnalysesSchemasSymbols
|
29
|
-
""" # noqa: E501
|
30
|
-
base_address: Optional[StrictInt] = Field(default=0, description="The starting address of the execution")
|
31
|
-
function_boundaries: Optional[List[FunctionBoundary]] = Field(default=None, description="List of user defined function boundaries")
|
32
|
-
__properties: ClassVar[List[str]] = ["base_address", "function_boundaries"]
|
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 AppApiRestV2AnalysesSchemasSymbols 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 function_boundaries (list)
|
74
|
-
_items = []
|
75
|
-
if self.function_boundaries:
|
76
|
-
for _item_function_boundaries in self.function_boundaries:
|
77
|
-
if _item_function_boundaries:
|
78
|
-
_items.append(_item_function_boundaries.to_dict())
|
79
|
-
_dict['function_boundaries'] = _items
|
80
|
-
return _dict
|
81
|
-
|
82
|
-
@classmethod
|
83
|
-
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
84
|
-
"""Create an instance of AppApiRestV2AnalysesSchemasSymbols 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_address": obj.get("base_address") if obj.get("base_address") is not None else 0,
|
93
|
-
"function_boundaries": [FunctionBoundary.from_dict(_item) for _item in obj["function_boundaries"]] if obj.get("function_boundaries") is not None else None
|
94
|
-
})
|
95
|
-
return _obj
|
96
|
-
|
97
|
-
|
@@ -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 AppApiRestV2FunctionsRenameSchemaFunctionRename(BaseModel):
|
26
|
-
"""
|
27
|
-
AppApiRestV2FunctionsRenameSchemaFunctionRename
|
28
|
-
""" # noqa: E501
|
29
|
-
new_name: Optional[StrictStr] = None
|
30
|
-
new_mangled_name: Optional[StrictStr] = None
|
31
|
-
__properties: ClassVar[List[str]] = ["new_name", "new_mangled_name"]
|
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 AppApiRestV2FunctionsRenameSchemaFunctionRename 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 new_mangled_name (nullable) is None
|
73
|
-
# and model_fields_set contains the field
|
74
|
-
if self.new_mangled_name is None and "new_mangled_name" in self.model_fields_set:
|
75
|
-
_dict['new_mangled_name'] = 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 AppApiRestV2FunctionsRenameSchemaFunctionRename 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
|
-
"new_name": obj.get("new_name"),
|
90
|
-
"new_mangled_name": obj.get("new_mangled_name")
|
91
|
-
})
|
92
|
-
return _obj
|
93
|
-
|
94
|
-
|