Disable cfi-icall checks for CEF bindings (issue #2472)

This commit is contained in:
Marshall Greenblatt
2018-07-12 10:55:56 -07:00
parent 10c01ff43e
commit 0d12959a50
145 changed files with 1981 additions and 923 deletions

View File

@ -8,10 +8,11 @@ from cef_parser import *
def make_ctocpp_impl_proto(clsname, name, func, parts):
const = ''
proto = 'NO_SANITIZE("cfi-icall") '
if clsname is None:
proto = 'CEF_GLOBAL ' + parts['retval'] + ' '
proto += 'CEF_GLOBAL ' + parts['retval'] + ' '
else:
proto = parts['retval'] + ' ' + clsname
proto += parts['retval'] + ' ' + clsname
if isinstance(func, obj_function_virtual):
proto += 'CToCpp'
if func.is_const():