aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorJarkko Sakkinen <[email protected]>2016-11-10 20:42:07 -0800
committerJarkko Sakkinen <[email protected]>2017-04-03 22:46:01 +0300
commit58472f5cd4f6ff02488c8da3cdbf719e9dd21e48 (patch)
tree01f094fc452036587c1cd921fec86e0732646a89 /tools/perf/util/c++/clang.cpp
parent9aa36b399a50bf8a1c9dae33c25164afae14e1e3 (diff)
tpm: validate TPM 2.0 commands
Check for every TPM 2.0 command that the command code is supported and the command buffer has at least the length that can contain the header and the handle area. For ContextSave and FlushContext we mark the body to be part of the handle area. This gives validation for these commands at zero cost, including the body of the command. The more important reason for this is that we can virtualize these commands in the same way as you would virtualize the handle area of a command. Signed-off-by: Jarkko Sakkinen <[email protected]> Tested-by: James Bottomley <[email protected]> Reviewed-by: James Bottomley <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions