diff options
author | Naveen N. Rao <[email protected]> | 2021-10-06 01:55:21 +0530 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2021-10-07 18:52:33 +1100 |
commit | 3832ba4e283d7052b783dab8311df7e3590fed93 (patch) | |
tree | 7f887f980f7cebd58046d3213ac0fded3f38526b /scripts/gdb/linux/utils.py | |
parent | 4549c3ea3160fa8b3f37dfe2f957657bb265eda9 (diff) |
powerpc/bpf: Validate branch ranges
Add checks to ensure that we never emit branch instructions with
truncated branch offsets.
Suggested-by: Michael Ellerman <[email protected]>
Signed-off-by: Naveen N. Rao <[email protected]>
Tested-by: Johan Almbladh <[email protected]>
Reviewed-by: Christophe Leroy <[email protected]>
Acked-by: Song Liu <[email protected]>
Acked-by: Johan Almbladh <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/71d33a6b7603ec1013c9734dd8bdd4ff5e929142.1633464148.git.naveen.n.rao@linux.vnet.ibm.com
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions