]> granicus.if.org Git - libvpx/commit
[CFI] Remove function pointer casts
authorVlad Tsyrklevich <vtsyrklevich@chromium.org>
Mon, 20 Nov 2017 21:40:54 +0000 (13:40 -0800)
committerVlad Tsyrklevich <vtsyrklevich@chromium.org>
Tue, 21 Nov 2017 00:36:29 +0000 (16:36 -0800)
commitbc29863b9668f041c3d4ad48a70360c21ab38374
tree1a82407b65abc9c1ce88ffb3b58eaa8075677cc9
parent0cc23242b035cc1c102dbeecc524592dc93cfb7d
[CFI] Remove function pointer casts

Control Flow Integrity [1] indirect call checking verifies that function
pointers only call valid functions with a matching type signature. This
change eliminates function pointer casts to make libvpx CFI-safe.

[1] https://www.chromium.org/developers/testing/control-flow-integrity

Change-Id: I7e08522d195a43c88cda06fa20414426c8c4372c
vp9/common/vp9_loopfilter.c
vp9/common/vp9_loopfilter.h
vp9/common/vp9_thread_common.c
vp9/decoder/vp9_decodeframe.c
vp9/encoder/vp9_bitstream.c
vp9/encoder/vp9_ethread.c