-
CFI [1] is a dynamic analysis tool that checks types at runtime. It reports an error when using a function with signature eg. (void (*)(char*)) as (void (*)(void*)). This change adds some wrapper functions to avoid this issue. In optimized builds, the functions should get optimized away. [1] https://clang.llvm.org/docs/ControlFlowIntegrity.html
096e8019