[issue33015] Fix function cast warning in thread_pthread.h
Alexey Izbyshev
report at bugs.python.org
Tue Oct 23 12:34:30 EDT 2018
Alexey Izbyshev <izbyshev at ispras.ru> added the comment:
Such casts will also trigger a CFI violation if somebody tries to build Python (and the libc, in this case) with a signature-based CFI [1, 2]. It checks that the compile-time callee signature matches the signature of the actually called function in runtime.
[1] https://clang.llvm.org/docs/ControlFlowIntegrity.html
[2] https://android-developers.googleblog.com/2018/10/control-flow-integrity-in-android-kernel.html
----------
nosy: +izbyshev
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33015>
_______________________________________
More information about the Python-bugs-list
mailing list