aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNaveen N Rao <[email protected]>2023-11-23 12:47:05 +0530
committerMichael Ellerman <[email protected]>2023-11-27 22:06:19 +1100
commit8f9abaa6d7de0a70fc68acaedce290c1f96e2e59 (patch)
tree7da24f2d208d7a2f98fc90c6f28e5ef9fb679766 /tools/perf/scripts/python
parentdf99da19c6c24ab65052ae1bc0904f99069478d9 (diff)
powerpc/lib: Validate size for vector operations
Some of the fp/vmx code in sstep.c assume a certain maximum size for the instructions being emulated. The size of those operations however is determined separately in analyse_instr(). Add a check to validate the assumption on the maximum size of the operations, so as to prevent any unintended kernel stack corruption. Signed-off-by: Naveen N Rao <[email protected]> Reviewed-by: Gustavo A. R. Silva <[email protected]> Build-tested-by: Gustavo A. R. Silva <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions