mirror of https://github.com/mpv-player/mpv
0897604298
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. |
||
---|---|---|
.. | ||
m_config.h | ||
m_config_core.c | ||
m_config_core.h | ||
m_config_frontend.c | ||
m_config_frontend.h | ||
m_option.c | ||
m_option.h | ||
m_property.c | ||
m_property.h | ||
options.c | ||
options.h | ||
parse_commandline.c | ||
parse_commandline.h | ||
parse_configfile.c | ||
parse_configfile.h | ||
path.c | ||
path.h |