diff options
author | Yinjun Zhang <yinjun.zhang@corigine.com> | 2021-08-25 21:01:17 -0400 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-09-01 10:26:26 +0930 |
commit | 90f56146e5748bab6baca97b1470bbd144ae10e8 (patch) | |
tree | 8552b815ab856d33acb8cc992ce9213fd54b2e2b /gdb/jit.c | |
parent | 64cb17196c7b2365ec152991235e686e6dc27a18 (diff) | |
download | binutils-90f56146e5748bab6baca97b1470bbd144ae10e8.zip binutils-90f56146e5748bab6baca97b1470bbd144ae10e8.tar.gz binutils-90f56146e5748bab6baca97b1470bbd144ae10e8.tar.bz2 |
nfp: add validity check of island and me
AddressSanitizer detects heap-buffer-overflow when running
"objdump -D" for nfp .nffw files.
PR 27854
* nfp-dis.c (_NFP_ISLAND_MAX, _NFP_ME_MAX): Define.
(nfp_priv_data): ..and use here.
(_print_instrs): Sanity check island and menum.
Signed-off-by: Yinjun Zhang <yinjun.zhang@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Diffstat (limited to 'gdb/jit.c')
0 files changed, 0 insertions, 0 deletions