mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Disable cfi-icall checks for CEF bindings (issue #2472)
This commit is contained in:
@ -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():
|
||||
|
Reference in New Issue
Block a user