cef/libcef_dll/wrapper/libcef_dll_dylib.cc

1807 lines
69 KiB
C++

// Copyright (c) 2023 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
//
// ---------------------------------------------------------------------------
//
// This file was generated by the CEF translator tool. If making changes by
// hand only do so within the body of existing method and function
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=bcad216e5fef8b9c10a895524f8b1201608138f9$
//
#include <dlfcn.h>
#include <stdio.h>
#include "include/base/cef_compiler_specific.h"
#include "include/capi/cef_app_capi.h"
#include "include/capi/cef_browser_capi.h"
#include "include/capi/cef_command_line_capi.h"
#include "include/capi/cef_cookie_capi.h"
#include "include/capi/cef_crash_util_capi.h"
#include "include/capi/cef_drag_data_capi.h"
#include "include/capi/cef_file_util_capi.h"
#include "include/capi/cef_i18n_util_capi.h"
#include "include/capi/cef_image_capi.h"
#include "include/capi/cef_media_router_capi.h"
#include "include/capi/cef_menu_model_capi.h"
#include "include/capi/cef_origin_whitelist_capi.h"
#include "include/capi/cef_parser_capi.h"
#include "include/capi/cef_path_util_capi.h"
#include "include/capi/cef_preference_capi.h"
#include "include/capi/cef_print_settings_capi.h"
#include "include/capi/cef_process_message_capi.h"
#include "include/capi/cef_process_util_capi.h"
#include "include/capi/cef_request_capi.h"
#include "include/capi/cef_request_context_capi.h"
#include "include/capi/cef_resource_bundle_capi.h"
#include "include/capi/cef_response_capi.h"
#include "include/capi/cef_scheme_capi.h"
#include "include/capi/cef_server_capi.h"
#include "include/capi/cef_shared_process_message_builder_capi.h"
#include "include/capi/cef_ssl_info_capi.h"
#include "include/capi/cef_stream_capi.h"
#include "include/capi/cef_task_capi.h"
#include "include/capi/cef_thread_capi.h"
#include "include/capi/cef_trace_capi.h"
#include "include/capi/cef_urlrequest_capi.h"
#include "include/capi/cef_v8_capi.h"
#include "include/capi/cef_values_capi.h"
#include "include/capi/cef_waitable_event_capi.h"
#include "include/capi/cef_xml_reader_capi.h"
#include "include/capi/cef_zip_reader_capi.h"
#include "include/capi/test/cef_test_helpers_capi.h"
#include "include/capi/test/cef_test_server_capi.h"
#include "include/capi/test/cef_translator_test_capi.h"
#include "include/capi/views/cef_browser_view_capi.h"
#include "include/capi/views/cef_display_capi.h"
#include "include/capi/views/cef_label_button_capi.h"
#include "include/capi/views/cef_menu_button_capi.h"
#include "include/capi/views/cef_panel_capi.h"
#include "include/capi/views/cef_scroll_view_capi.h"
#include "include/capi/views/cef_textfield_capi.h"
#include "include/capi/views/cef_window_capi.h"
#include "include/cef_api_hash.h"
#include "include/cef_version.h"
#include "include/internal/cef_logging_internal.h"
#include "include/internal/cef_string_list.h"
#include "include/internal/cef_string_map.h"
#include "include/internal/cef_string_multimap.h"
#include "include/internal/cef_string_types.h"
#include "include/internal/cef_thread_internal.h"
#include "include/internal/cef_time.h"
#include "include/internal/cef_trace_event_internal.h"
#include "include/wrapper/cef_library_loader.h"
// GLOBAL WRAPPER FUNCTIONS - Do not edit by hand.
namespace {
void* g_libcef_handle = nullptr;
void* libcef_get_ptr(const char* path, const char* name) {
void* ptr = dlsym(g_libcef_handle, name);
if (!ptr) {
fprintf(stderr, "dlsym %s: %s\n", path, dlerror());
}
return ptr;
}
struct libcef_pointers {
decltype(&cef_execute_process) cef_execute_process;
decltype(&cef_initialize) cef_initialize;
decltype(&cef_shutdown) cef_shutdown;
decltype(&cef_do_message_loop_work) cef_do_message_loop_work;
decltype(&cef_run_message_loop) cef_run_message_loop;
decltype(&cef_quit_message_loop) cef_quit_message_loop;
decltype(&cef_crash_reporting_enabled) cef_crash_reporting_enabled;
decltype(&cef_set_crash_key_value) cef_set_crash_key_value;
decltype(&cef_create_directory) cef_create_directory;
decltype(&cef_get_temp_directory) cef_get_temp_directory;
decltype(&cef_create_new_temp_directory) cef_create_new_temp_directory;
decltype(&cef_create_temp_directory_in_directory)
cef_create_temp_directory_in_directory;
decltype(&cef_directory_exists) cef_directory_exists;
decltype(&cef_delete_file) cef_delete_file;
decltype(&cef_zip_directory) cef_zip_directory;
decltype(&cef_load_crlsets_file) cef_load_crlsets_file;
decltype(&cef_is_rtl) cef_is_rtl;
decltype(&cef_add_cross_origin_whitelist_entry)
cef_add_cross_origin_whitelist_entry;
decltype(&cef_remove_cross_origin_whitelist_entry)
cef_remove_cross_origin_whitelist_entry;
decltype(&cef_clear_cross_origin_whitelist) cef_clear_cross_origin_whitelist;
decltype(&cef_resolve_url) cef_resolve_url;
decltype(&cef_parse_url) cef_parse_url;
decltype(&cef_create_url) cef_create_url;
decltype(&cef_format_url_for_security_display)
cef_format_url_for_security_display;
decltype(&cef_get_mime_type) cef_get_mime_type;
decltype(&cef_get_extensions_for_mime_type) cef_get_extensions_for_mime_type;
decltype(&cef_base64encode) cef_base64encode;
decltype(&cef_base64decode) cef_base64decode;
decltype(&cef_uriencode) cef_uriencode;
decltype(&cef_uridecode) cef_uridecode;
decltype(&cef_parse_json) cef_parse_json;
decltype(&cef_parse_json_buffer) cef_parse_json_buffer;
decltype(&cef_parse_jsonand_return_error) cef_parse_jsonand_return_error;
decltype(&cef_write_json) cef_write_json;
decltype(&cef_get_path) cef_get_path;
decltype(&cef_launch_process) cef_launch_process;
decltype(&cef_register_scheme_handler_factory)
cef_register_scheme_handler_factory;
decltype(&cef_clear_scheme_handler_factories)
cef_clear_scheme_handler_factories;
decltype(&cef_is_cert_status_error) cef_is_cert_status_error;
decltype(&cef_currently_on) cef_currently_on;
decltype(&cef_post_task) cef_post_task;
decltype(&cef_post_delayed_task) cef_post_delayed_task;
decltype(&cef_begin_tracing) cef_begin_tracing;
decltype(&cef_end_tracing) cef_end_tracing;
decltype(&cef_now_from_system_trace_time) cef_now_from_system_trace_time;
decltype(&cef_register_extension) cef_register_extension;
decltype(&cef_execute_java_script_with_user_gesture_for_tests)
cef_execute_java_script_with_user_gesture_for_tests;
decltype(&cef_set_data_directory_for_tests) cef_set_data_directory_for_tests;
decltype(&cef_browser_host_create_browser) cef_browser_host_create_browser;
decltype(&cef_browser_host_create_browser_sync)
cef_browser_host_create_browser_sync;
decltype(&cef_command_line_create) cef_command_line_create;
decltype(&cef_command_line_get_global) cef_command_line_get_global;
decltype(&cef_cookie_manager_get_global_manager)
cef_cookie_manager_get_global_manager;
decltype(&cef_drag_data_create) cef_drag_data_create;
decltype(&cef_image_create) cef_image_create;
decltype(&cef_media_router_get_global) cef_media_router_get_global;
decltype(&cef_menu_model_create) cef_menu_model_create;
decltype(&cef_preference_manager_get_global)
cef_preference_manager_get_global;
decltype(&cef_print_settings_create) cef_print_settings_create;
decltype(&cef_process_message_create) cef_process_message_create;
decltype(&cef_request_create) cef_request_create;
decltype(&cef_post_data_create) cef_post_data_create;
decltype(&cef_post_data_element_create) cef_post_data_element_create;
decltype(&cef_request_context_get_global_context)
cef_request_context_get_global_context;
decltype(&cef_request_context_create_context)
cef_request_context_create_context;
decltype(&cef_create_context_shared) cef_create_context_shared;
decltype(&cef_resource_bundle_get_global) cef_resource_bundle_get_global;
decltype(&cef_response_create) cef_response_create;
decltype(&cef_server_create) cef_server_create;
decltype(&cef_shared_process_message_builder_create)
cef_shared_process_message_builder_create;
decltype(&cef_stream_reader_create_for_file)
cef_stream_reader_create_for_file;
decltype(&cef_stream_reader_create_for_data)
cef_stream_reader_create_for_data;
decltype(&cef_stream_reader_create_for_handler)
cef_stream_reader_create_for_handler;
decltype(&cef_stream_writer_create_for_file)
cef_stream_writer_create_for_file;
decltype(&cef_stream_writer_create_for_handler)
cef_stream_writer_create_for_handler;
decltype(&cef_task_runner_get_for_current_thread)
cef_task_runner_get_for_current_thread;
decltype(&cef_task_runner_get_for_thread) cef_task_runner_get_for_thread;
decltype(&cef_thread_create) cef_thread_create;
decltype(&cef_urlrequest_create) cef_urlrequest_create;
decltype(&cef_v8context_get_current_context)
cef_v8context_get_current_context;
decltype(&cef_v8context_get_entered_context)
cef_v8context_get_entered_context;
decltype(&cef_v8context_in_context) cef_v8context_in_context;
decltype(&cef_v8value_create_undefined) cef_v8value_create_undefined;
decltype(&cef_v8value_create_null) cef_v8value_create_null;
decltype(&cef_v8value_create_bool) cef_v8value_create_bool;
decltype(&cef_v8value_create_int) cef_v8value_create_int;
decltype(&cef_v8value_create_uint) cef_v8value_create_uint;
decltype(&cef_v8value_create_double) cef_v8value_create_double;
decltype(&cef_v8value_create_date) cef_v8value_create_date;
decltype(&cef_v8value_create_string) cef_v8value_create_string;
decltype(&cef_v8value_create_object) cef_v8value_create_object;
decltype(&cef_v8value_create_array) cef_v8value_create_array;
decltype(&cef_v8value_create_array_buffer) cef_v8value_create_array_buffer;
decltype(&cef_v8value_create_function) cef_v8value_create_function;
decltype(&cef_v8value_create_promise) cef_v8value_create_promise;
decltype(&cef_v8stack_trace_get_current) cef_v8stack_trace_get_current;
decltype(&cef_value_create) cef_value_create;
decltype(&cef_binary_value_create) cef_binary_value_create;
decltype(&cef_dictionary_value_create) cef_dictionary_value_create;
decltype(&cef_list_value_create) cef_list_value_create;
decltype(&cef_waitable_event_create) cef_waitable_event_create;
decltype(&cef_xml_reader_create) cef_xml_reader_create;
decltype(&cef_zip_reader_create) cef_zip_reader_create;
decltype(&cef_test_server_create_and_start) cef_test_server_create_and_start;
decltype(&cef_translator_test_create) cef_translator_test_create;
decltype(&cef_translator_test_ref_ptr_library_create)
cef_translator_test_ref_ptr_library_create;
decltype(&cef_translator_test_ref_ptr_library_child_create)
cef_translator_test_ref_ptr_library_child_create;
decltype(&cef_translator_test_ref_ptr_library_child_child_create)
cef_translator_test_ref_ptr_library_child_child_create;
decltype(&cef_translator_test_scoped_library_create)
cef_translator_test_scoped_library_create;
decltype(&cef_translator_test_scoped_library_child_create)
cef_translator_test_scoped_library_child_create;
decltype(&cef_translator_test_scoped_library_child_child_create)
cef_translator_test_scoped_library_child_child_create;
decltype(&cef_browser_view_create) cef_browser_view_create;
decltype(&cef_browser_view_get_for_browser) cef_browser_view_get_for_browser;
decltype(&cef_display_get_primary) cef_display_get_primary;
decltype(&cef_display_get_nearest_point) cef_display_get_nearest_point;
decltype(&cef_display_get_matching_bounds) cef_display_get_matching_bounds;
decltype(&cef_display_get_count) cef_display_get_count;
decltype(&cef_display_get_alls) cef_display_get_alls;
decltype(&cef_display_convert_screen_point_to_pixels)
cef_display_convert_screen_point_to_pixels;
decltype(&cef_display_convert_screen_point_from_pixels)
cef_display_convert_screen_point_from_pixels;
decltype(&cef_display_convert_screen_rect_to_pixels)
cef_display_convert_screen_rect_to_pixels;
decltype(&cef_display_convert_screen_rect_from_pixels)
cef_display_convert_screen_rect_from_pixels;
decltype(&cef_label_button_create) cef_label_button_create;
decltype(&cef_menu_button_create) cef_menu_button_create;
decltype(&cef_panel_create) cef_panel_create;
decltype(&cef_scroll_view_create) cef_scroll_view_create;
decltype(&cef_textfield_create) cef_textfield_create;
decltype(&cef_window_create_top_level) cef_window_create_top_level;
decltype(&cef_api_hash) cef_api_hash;
decltype(&cef_version_info) cef_version_info;
decltype(&cef_get_min_log_level) cef_get_min_log_level;
decltype(&cef_get_vlog_level) cef_get_vlog_level;
decltype(&cef_log) cef_log;
decltype(&cef_string_list_alloc) cef_string_list_alloc;
decltype(&cef_string_list_size) cef_string_list_size;
decltype(&cef_string_list_value) cef_string_list_value;
decltype(&cef_string_list_append) cef_string_list_append;
decltype(&cef_string_list_clear) cef_string_list_clear;
decltype(&cef_string_list_free) cef_string_list_free;
decltype(&cef_string_list_copy) cef_string_list_copy;
decltype(&cef_string_map_alloc) cef_string_map_alloc;
decltype(&cef_string_map_size) cef_string_map_size;
decltype(&cef_string_map_find) cef_string_map_find;
decltype(&cef_string_map_key) cef_string_map_key;
decltype(&cef_string_map_value) cef_string_map_value;
decltype(&cef_string_map_append) cef_string_map_append;
decltype(&cef_string_map_clear) cef_string_map_clear;
decltype(&cef_string_map_free) cef_string_map_free;
decltype(&cef_string_multimap_alloc) cef_string_multimap_alloc;
decltype(&cef_string_multimap_size) cef_string_multimap_size;
decltype(&cef_string_multimap_find_count) cef_string_multimap_find_count;
decltype(&cef_string_multimap_enumerate) cef_string_multimap_enumerate;
decltype(&cef_string_multimap_key) cef_string_multimap_key;
decltype(&cef_string_multimap_value) cef_string_multimap_value;
decltype(&cef_string_multimap_append) cef_string_multimap_append;
decltype(&cef_string_multimap_clear) cef_string_multimap_clear;
decltype(&cef_string_multimap_free) cef_string_multimap_free;
decltype(&cef_string_wide_set) cef_string_wide_set;
decltype(&cef_string_utf8_set) cef_string_utf8_set;
decltype(&cef_string_utf16_set) cef_string_utf16_set;
decltype(&cef_string_wide_clear) cef_string_wide_clear;
decltype(&cef_string_utf8_clear) cef_string_utf8_clear;
decltype(&cef_string_utf16_clear) cef_string_utf16_clear;
decltype(&cef_string_wide_cmp) cef_string_wide_cmp;
decltype(&cef_string_utf8_cmp) cef_string_utf8_cmp;
decltype(&cef_string_utf16_cmp) cef_string_utf16_cmp;
decltype(&cef_string_wide_to_utf8) cef_string_wide_to_utf8;
decltype(&cef_string_utf8_to_wide) cef_string_utf8_to_wide;
decltype(&cef_string_wide_to_utf16) cef_string_wide_to_utf16;
decltype(&cef_string_utf16_to_wide) cef_string_utf16_to_wide;
decltype(&cef_string_utf8_to_utf16) cef_string_utf8_to_utf16;
decltype(&cef_string_utf16_to_utf8) cef_string_utf16_to_utf8;
decltype(&cef_string_ascii_to_wide) cef_string_ascii_to_wide;
decltype(&cef_string_ascii_to_utf16) cef_string_ascii_to_utf16;
decltype(&cef_string_userfree_wide_alloc) cef_string_userfree_wide_alloc;
decltype(&cef_string_userfree_utf8_alloc) cef_string_userfree_utf8_alloc;
decltype(&cef_string_userfree_utf16_alloc) cef_string_userfree_utf16_alloc;
decltype(&cef_string_userfree_wide_free) cef_string_userfree_wide_free;
decltype(&cef_string_userfree_utf8_free) cef_string_userfree_utf8_free;
decltype(&cef_string_userfree_utf16_free) cef_string_userfree_utf16_free;
decltype(&cef_string_utf16_to_lower) cef_string_utf16_to_lower;
decltype(&cef_string_utf16_to_upper) cef_string_utf16_to_upper;
decltype(&cef_get_current_platform_thread_id)
cef_get_current_platform_thread_id;
decltype(&cef_get_current_platform_thread_handle)
cef_get_current_platform_thread_handle;
decltype(&cef_time_to_timet) cef_time_to_timet;
decltype(&cef_time_from_timet) cef_time_from_timet;
decltype(&cef_time_to_doublet) cef_time_to_doublet;
decltype(&cef_time_from_doublet) cef_time_from_doublet;
decltype(&cef_time_now) cef_time_now;
decltype(&cef_basetime_now) cef_basetime_now;
decltype(&cef_time_delta) cef_time_delta;
decltype(&cef_time_to_basetime) cef_time_to_basetime;
decltype(&cef_time_from_basetime) cef_time_from_basetime;
decltype(&cef_trace_event_instant) cef_trace_event_instant;
decltype(&cef_trace_event_begin) cef_trace_event_begin;
decltype(&cef_trace_event_end) cef_trace_event_end;
decltype(&cef_trace_counter) cef_trace_counter;
decltype(&cef_trace_counter_id) cef_trace_counter_id;
decltype(&cef_trace_event_async_begin) cef_trace_event_async_begin;
decltype(&cef_trace_event_async_step_into) cef_trace_event_async_step_into;
decltype(&cef_trace_event_async_step_past) cef_trace_event_async_step_past;
decltype(&cef_trace_event_async_end) cef_trace_event_async_end;
} g_libcef_pointers = {0};
#define INIT_ENTRY(name) \
g_libcef_pointers.name = (decltype(&name))libcef_get_ptr(path, #name); \
if (!g_libcef_pointers.name) { \
return 0; \
}
int libcef_init_pointers(const char* path) {
INIT_ENTRY(cef_execute_process);
INIT_ENTRY(cef_initialize);
INIT_ENTRY(cef_shutdown);
INIT_ENTRY(cef_do_message_loop_work);
INIT_ENTRY(cef_run_message_loop);
INIT_ENTRY(cef_quit_message_loop);
INIT_ENTRY(cef_crash_reporting_enabled);
INIT_ENTRY(cef_set_crash_key_value);
INIT_ENTRY(cef_create_directory);
INIT_ENTRY(cef_get_temp_directory);
INIT_ENTRY(cef_create_new_temp_directory);
INIT_ENTRY(cef_create_temp_directory_in_directory);
INIT_ENTRY(cef_directory_exists);
INIT_ENTRY(cef_delete_file);
INIT_ENTRY(cef_zip_directory);
INIT_ENTRY(cef_load_crlsets_file);
INIT_ENTRY(cef_is_rtl);
INIT_ENTRY(cef_add_cross_origin_whitelist_entry);
INIT_ENTRY(cef_remove_cross_origin_whitelist_entry);
INIT_ENTRY(cef_clear_cross_origin_whitelist);
INIT_ENTRY(cef_resolve_url);
INIT_ENTRY(cef_parse_url);
INIT_ENTRY(cef_create_url);
INIT_ENTRY(cef_format_url_for_security_display);
INIT_ENTRY(cef_get_mime_type);
INIT_ENTRY(cef_get_extensions_for_mime_type);
INIT_ENTRY(cef_base64encode);
INIT_ENTRY(cef_base64decode);
INIT_ENTRY(cef_uriencode);
INIT_ENTRY(cef_uridecode);
INIT_ENTRY(cef_parse_json);
INIT_ENTRY(cef_parse_json_buffer);
INIT_ENTRY(cef_parse_jsonand_return_error);
INIT_ENTRY(cef_write_json);
INIT_ENTRY(cef_get_path);
INIT_ENTRY(cef_launch_process);
INIT_ENTRY(cef_register_scheme_handler_factory);
INIT_ENTRY(cef_clear_scheme_handler_factories);
INIT_ENTRY(cef_is_cert_status_error);
INIT_ENTRY(cef_currently_on);
INIT_ENTRY(cef_post_task);
INIT_ENTRY(cef_post_delayed_task);
INIT_ENTRY(cef_begin_tracing);
INIT_ENTRY(cef_end_tracing);
INIT_ENTRY(cef_now_from_system_trace_time);
INIT_ENTRY(cef_register_extension);
INIT_ENTRY(cef_execute_java_script_with_user_gesture_for_tests);
INIT_ENTRY(cef_set_data_directory_for_tests);
INIT_ENTRY(cef_browser_host_create_browser);
INIT_ENTRY(cef_browser_host_create_browser_sync);
INIT_ENTRY(cef_command_line_create);
INIT_ENTRY(cef_command_line_get_global);
INIT_ENTRY(cef_cookie_manager_get_global_manager);
INIT_ENTRY(cef_drag_data_create);
INIT_ENTRY(cef_image_create);
INIT_ENTRY(cef_media_router_get_global);
INIT_ENTRY(cef_menu_model_create);
INIT_ENTRY(cef_preference_manager_get_global);
INIT_ENTRY(cef_print_settings_create);
INIT_ENTRY(cef_process_message_create);
INIT_ENTRY(cef_request_create);
INIT_ENTRY(cef_post_data_create);
INIT_ENTRY(cef_post_data_element_create);
INIT_ENTRY(cef_request_context_get_global_context);
INIT_ENTRY(cef_request_context_create_context);
INIT_ENTRY(cef_create_context_shared);
INIT_ENTRY(cef_resource_bundle_get_global);
INIT_ENTRY(cef_response_create);
INIT_ENTRY(cef_server_create);
INIT_ENTRY(cef_shared_process_message_builder_create);
INIT_ENTRY(cef_stream_reader_create_for_file);
INIT_ENTRY(cef_stream_reader_create_for_data);
INIT_ENTRY(cef_stream_reader_create_for_handler);
INIT_ENTRY(cef_stream_writer_create_for_file);
INIT_ENTRY(cef_stream_writer_create_for_handler);
INIT_ENTRY(cef_task_runner_get_for_current_thread);
INIT_ENTRY(cef_task_runner_get_for_thread);
INIT_ENTRY(cef_thread_create);
INIT_ENTRY(cef_urlrequest_create);
INIT_ENTRY(cef_v8context_get_current_context);
INIT_ENTRY(cef_v8context_get_entered_context);
INIT_ENTRY(cef_v8context_in_context);
INIT_ENTRY(cef_v8value_create_undefined);
INIT_ENTRY(cef_v8value_create_null);
INIT_ENTRY(cef_v8value_create_bool);
INIT_ENTRY(cef_v8value_create_int);
INIT_ENTRY(cef_v8value_create_uint);
INIT_ENTRY(cef_v8value_create_double);
INIT_ENTRY(cef_v8value_create_date);
INIT_ENTRY(cef_v8value_create_string);
INIT_ENTRY(cef_v8value_create_object);
INIT_ENTRY(cef_v8value_create_array);
INIT_ENTRY(cef_v8value_create_array_buffer);
INIT_ENTRY(cef_v8value_create_function);
INIT_ENTRY(cef_v8value_create_promise);
INIT_ENTRY(cef_v8stack_trace_get_current);
INIT_ENTRY(cef_value_create);
INIT_ENTRY(cef_binary_value_create);
INIT_ENTRY(cef_dictionary_value_create);
INIT_ENTRY(cef_list_value_create);
INIT_ENTRY(cef_waitable_event_create);
INIT_ENTRY(cef_xml_reader_create);
INIT_ENTRY(cef_zip_reader_create);
INIT_ENTRY(cef_test_server_create_and_start);
INIT_ENTRY(cef_translator_test_create);
INIT_ENTRY(cef_translator_test_ref_ptr_library_create);
INIT_ENTRY(cef_translator_test_ref_ptr_library_child_create);
INIT_ENTRY(cef_translator_test_ref_ptr_library_child_child_create);
INIT_ENTRY(cef_translator_test_scoped_library_create);
INIT_ENTRY(cef_translator_test_scoped_library_child_create);
INIT_ENTRY(cef_translator_test_scoped_library_child_child_create);
INIT_ENTRY(cef_browser_view_create);
INIT_ENTRY(cef_browser_view_get_for_browser);
INIT_ENTRY(cef_display_get_primary);
INIT_ENTRY(cef_display_get_nearest_point);
INIT_ENTRY(cef_display_get_matching_bounds);
INIT_ENTRY(cef_display_get_count);
INIT_ENTRY(cef_display_get_alls);
INIT_ENTRY(cef_display_convert_screen_point_to_pixels);
INIT_ENTRY(cef_display_convert_screen_point_from_pixels);
INIT_ENTRY(cef_display_convert_screen_rect_to_pixels);
INIT_ENTRY(cef_display_convert_screen_rect_from_pixels);
INIT_ENTRY(cef_label_button_create);
INIT_ENTRY(cef_menu_button_create);
INIT_ENTRY(cef_panel_create);
INIT_ENTRY(cef_scroll_view_create);
INIT_ENTRY(cef_textfield_create);
INIT_ENTRY(cef_window_create_top_level);
INIT_ENTRY(cef_api_hash);
INIT_ENTRY(cef_version_info);
INIT_ENTRY(cef_get_min_log_level);
INIT_ENTRY(cef_get_vlog_level);
INIT_ENTRY(cef_log);
INIT_ENTRY(cef_string_list_alloc);
INIT_ENTRY(cef_string_list_size);
INIT_ENTRY(cef_string_list_value);
INIT_ENTRY(cef_string_list_append);
INIT_ENTRY(cef_string_list_clear);
INIT_ENTRY(cef_string_list_free);
INIT_ENTRY(cef_string_list_copy);
INIT_ENTRY(cef_string_map_alloc);
INIT_ENTRY(cef_string_map_size);
INIT_ENTRY(cef_string_map_find);
INIT_ENTRY(cef_string_map_key);
INIT_ENTRY(cef_string_map_value);
INIT_ENTRY(cef_string_map_append);
INIT_ENTRY(cef_string_map_clear);
INIT_ENTRY(cef_string_map_free);
INIT_ENTRY(cef_string_multimap_alloc);
INIT_ENTRY(cef_string_multimap_size);
INIT_ENTRY(cef_string_multimap_find_count);
INIT_ENTRY(cef_string_multimap_enumerate);
INIT_ENTRY(cef_string_multimap_key);
INIT_ENTRY(cef_string_multimap_value);
INIT_ENTRY(cef_string_multimap_append);
INIT_ENTRY(cef_string_multimap_clear);
INIT_ENTRY(cef_string_multimap_free);
INIT_ENTRY(cef_string_wide_set);
INIT_ENTRY(cef_string_utf8_set);
INIT_ENTRY(cef_string_utf16_set);
INIT_ENTRY(cef_string_wide_clear);
INIT_ENTRY(cef_string_utf8_clear);
INIT_ENTRY(cef_string_utf16_clear);
INIT_ENTRY(cef_string_wide_cmp);
INIT_ENTRY(cef_string_utf8_cmp);
INIT_ENTRY(cef_string_utf16_cmp);
INIT_ENTRY(cef_string_wide_to_utf8);
INIT_ENTRY(cef_string_utf8_to_wide);
INIT_ENTRY(cef_string_wide_to_utf16);
INIT_ENTRY(cef_string_utf16_to_wide);
INIT_ENTRY(cef_string_utf8_to_utf16);
INIT_ENTRY(cef_string_utf16_to_utf8);
INIT_ENTRY(cef_string_ascii_to_wide);
INIT_ENTRY(cef_string_ascii_to_utf16);
INIT_ENTRY(cef_string_userfree_wide_alloc);
INIT_ENTRY(cef_string_userfree_utf8_alloc);
INIT_ENTRY(cef_string_userfree_utf16_alloc);
INIT_ENTRY(cef_string_userfree_wide_free);
INIT_ENTRY(cef_string_userfree_utf8_free);
INIT_ENTRY(cef_string_userfree_utf16_free);
INIT_ENTRY(cef_string_utf16_to_lower);
INIT_ENTRY(cef_string_utf16_to_upper);
INIT_ENTRY(cef_get_current_platform_thread_id);
INIT_ENTRY(cef_get_current_platform_thread_handle);
INIT_ENTRY(cef_time_to_timet);
INIT_ENTRY(cef_time_from_timet);
INIT_ENTRY(cef_time_to_doublet);
INIT_ENTRY(cef_time_from_doublet);
INIT_ENTRY(cef_time_now);
INIT_ENTRY(cef_basetime_now);
INIT_ENTRY(cef_time_delta);
INIT_ENTRY(cef_time_to_basetime);
INIT_ENTRY(cef_time_from_basetime);
INIT_ENTRY(cef_trace_event_instant);
INIT_ENTRY(cef_trace_event_begin);
INIT_ENTRY(cef_trace_event_end);
INIT_ENTRY(cef_trace_counter);
INIT_ENTRY(cef_trace_counter_id);
INIT_ENTRY(cef_trace_event_async_begin);
INIT_ENTRY(cef_trace_event_async_step_into);
INIT_ENTRY(cef_trace_event_async_step_past);
INIT_ENTRY(cef_trace_event_async_end);
return 1;
}
} // namespace
int cef_load_library(const char* path) {
if (g_libcef_handle) {
return 0;
}
g_libcef_handle = dlopen(path, RTLD_LAZY | RTLD_LOCAL | RTLD_FIRST);
if (!g_libcef_handle) {
fprintf(stderr, "dlopen %s: %s\n", path, dlerror());
return 0;
}
if (!libcef_init_pointers(path)) {
cef_unload_library();
return 0;
}
return 1;
}
int cef_unload_library() {
int result = 0;
if (g_libcef_handle) {
result = !dlclose(g_libcef_handle);
if (!result) {
fprintf(stderr, "dlclose: %s\n", dlerror());
}
g_libcef_handle = nullptr;
}
return result;
}
NO_SANITIZE("cfi-icall")
int cef_execute_process(const cef_main_args_t* args,
struct _cef_app_t* application,
void* windows_sandbox_info) {
return g_libcef_pointers.cef_execute_process(args, application,
windows_sandbox_info);
}
NO_SANITIZE("cfi-icall")
int cef_initialize(const cef_main_args_t* args,
const struct _cef_settings_t* settings,
struct _cef_app_t* application,
void* windows_sandbox_info) {
return g_libcef_pointers.cef_initialize(args, settings, application,
windows_sandbox_info);
}
NO_SANITIZE("cfi-icall") void cef_shutdown() {
g_libcef_pointers.cef_shutdown();
}
NO_SANITIZE("cfi-icall") void cef_do_message_loop_work() {
g_libcef_pointers.cef_do_message_loop_work();
}
NO_SANITIZE("cfi-icall") void cef_run_message_loop() {
g_libcef_pointers.cef_run_message_loop();
}
NO_SANITIZE("cfi-icall") void cef_quit_message_loop() {
g_libcef_pointers.cef_quit_message_loop();
}
NO_SANITIZE("cfi-icall") int cef_crash_reporting_enabled() {
return g_libcef_pointers.cef_crash_reporting_enabled();
}
NO_SANITIZE("cfi-icall")
void cef_set_crash_key_value(const cef_string_t* key,
const cef_string_t* value) {
g_libcef_pointers.cef_set_crash_key_value(key, value);
}
NO_SANITIZE("cfi-icall")
int cef_create_directory(const cef_string_t* full_path) {
return g_libcef_pointers.cef_create_directory(full_path);
}
NO_SANITIZE("cfi-icall") int cef_get_temp_directory(cef_string_t* temp_dir) {
return g_libcef_pointers.cef_get_temp_directory(temp_dir);
}
NO_SANITIZE("cfi-icall")
int cef_create_new_temp_directory(const cef_string_t* prefix,
cef_string_t* new_temp_path) {
return g_libcef_pointers.cef_create_new_temp_directory(prefix, new_temp_path);
}
NO_SANITIZE("cfi-icall")
int cef_create_temp_directory_in_directory(const cef_string_t* base_dir,
const cef_string_t* prefix,
cef_string_t* new_dir) {
return g_libcef_pointers.cef_create_temp_directory_in_directory(
base_dir, prefix, new_dir);
}
NO_SANITIZE("cfi-icall") int cef_directory_exists(const cef_string_t* path) {
return g_libcef_pointers.cef_directory_exists(path);
}
NO_SANITIZE("cfi-icall")
int cef_delete_file(const cef_string_t* path, int recursive) {
return g_libcef_pointers.cef_delete_file(path, recursive);
}
NO_SANITIZE("cfi-icall")
int cef_zip_directory(const cef_string_t* src_dir,
const cef_string_t* dest_file,
int include_hidden_files) {
return g_libcef_pointers.cef_zip_directory(src_dir, dest_file,
include_hidden_files);
}
NO_SANITIZE("cfi-icall") void cef_load_crlsets_file(const cef_string_t* path) {
g_libcef_pointers.cef_load_crlsets_file(path);
}
NO_SANITIZE("cfi-icall") int cef_is_rtl() {
return g_libcef_pointers.cef_is_rtl();
}
NO_SANITIZE("cfi-icall")
int cef_add_cross_origin_whitelist_entry(const cef_string_t* source_origin,
const cef_string_t* target_protocol,
const cef_string_t* target_domain,
int allow_target_subdomains) {
return g_libcef_pointers.cef_add_cross_origin_whitelist_entry(
source_origin, target_protocol, target_domain, allow_target_subdomains);
}
NO_SANITIZE("cfi-icall")
int cef_remove_cross_origin_whitelist_entry(const cef_string_t* source_origin,
const cef_string_t* target_protocol,
const cef_string_t* target_domain,
int allow_target_subdomains) {
return g_libcef_pointers.cef_remove_cross_origin_whitelist_entry(
source_origin, target_protocol, target_domain, allow_target_subdomains);
}
NO_SANITIZE("cfi-icall") int cef_clear_cross_origin_whitelist() {
return g_libcef_pointers.cef_clear_cross_origin_whitelist();
}
NO_SANITIZE("cfi-icall")
int cef_resolve_url(const cef_string_t* base_url,
const cef_string_t* relative_url,
cef_string_t* resolved_url) {
return g_libcef_pointers.cef_resolve_url(base_url, relative_url,
resolved_url);
}
NO_SANITIZE("cfi-icall")
int cef_parse_url(const cef_string_t* url, struct _cef_urlparts_t* parts) {
return g_libcef_pointers.cef_parse_url(url, parts);
}
NO_SANITIZE("cfi-icall")
int cef_create_url(const struct _cef_urlparts_t* parts, cef_string_t* url) {
return g_libcef_pointers.cef_create_url(parts, url);
}
NO_SANITIZE("cfi-icall")
cef_string_userfree_t cef_format_url_for_security_display(
const cef_string_t* origin_url) {
return g_libcef_pointers.cef_format_url_for_security_display(origin_url);
}
NO_SANITIZE("cfi-icall")
cef_string_userfree_t cef_get_mime_type(const cef_string_t* extension) {
return g_libcef_pointers.cef_get_mime_type(extension);
}
NO_SANITIZE("cfi-icall")
void cef_get_extensions_for_mime_type(const cef_string_t* mime_type,
cef_string_list_t extensions) {
g_libcef_pointers.cef_get_extensions_for_mime_type(mime_type, extensions);
}
NO_SANITIZE("cfi-icall")
cef_string_userfree_t cef_base64encode(const void* data, size_t data_size) {
return g_libcef_pointers.cef_base64encode(data, data_size);
}
NO_SANITIZE("cfi-icall")
struct _cef_binary_value_t* cef_base64decode(const cef_string_t* data) {
return g_libcef_pointers.cef_base64decode(data);
}
NO_SANITIZE("cfi-icall")
cef_string_userfree_t cef_uriencode(const cef_string_t* text, int use_plus) {
return g_libcef_pointers.cef_uriencode(text, use_plus);
}
NO_SANITIZE("cfi-icall")
cef_string_userfree_t cef_uridecode(const cef_string_t* text,
int convert_to_utf8,
cef_uri_unescape_rule_t unescape_rule) {
return g_libcef_pointers.cef_uridecode(text, convert_to_utf8, unescape_rule);
}
NO_SANITIZE("cfi-icall")
struct _cef_value_t* cef_parse_json(const cef_string_t* json_string,
cef_json_parser_options_t options) {
return g_libcef_pointers.cef_parse_json(json_string, options);
}
NO_SANITIZE("cfi-icall")
struct _cef_value_t* cef_parse_json_buffer(const void* json,
size_t json_size,
cef_json_parser_options_t options) {
return g_libcef_pointers.cef_parse_json_buffer(json, json_size, options);
}
NO_SANITIZE("cfi-icall")
struct _cef_value_t* cef_parse_jsonand_return_error(
const cef_string_t* json_string,
cef_json_parser_options_t options,
cef_string_t* error_msg_out) {
return g_libcef_pointers.cef_parse_jsonand_return_error(json_string, options,
error_msg_out);
}
NO_SANITIZE("cfi-icall")
cef_string_userfree_t cef_write_json(struct _cef_value_t* node,
cef_json_writer_options_t options) {
return g_libcef_pointers.cef_write_json(node, options);
}
NO_SANITIZE("cfi-icall")
int cef_get_path(cef_path_key_t key, cef_string_t* path) {
return g_libcef_pointers.cef_get_path(key, path);
}
NO_SANITIZE("cfi-icall")
int cef_launch_process(struct _cef_command_line_t* command_line) {
return g_libcef_pointers.cef_launch_process(command_line);
}
NO_SANITIZE("cfi-icall")
int cef_register_scheme_handler_factory(
const cef_string_t* scheme_name,
const cef_string_t* domain_name,
struct _cef_scheme_handler_factory_t* factory) {
return g_libcef_pointers.cef_register_scheme_handler_factory(
scheme_name, domain_name, factory);
}
NO_SANITIZE("cfi-icall") int cef_clear_scheme_handler_factories() {
return g_libcef_pointers.cef_clear_scheme_handler_factories();
}
NO_SANITIZE("cfi-icall")
int cef_is_cert_status_error(cef_cert_status_t status) {
return g_libcef_pointers.cef_is_cert_status_error(status);
}
NO_SANITIZE("cfi-icall") int cef_currently_on(cef_thread_id_t threadId) {
return g_libcef_pointers.cef_currently_on(threadId);
}
NO_SANITIZE("cfi-icall")
int cef_post_task(cef_thread_id_t threadId, struct _cef_task_t* task) {
return g_libcef_pointers.cef_post_task(threadId, task);
}
NO_SANITIZE("cfi-icall")
int cef_post_delayed_task(cef_thread_id_t threadId,
struct _cef_task_t* task,
int64_t delay_ms) {
return g_libcef_pointers.cef_post_delayed_task(threadId, task, delay_ms);
}
NO_SANITIZE("cfi-icall")
int cef_begin_tracing(const cef_string_t* categories,
struct _cef_completion_callback_t* callback) {
return g_libcef_pointers.cef_begin_tracing(categories, callback);
}
NO_SANITIZE("cfi-icall")
int cef_end_tracing(const cef_string_t* tracing_file,
struct _cef_end_tracing_callback_t* callback) {
return g_libcef_pointers.cef_end_tracing(tracing_file, callback);
}
NO_SANITIZE("cfi-icall") int64_t cef_now_from_system_trace_time() {
return g_libcef_pointers.cef_now_from_system_trace_time();
}
NO_SANITIZE("cfi-icall")
int cef_register_extension(const cef_string_t* extension_name,
const cef_string_t* javascript_code,
struct _cef_v8handler_t* handler) {
return g_libcef_pointers.cef_register_extension(extension_name,
javascript_code, handler);
}
NO_SANITIZE("cfi-icall")
void cef_execute_java_script_with_user_gesture_for_tests(
struct _cef_frame_t* frame,
const cef_string_t* javascript) {
g_libcef_pointers.cef_execute_java_script_with_user_gesture_for_tests(
frame, javascript);
}
NO_SANITIZE("cfi-icall")
void cef_set_data_directory_for_tests(const cef_string_t* dir) {
g_libcef_pointers.cef_set_data_directory_for_tests(dir);
}
NO_SANITIZE("cfi-icall")
int cef_browser_host_create_browser(
const struct _cef_window_info_t* windowInfo,
struct _cef_client_t* client,
const cef_string_t* url,
const struct _cef_browser_settings_t* settings,
struct _cef_dictionary_value_t* extra_info,
struct _cef_request_context_t* request_context) {
return g_libcef_pointers.cef_browser_host_create_browser(
windowInfo, client, url, settings, extra_info, request_context);
}
NO_SANITIZE("cfi-icall")
struct _cef_browser_t* cef_browser_host_create_browser_sync(
const struct _cef_window_info_t* windowInfo,
struct _cef_client_t* client,
const cef_string_t* url,
const struct _cef_browser_settings_t* settings,
struct _cef_dictionary_value_t* extra_info,
struct _cef_request_context_t* request_context) {
return g_libcef_pointers.cef_browser_host_create_browser_sync(
windowInfo, client, url, settings, extra_info, request_context);
}
NO_SANITIZE("cfi-icall") struct _cef_command_line_t* cef_command_line_create() {
return g_libcef_pointers.cef_command_line_create();
}
NO_SANITIZE("cfi-icall")
struct _cef_command_line_t* cef_command_line_get_global() {
return g_libcef_pointers.cef_command_line_get_global();
}
NO_SANITIZE("cfi-icall")
struct _cef_cookie_manager_t* cef_cookie_manager_get_global_manager(
struct _cef_completion_callback_t* callback) {
return g_libcef_pointers.cef_cookie_manager_get_global_manager(callback);
}
NO_SANITIZE("cfi-icall") struct _cef_drag_data_t* cef_drag_data_create() {
return g_libcef_pointers.cef_drag_data_create();
}
NO_SANITIZE("cfi-icall") struct _cef_image_t* cef_image_create() {
return g_libcef_pointers.cef_image_create();
}
NO_SANITIZE("cfi-icall")
struct _cef_media_router_t* cef_media_router_get_global(
struct _cef_completion_callback_t* callback) {
return g_libcef_pointers.cef_media_router_get_global(callback);
}
NO_SANITIZE("cfi-icall")
struct _cef_menu_model_t* cef_menu_model_create(
struct _cef_menu_model_delegate_t* delegate) {
return g_libcef_pointers.cef_menu_model_create(delegate);
}
NO_SANITIZE("cfi-icall")
struct _cef_preference_manager_t* cef_preference_manager_get_global() {
return g_libcef_pointers.cef_preference_manager_get_global();
}
NO_SANITIZE("cfi-icall")
struct _cef_print_settings_t* cef_print_settings_create() {
return g_libcef_pointers.cef_print_settings_create();
}
NO_SANITIZE("cfi-icall")
struct _cef_process_message_t* cef_process_message_create(
const cef_string_t* name) {
return g_libcef_pointers.cef_process_message_create(name);
}
NO_SANITIZE("cfi-icall") struct _cef_request_t* cef_request_create() {
return g_libcef_pointers.cef_request_create();
}
NO_SANITIZE("cfi-icall") struct _cef_post_data_t* cef_post_data_create() {
return g_libcef_pointers.cef_post_data_create();
}
NO_SANITIZE("cfi-icall")
struct _cef_post_data_element_t* cef_post_data_element_create() {
return g_libcef_pointers.cef_post_data_element_create();
}
NO_SANITIZE("cfi-icall")
struct _cef_request_context_t* cef_request_context_get_global_context() {
return g_libcef_pointers.cef_request_context_get_global_context();
}
NO_SANITIZE("cfi-icall")
struct _cef_request_context_t* cef_request_context_create_context(
const struct _cef_request_context_settings_t* settings,
struct _cef_request_context_handler_t* handler) {
return g_libcef_pointers.cef_request_context_create_context(settings,
handler);
}
NO_SANITIZE("cfi-icall")
struct _cef_request_context_t* cef_create_context_shared(
struct _cef_request_context_t* other,
struct _cef_request_context_handler_t* handler) {
return g_libcef_pointers.cef_create_context_shared(other, handler);
}
NO_SANITIZE("cfi-icall")
struct _cef_resource_bundle_t* cef_resource_bundle_get_global() {
return g_libcef_pointers.cef_resource_bundle_get_global();
}
NO_SANITIZE("cfi-icall") struct _cef_response_t* cef_response_create() {
return g_libcef_pointers.cef_response_create();
}
NO_SANITIZE("cfi-icall")
void cef_server_create(const cef_string_t* address,
uint16_t port,
int backlog,
struct _cef_server_handler_t* handler) {
g_libcef_pointers.cef_server_create(address, port, backlog, handler);
}
NO_SANITIZE("cfi-icall")
struct _cef_shared_process_message_builder_t*
cef_shared_process_message_builder_create(const cef_string_t* name,
size_t byte_size) {
return g_libcef_pointers.cef_shared_process_message_builder_create(name,
byte_size);
}
NO_SANITIZE("cfi-icall")
struct _cef_stream_reader_t* cef_stream_reader_create_for_file(
const cef_string_t* fileName) {
return g_libcef_pointers.cef_stream_reader_create_for_file(fileName);
}
NO_SANITIZE("cfi-icall")
struct _cef_stream_reader_t* cef_stream_reader_create_for_data(void* data,
size_t size) {
return g_libcef_pointers.cef_stream_reader_create_for_data(data, size);
}
NO_SANITIZE("cfi-icall")
struct _cef_stream_reader_t* cef_stream_reader_create_for_handler(
struct _cef_read_handler_t* handler) {
return g_libcef_pointers.cef_stream_reader_create_for_handler(handler);
}
NO_SANITIZE("cfi-icall")
struct _cef_stream_writer_t* cef_stream_writer_create_for_file(
const cef_string_t* fileName) {
return g_libcef_pointers.cef_stream_writer_create_for_file(fileName);
}
NO_SANITIZE("cfi-icall")
struct _cef_stream_writer_t* cef_stream_writer_create_for_handler(
struct _cef_write_handler_t* handler) {
return g_libcef_pointers.cef_stream_writer_create_for_handler(handler);
}
NO_SANITIZE("cfi-icall")
struct _cef_task_runner_t* cef_task_runner_get_for_current_thread() {
return g_libcef_pointers.cef_task_runner_get_for_current_thread();
}
NO_SANITIZE("cfi-icall")
struct _cef_task_runner_t* cef_task_runner_get_for_thread(
cef_thread_id_t threadId) {
return g_libcef_pointers.cef_task_runner_get_for_thread(threadId);
}
NO_SANITIZE("cfi-icall")
struct _cef_thread_t* cef_thread_create(
const cef_string_t* display_name,
cef_thread_priority_t priority,
cef_message_loop_type_t message_loop_type,
int stoppable,
cef_com_init_mode_t com_init_mode) {
return g_libcef_pointers.cef_thread_create(
display_name, priority, message_loop_type, stoppable, com_init_mode);
}
NO_SANITIZE("cfi-icall")
struct _cef_urlrequest_t* cef_urlrequest_create(
struct _cef_request_t* request,
struct _cef_urlrequest_client_t* client,
struct _cef_request_context_t* request_context) {
return g_libcef_pointers.cef_urlrequest_create(request, client,
request_context);
}
NO_SANITIZE("cfi-icall")
struct _cef_v8context_t* cef_v8context_get_current_context() {
return g_libcef_pointers.cef_v8context_get_current_context();
}
NO_SANITIZE("cfi-icall")
struct _cef_v8context_t* cef_v8context_get_entered_context() {
return g_libcef_pointers.cef_v8context_get_entered_context();
}
NO_SANITIZE("cfi-icall") int cef_v8context_in_context() {
return g_libcef_pointers.cef_v8context_in_context();
}
NO_SANITIZE("cfi-icall") struct _cef_v8value_t* cef_v8value_create_undefined() {
return g_libcef_pointers.cef_v8value_create_undefined();
}
NO_SANITIZE("cfi-icall") struct _cef_v8value_t* cef_v8value_create_null() {
return g_libcef_pointers.cef_v8value_create_null();
}
NO_SANITIZE("cfi-icall")
struct _cef_v8value_t* cef_v8value_create_bool(int value) {
return g_libcef_pointers.cef_v8value_create_bool(value);
}
NO_SANITIZE("cfi-icall")
struct _cef_v8value_t* cef_v8value_create_int(int32_t value) {
return g_libcef_pointers.cef_v8value_create_int(value);
}
NO_SANITIZE("cfi-icall")
struct _cef_v8value_t* cef_v8value_create_uint(uint32_t value) {
return g_libcef_pointers.cef_v8value_create_uint(value);
}
NO_SANITIZE("cfi-icall")
struct _cef_v8value_t* cef_v8value_create_double(double value) {
return g_libcef_pointers.cef_v8value_create_double(value);
}
NO_SANITIZE("cfi-icall")
struct _cef_v8value_t* cef_v8value_create_date(cef_basetime_t date) {
return g_libcef_pointers.cef_v8value_create_date(date);
}
NO_SANITIZE("cfi-icall")
struct _cef_v8value_t* cef_v8value_create_string(const cef_string_t* value) {
return g_libcef_pointers.cef_v8value_create_string(value);
}
NO_SANITIZE("cfi-icall")
struct _cef_v8value_t* cef_v8value_create_object(
struct _cef_v8accessor_t* accessor,
struct _cef_v8interceptor_t* interceptor) {
return g_libcef_pointers.cef_v8value_create_object(accessor, interceptor);
}
NO_SANITIZE("cfi-icall")
struct _cef_v8value_t* cef_v8value_create_array(int length) {
return g_libcef_pointers.cef_v8value_create_array(length);
}
NO_SANITIZE("cfi-icall")
struct _cef_v8value_t* cef_v8value_create_array_buffer(
void* buffer,
size_t length,
struct _cef_v8array_buffer_release_callback_t* release_callback) {
return g_libcef_pointers.cef_v8value_create_array_buffer(buffer, length,
release_callback);
}
NO_SANITIZE("cfi-icall")
struct _cef_v8value_t* cef_v8value_create_function(
const cef_string_t* name,
struct _cef_v8handler_t* handler) {
return g_libcef_pointers.cef_v8value_create_function(name, handler);
}
NO_SANITIZE("cfi-icall") struct _cef_v8value_t* cef_v8value_create_promise() {
return g_libcef_pointers.cef_v8value_create_promise();
}
NO_SANITIZE("cfi-icall")
struct _cef_v8stack_trace_t* cef_v8stack_trace_get_current(int frame_limit) {
return g_libcef_pointers.cef_v8stack_trace_get_current(frame_limit);
}
NO_SANITIZE("cfi-icall") struct _cef_value_t* cef_value_create() {
return g_libcef_pointers.cef_value_create();
}
NO_SANITIZE("cfi-icall")
struct _cef_binary_value_t* cef_binary_value_create(const void* data,
size_t data_size) {
return g_libcef_pointers.cef_binary_value_create(data, data_size);
}
NO_SANITIZE("cfi-icall")
struct _cef_dictionary_value_t* cef_dictionary_value_create() {
return g_libcef_pointers.cef_dictionary_value_create();
}
NO_SANITIZE("cfi-icall") struct _cef_list_value_t* cef_list_value_create() {
return g_libcef_pointers.cef_list_value_create();
}
NO_SANITIZE("cfi-icall")
struct _cef_waitable_event_t* cef_waitable_event_create(
int automatic_reset,
int initially_signaled) {
return g_libcef_pointers.cef_waitable_event_create(automatic_reset,
initially_signaled);
}
NO_SANITIZE("cfi-icall")
struct _cef_xml_reader_t* cef_xml_reader_create(
struct _cef_stream_reader_t* stream,
cef_xml_encoding_type_t encodingType,
const cef_string_t* URI) {
return g_libcef_pointers.cef_xml_reader_create(stream, encodingType, URI);
}
NO_SANITIZE("cfi-icall")
struct _cef_zip_reader_t* cef_zip_reader_create(
struct _cef_stream_reader_t* stream) {
return g_libcef_pointers.cef_zip_reader_create(stream);
}
NO_SANITIZE("cfi-icall")
struct _cef_test_server_t* cef_test_server_create_and_start(
uint16_t port,
int https_server,
cef_test_cert_type_t https_cert_type,
struct _cef_test_server_handler_t* handler) {
return g_libcef_pointers.cef_test_server_create_and_start(
port, https_server, https_cert_type, handler);
}
NO_SANITIZE("cfi-icall")
struct _cef_translator_test_t* cef_translator_test_create() {
return g_libcef_pointers.cef_translator_test_create();
}
NO_SANITIZE("cfi-icall")
struct _cef_translator_test_ref_ptr_library_t*
cef_translator_test_ref_ptr_library_create(int value) {
return g_libcef_pointers.cef_translator_test_ref_ptr_library_create(value);
}
NO_SANITIZE("cfi-icall")
struct _cef_translator_test_ref_ptr_library_child_t*
cef_translator_test_ref_ptr_library_child_create(int value, int other_value) {
return g_libcef_pointers.cef_translator_test_ref_ptr_library_child_create(
value, other_value);
}
NO_SANITIZE("cfi-icall")
struct _cef_translator_test_ref_ptr_library_child_child_t*
cef_translator_test_ref_ptr_library_child_child_create(int value,
int other_value,
int other_other_value) {
return g_libcef_pointers
.cef_translator_test_ref_ptr_library_child_child_create(
value, other_value, other_other_value);
}
NO_SANITIZE("cfi-icall")
struct _cef_translator_test_scoped_library_t*
cef_translator_test_scoped_library_create(int value) {
return g_libcef_pointers.cef_translator_test_scoped_library_create(value);
}
NO_SANITIZE("cfi-icall")
struct _cef_translator_test_scoped_library_child_t*
cef_translator_test_scoped_library_child_create(int value, int other_value) {
return g_libcef_pointers.cef_translator_test_scoped_library_child_create(
value, other_value);
}
NO_SANITIZE("cfi-icall")
struct _cef_translator_test_scoped_library_child_child_t*
cef_translator_test_scoped_library_child_child_create(int value,
int other_value,
int other_other_value) {
return g_libcef_pointers
.cef_translator_test_scoped_library_child_child_create(value, other_value,
other_other_value);
}
NO_SANITIZE("cfi-icall")
struct _cef_browser_view_t* cef_browser_view_create(
struct _cef_client_t* client,
const cef_string_t* url,
const struct _cef_browser_settings_t* settings,
struct _cef_dictionary_value_t* extra_info,
struct _cef_request_context_t* request_context,
struct _cef_browser_view_delegate_t* delegate) {
return g_libcef_pointers.cef_browser_view_create(
client, url, settings, extra_info, request_context, delegate);
}
NO_SANITIZE("cfi-icall")
struct _cef_browser_view_t* cef_browser_view_get_for_browser(
struct _cef_browser_t* browser) {
return g_libcef_pointers.cef_browser_view_get_for_browser(browser);
}
NO_SANITIZE("cfi-icall") struct _cef_display_t* cef_display_get_primary() {
return g_libcef_pointers.cef_display_get_primary();
}
NO_SANITIZE("cfi-icall")
struct _cef_display_t* cef_display_get_nearest_point(const cef_point_t* point,
int input_pixel_coords) {
return g_libcef_pointers.cef_display_get_nearest_point(point,
input_pixel_coords);
}
NO_SANITIZE("cfi-icall")
struct _cef_display_t* cef_display_get_matching_bounds(const cef_rect_t* bounds,
int input_pixel_coords) {
return g_libcef_pointers.cef_display_get_matching_bounds(bounds,
input_pixel_coords);
}
NO_SANITIZE("cfi-icall") size_t cef_display_get_count() {
return g_libcef_pointers.cef_display_get_count();
}
NO_SANITIZE("cfi-icall")
void cef_display_get_alls(size_t* displaysCount,
struct _cef_display_t** displays) {
g_libcef_pointers.cef_display_get_alls(displaysCount, displays);
}
NO_SANITIZE("cfi-icall")
cef_point_t cef_display_convert_screen_point_to_pixels(
const cef_point_t* point) {
return g_libcef_pointers.cef_display_convert_screen_point_to_pixels(point);
}
NO_SANITIZE("cfi-icall")
cef_point_t cef_display_convert_screen_point_from_pixels(
const cef_point_t* point) {
return g_libcef_pointers.cef_display_convert_screen_point_from_pixels(point);
}
NO_SANITIZE("cfi-icall")
cef_rect_t cef_display_convert_screen_rect_to_pixels(const cef_rect_t* rect) {
return g_libcef_pointers.cef_display_convert_screen_rect_to_pixels(rect);
}
NO_SANITIZE("cfi-icall")
cef_rect_t cef_display_convert_screen_rect_from_pixels(const cef_rect_t* rect) {
return g_libcef_pointers.cef_display_convert_screen_rect_from_pixels(rect);
}
NO_SANITIZE("cfi-icall")
struct _cef_label_button_t* cef_label_button_create(
struct _cef_button_delegate_t* delegate,
const cef_string_t* text) {
return g_libcef_pointers.cef_label_button_create(delegate, text);
}
NO_SANITIZE("cfi-icall")
struct _cef_menu_button_t* cef_menu_button_create(
struct _cef_menu_button_delegate_t* delegate,
const cef_string_t* text) {
return g_libcef_pointers.cef_menu_button_create(delegate, text);
}
NO_SANITIZE("cfi-icall")
struct _cef_panel_t* cef_panel_create(struct _cef_panel_delegate_t* delegate) {
return g_libcef_pointers.cef_panel_create(delegate);
}
NO_SANITIZE("cfi-icall")
struct _cef_scroll_view_t* cef_scroll_view_create(
struct _cef_view_delegate_t* delegate) {
return g_libcef_pointers.cef_scroll_view_create(delegate);
}
NO_SANITIZE("cfi-icall")
struct _cef_textfield_t* cef_textfield_create(
struct _cef_textfield_delegate_t* delegate) {
return g_libcef_pointers.cef_textfield_create(delegate);
}
NO_SANITIZE("cfi-icall")
struct _cef_window_t* cef_window_create_top_level(
struct _cef_window_delegate_t* delegate) {
return g_libcef_pointers.cef_window_create_top_level(delegate);
}
NO_SANITIZE("cfi-icall") const char* cef_api_hash(int entry) {
return g_libcef_pointers.cef_api_hash(entry);
}
NO_SANITIZE("cfi-icall") int cef_version_info(int entry) {
return g_libcef_pointers.cef_version_info(entry);
}
NO_SANITIZE("cfi-icall") int cef_get_min_log_level() {
return g_libcef_pointers.cef_get_min_log_level();
}
NO_SANITIZE("cfi-icall")
int cef_get_vlog_level(const char* file_start, size_t N) {
return g_libcef_pointers.cef_get_vlog_level(file_start, N);
}
NO_SANITIZE("cfi-icall")
void cef_log(const char* file, int line, int severity, const char* message) {
g_libcef_pointers.cef_log(file, line, severity, message);
}
NO_SANITIZE("cfi-icall") cef_string_list_t cef_string_list_alloc() {
return g_libcef_pointers.cef_string_list_alloc();
}
NO_SANITIZE("cfi-icall") size_t cef_string_list_size(cef_string_list_t list) {
return g_libcef_pointers.cef_string_list_size(list);
}
NO_SANITIZE("cfi-icall")
int cef_string_list_value(cef_string_list_t list,
size_t index,
cef_string_t* value) {
return g_libcef_pointers.cef_string_list_value(list, index, value);
}
NO_SANITIZE("cfi-icall")
void cef_string_list_append(cef_string_list_t list, const cef_string_t* value) {
g_libcef_pointers.cef_string_list_append(list, value);
}
NO_SANITIZE("cfi-icall") void cef_string_list_clear(cef_string_list_t list) {
g_libcef_pointers.cef_string_list_clear(list);
}
NO_SANITIZE("cfi-icall") void cef_string_list_free(cef_string_list_t list) {
g_libcef_pointers.cef_string_list_free(list);
}
NO_SANITIZE("cfi-icall")
cef_string_list_t cef_string_list_copy(cef_string_list_t list) {
return g_libcef_pointers.cef_string_list_copy(list);
}
NO_SANITIZE("cfi-icall") cef_string_map_t cef_string_map_alloc() {
return g_libcef_pointers.cef_string_map_alloc();
}
NO_SANITIZE("cfi-icall") size_t cef_string_map_size(cef_string_map_t map) {
return g_libcef_pointers.cef_string_map_size(map);
}
NO_SANITIZE("cfi-icall")
int cef_string_map_find(cef_string_map_t map,
const cef_string_t* key,
cef_string_t* value) {
return g_libcef_pointers.cef_string_map_find(map, key, value);
}
NO_SANITIZE("cfi-icall")
int cef_string_map_key(cef_string_map_t map, size_t index, cef_string_t* key) {
return g_libcef_pointers.cef_string_map_key(map, index, key);
}
NO_SANITIZE("cfi-icall")
int cef_string_map_value(cef_string_map_t map,
size_t index,
cef_string_t* value) {
return g_libcef_pointers.cef_string_map_value(map, index, value);
}
NO_SANITIZE("cfi-icall")
int cef_string_map_append(cef_string_map_t map,
const cef_string_t* key,
const cef_string_t* value) {
return g_libcef_pointers.cef_string_map_append(map, key, value);
}
NO_SANITIZE("cfi-icall") void cef_string_map_clear(cef_string_map_t map) {
g_libcef_pointers.cef_string_map_clear(map);
}
NO_SANITIZE("cfi-icall") void cef_string_map_free(cef_string_map_t map) {
g_libcef_pointers.cef_string_map_free(map);
}
NO_SANITIZE("cfi-icall") cef_string_multimap_t cef_string_multimap_alloc() {
return g_libcef_pointers.cef_string_multimap_alloc();
}
NO_SANITIZE("cfi-icall")
size_t cef_string_multimap_size(cef_string_multimap_t map) {
return g_libcef_pointers.cef_string_multimap_size(map);
}
NO_SANITIZE("cfi-icall")
size_t cef_string_multimap_find_count(cef_string_multimap_t map,
const cef_string_t* key) {
return g_libcef_pointers.cef_string_multimap_find_count(map, key);
}
NO_SANITIZE("cfi-icall")
int cef_string_multimap_enumerate(cef_string_multimap_t map,
const cef_string_t* key,
size_t value_index,
cef_string_t* value) {
return g_libcef_pointers.cef_string_multimap_enumerate(map, key, value_index,
value);
}
NO_SANITIZE("cfi-icall")
int cef_string_multimap_key(cef_string_multimap_t map,
size_t index,
cef_string_t* key) {
return g_libcef_pointers.cef_string_multimap_key(map, index, key);
}
NO_SANITIZE("cfi-icall")
int cef_string_multimap_value(cef_string_multimap_t map,
size_t index,
cef_string_t* value) {
return g_libcef_pointers.cef_string_multimap_value(map, index, value);
}
NO_SANITIZE("cfi-icall")
int cef_string_multimap_append(cef_string_multimap_t map,
const cef_string_t* key,
const cef_string_t* value) {
return g_libcef_pointers.cef_string_multimap_append(map, key, value);
}
NO_SANITIZE("cfi-icall")
void cef_string_multimap_clear(cef_string_multimap_t map) {
g_libcef_pointers.cef_string_multimap_clear(map);
}
NO_SANITIZE("cfi-icall")
void cef_string_multimap_free(cef_string_multimap_t map) {
g_libcef_pointers.cef_string_multimap_free(map);
}
NO_SANITIZE("cfi-icall")
int cef_string_wide_set(const wchar_t* src,
size_t src_len,
cef_string_wide_t* output,
int copy) {
return g_libcef_pointers.cef_string_wide_set(src, src_len, output, copy);
}
NO_SANITIZE("cfi-icall")
int cef_string_utf8_set(const char* src,
size_t src_len,
cef_string_utf8_t* output,
int copy) {
return g_libcef_pointers.cef_string_utf8_set(src, src_len, output, copy);
}
NO_SANITIZE("cfi-icall")
int cef_string_utf16_set(const char16_t* src,
size_t src_len,
cef_string_utf16_t* output,
int copy) {
return g_libcef_pointers.cef_string_utf16_set(src, src_len, output, copy);
}
NO_SANITIZE("cfi-icall") void cef_string_wide_clear(cef_string_wide_t* str) {
g_libcef_pointers.cef_string_wide_clear(str);
}
NO_SANITIZE("cfi-icall") void cef_string_utf8_clear(cef_string_utf8_t* str) {
g_libcef_pointers.cef_string_utf8_clear(str);
}
NO_SANITIZE("cfi-icall") void cef_string_utf16_clear(cef_string_utf16_t* str) {
g_libcef_pointers.cef_string_utf16_clear(str);
}
NO_SANITIZE("cfi-icall")
int cef_string_wide_cmp(const cef_string_wide_t* str1,
const cef_string_wide_t* str2) {
return g_libcef_pointers.cef_string_wide_cmp(str1, str2);
}
NO_SANITIZE("cfi-icall")
int cef_string_utf8_cmp(const cef_string_utf8_t* str1,
const cef_string_utf8_t* str2) {
return g_libcef_pointers.cef_string_utf8_cmp(str1, str2);
}
NO_SANITIZE("cfi-icall")
int cef_string_utf16_cmp(const cef_string_utf16_t* str1,
const cef_string_utf16_t* str2) {
return g_libcef_pointers.cef_string_utf16_cmp(str1, str2);
}
NO_SANITIZE("cfi-icall")
int cef_string_wide_to_utf8(const wchar_t* src,
size_t src_len,
cef_string_utf8_t* output) {
return g_libcef_pointers.cef_string_wide_to_utf8(src, src_len, output);
}
NO_SANITIZE("cfi-icall")
int cef_string_utf8_to_wide(const char* src,
size_t src_len,
cef_string_wide_t* output) {
return g_libcef_pointers.cef_string_utf8_to_wide(src, src_len, output);
}
NO_SANITIZE("cfi-icall")
int cef_string_wide_to_utf16(const wchar_t* src,
size_t src_len,
cef_string_utf16_t* output) {
return g_libcef_pointers.cef_string_wide_to_utf16(src, src_len, output);
}
NO_SANITIZE("cfi-icall")
int cef_string_utf16_to_wide(const char16_t* src,
size_t src_len,
cef_string_wide_t* output) {
return g_libcef_pointers.cef_string_utf16_to_wide(src, src_len, output);
}
NO_SANITIZE("cfi-icall")
int cef_string_utf8_to_utf16(const char* src,
size_t src_len,
cef_string_utf16_t* output) {
return g_libcef_pointers.cef_string_utf8_to_utf16(src, src_len, output);
}
NO_SANITIZE("cfi-icall")
int cef_string_utf16_to_utf8(const char16_t* src,
size_t src_len,
cef_string_utf8_t* output) {
return g_libcef_pointers.cef_string_utf16_to_utf8(src, src_len, output);
}
NO_SANITIZE("cfi-icall")
int cef_string_ascii_to_wide(const char* src,
size_t src_len,
cef_string_wide_t* output) {
return g_libcef_pointers.cef_string_ascii_to_wide(src, src_len, output);
}
NO_SANITIZE("cfi-icall")
int cef_string_ascii_to_utf16(const char* src,
size_t src_len,
cef_string_utf16_t* output) {
return g_libcef_pointers.cef_string_ascii_to_utf16(src, src_len, output);
}
NO_SANITIZE("cfi-icall")
cef_string_userfree_wide_t cef_string_userfree_wide_alloc() {
return g_libcef_pointers.cef_string_userfree_wide_alloc();
}
NO_SANITIZE("cfi-icall")
cef_string_userfree_utf8_t cef_string_userfree_utf8_alloc() {
return g_libcef_pointers.cef_string_userfree_utf8_alloc();
}
NO_SANITIZE("cfi-icall")
cef_string_userfree_utf16_t cef_string_userfree_utf16_alloc() {
return g_libcef_pointers.cef_string_userfree_utf16_alloc();
}
NO_SANITIZE("cfi-icall")
void cef_string_userfree_wide_free(cef_string_userfree_wide_t str) {
g_libcef_pointers.cef_string_userfree_wide_free(str);
}
NO_SANITIZE("cfi-icall")
void cef_string_userfree_utf8_free(cef_string_userfree_utf8_t str) {
g_libcef_pointers.cef_string_userfree_utf8_free(str);
}
NO_SANITIZE("cfi-icall")
void cef_string_userfree_utf16_free(cef_string_userfree_utf16_t str) {
g_libcef_pointers.cef_string_userfree_utf16_free(str);
}
NO_SANITIZE("cfi-icall")
int cef_string_utf16_to_lower(const char16_t* src,
size_t src_len,
cef_string_utf16_t* output) {
return g_libcef_pointers.cef_string_utf16_to_lower(src, src_len, output);
}
NO_SANITIZE("cfi-icall")
int cef_string_utf16_to_upper(const char16_t* src,
size_t src_len,
cef_string_utf16_t* output) {
return g_libcef_pointers.cef_string_utf16_to_upper(src, src_len, output);
}
NO_SANITIZE("cfi-icall")
cef_platform_thread_id_t cef_get_current_platform_thread_id() {
return g_libcef_pointers.cef_get_current_platform_thread_id();
}
NO_SANITIZE("cfi-icall")
cef_platform_thread_handle_t cef_get_current_platform_thread_handle() {
return g_libcef_pointers.cef_get_current_platform_thread_handle();
}
NO_SANITIZE("cfi-icall")
int cef_time_to_timet(const cef_time_t* cef_time, time_t* time) {
return g_libcef_pointers.cef_time_to_timet(cef_time, time);
}
NO_SANITIZE("cfi-icall")
int cef_time_from_timet(time_t time, cef_time_t* cef_time) {
return g_libcef_pointers.cef_time_from_timet(time, cef_time);
}
NO_SANITIZE("cfi-icall")
int cef_time_to_doublet(const cef_time_t* cef_time, double* time) {
return g_libcef_pointers.cef_time_to_doublet(cef_time, time);
}
NO_SANITIZE("cfi-icall")
int cef_time_from_doublet(double time, cef_time_t* cef_time) {
return g_libcef_pointers.cef_time_from_doublet(time, cef_time);
}
NO_SANITIZE("cfi-icall") int cef_time_now(cef_time_t* cef_time) {
return g_libcef_pointers.cef_time_now(cef_time);
}
NO_SANITIZE("cfi-icall") cef_basetime_t cef_basetime_now() {
return g_libcef_pointers.cef_basetime_now();
}
NO_SANITIZE("cfi-icall")
int cef_time_delta(const cef_time_t* cef_time1,
const cef_time_t* cef_time2,
long long* delta) {
return g_libcef_pointers.cef_time_delta(cef_time1, cef_time2, delta);
}
NO_SANITIZE("cfi-icall")
int cef_time_to_basetime(const cef_time_t* from, cef_basetime_t* to) {
return g_libcef_pointers.cef_time_to_basetime(from, to);
}
NO_SANITIZE("cfi-icall")
int cef_time_from_basetime(const cef_basetime_t from, cef_time_t* to) {
return g_libcef_pointers.cef_time_from_basetime(from, to);
}
NO_SANITIZE("cfi-icall")
void cef_trace_event_instant(const char* category,
const char* name,
const char* arg1_name,
uint64_t arg1_val,
const char* arg2_name,
uint64_t arg2_val) {
g_libcef_pointers.cef_trace_event_instant(category, name, arg1_name, arg1_val,
arg2_name, arg2_val);
}
NO_SANITIZE("cfi-icall")
void cef_trace_event_begin(const char* category,
const char* name,
const char* arg1_name,
uint64_t arg1_val,
const char* arg2_name,
uint64_t arg2_val) {
g_libcef_pointers.cef_trace_event_begin(category, name, arg1_name, arg1_val,
arg2_name, arg2_val);
}
NO_SANITIZE("cfi-icall")
void cef_trace_event_end(const char* category,
const char* name,
const char* arg1_name,
uint64_t arg1_val,
const char* arg2_name,
uint64_t arg2_val) {
g_libcef_pointers.cef_trace_event_end(category, name, arg1_name, arg1_val,
arg2_name, arg2_val);
}
NO_SANITIZE("cfi-icall")
void cef_trace_counter(const char* category,
const char* name,
const char* value1_name,
uint64_t value1_val,
const char* value2_name,
uint64_t value2_val) {
g_libcef_pointers.cef_trace_counter(category, name, value1_name, value1_val,
value2_name, value2_val);
}
NO_SANITIZE("cfi-icall")
void cef_trace_counter_id(const char* category,
const char* name,
uint64_t id,
const char* value1_name,
uint64_t value1_val,
const char* value2_name,
uint64_t value2_val) {
g_libcef_pointers.cef_trace_counter_id(category, name, id, value1_name,
value1_val, value2_name, value2_val);
}
NO_SANITIZE("cfi-icall")
void cef_trace_event_async_begin(const char* category,
const char* name,
uint64_t id,
const char* arg1_name,
uint64_t arg1_val,
const char* arg2_name,
uint64_t arg2_val) {
g_libcef_pointers.cef_trace_event_async_begin(category, name, id, arg1_name,
arg1_val, arg2_name, arg2_val);
}
NO_SANITIZE("cfi-icall")
void cef_trace_event_async_step_into(const char* category,
const char* name,
uint64_t id,
uint64_t step,
const char* arg1_name,
uint64_t arg1_val) {
g_libcef_pointers.cef_trace_event_async_step_into(category, name, id, step,
arg1_name, arg1_val);
}
NO_SANITIZE("cfi-icall")
void cef_trace_event_async_step_past(const char* category,
const char* name,
uint64_t id,
uint64_t step,
const char* arg1_name,
uint64_t arg1_val) {
g_libcef_pointers.cef_trace_event_async_step_past(category, name, id, step,
arg1_name, arg1_val);
}
NO_SANITIZE("cfi-icall")
void cef_trace_event_async_end(const char* category,
const char* name,
uint64_t id,
const char* arg1_name,
uint64_t arg1_val,
const char* arg2_name,
uint64_t arg2_val) {
g_libcef_pointers.cef_trace_event_async_end(category, name, id, arg1_name,
arg1_val, arg2_name, arg2_val);
}