summaryrefslogtreecommitdiff
path: root/rsInternalDefines.h
diff options
context:
space:
mode:
authorJean-Luc Brouillet <jeanluc@google.com>2015-04-07 15:15:53 -0700
committerJean-Luc Brouillet <jeanluc@google.com>2015-06-19 05:50:02 +0000
commiteb98e0375e5ec89c5f3960472d5cdf3e734e3656 (patch)
tree7b6c62da58e02bc04f3fc1818572aa08b599da42 /rsInternalDefines.h
parent589464fc0c334f735dc02d25e9fdfb3b4869d881 (diff)
downloadrs-eb98e0375e5ec89c5f3960472d5cdf3e734e3656.tar.gz
Generate the white list used to validate unresolved externals.
Generate the file used in libbcc to verify that all the unresolved references found in a loaded script correspond to RenderScript APIs. We do this to prevent script from accessing functions they should not use, e.g. malloc(). We also generate slang test files for each API level. These tests can be used to cross-validate the generator to make sure that all APIs can be called. These files can also be used to manually check the white list by looking at the unresolved external references when these files are compiled. b/19425238 Change-Id: Idd4bd48e61e81a71d61445e60950bc79de88daf2 (cherry picked from commit 36090673baf50cf3c70bdc89f9a4a872c05cf0f6)
Diffstat (limited to 'rsInternalDefines.h')
0 files changed, 0 insertions, 0 deletions