mpv/options
Kacper Michajłow 0897604298 various: avoid function pointer casts
The opt validator functions are casted to generic validator, which has
erased type for value. Calling function by pointer of different
definition is an UB.

Avoid that by generating wrapper function that does proper argument type
conversion and calls validator function. Type erased functions have
mangled type in the name.

Fixes UBSAN failures on Clang 17, which enabled fsanitize=function by
default.
2024-02-28 16:04:02 +00:00
..
m_config.h
m_config_core.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
m_config_core.h m_config_core: remove mp_read_option_raw 2023-09-22 14:20:38 +00:00
m_config_frontend.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
m_config_frontend.h various: sort some standard headers 2023-10-20 21:31:09 +02:00
m_option.c various: avoid function pointer casts 2024-02-28 16:04:02 +00:00
m_option.h various: avoid function pointer casts 2024-02-28 16:04:02 +00:00
m_property.c m_option: initialize m_option_value union properly 2023-10-23 20:33:51 +02:00
m_property.h m_property: add read_sub_validate to check if should be processed 2023-10-14 12:30:46 +02:00
options.c osd_libass: update the OSD bar's dent and border size 2024-02-26 16:01:21 +00:00
options.h player: add ao-volume option, to set the system volume at startup 2024-02-25 23:57:35 +00:00
parse_commandline.c player: change insert_next to insert_at 2024-02-26 02:03:21 +00:00
parse_commandline.h
parse_configfile.c options: read config file as stream 2023-04-29 22:34:54 +00:00
parse_configfile.h options: read config file as stream 2023-04-29 22:34:54 +00:00
path.c osdep/mac: make mac naming of files, folders and function consistent 2024-02-28 15:52:47 +01:00
path.h options/path: move path utility functions to misc/path_utils 2024-02-23 21:35:57 +01:00