summary refs log tree commit diff stats
path: root/scripts/check_sparse.py
diff options
context:
space:
mode:
authorBastian Koppelmann <kbastian@mail.uni-paderborn.de>2023-06-12 13:32:44 +0200
committerBastian Koppelmann <kbastian@mail.uni-paderborn.de>2023-06-21 18:09:54 +0200
commit6991777ec4b2a344d47bddec62744bedd9883d78 (patch)
treed04c1b31892ba4484472d2131d9afe4918618e58 /scripts/check_sparse.py
parent5434557ffc5b46f178ccf325517db2b1f5e2c037 (diff)
downloadfocaccia-qemu-6991777ec4b2a344d47bddec62744bedd9883d78.tar.gz
focaccia-qemu-6991777ec4b2a344d47bddec62744bedd9883d78.zip
target/tricore: Add CHECK_REG_PAIR() for insn accessing 64 bit regs
some insns were not checking if an even index was used to access a 64
bit register. In the worst case that could lead to a buffer overflow as
reported in https://gitlab.com/qemu-project/qemu/-/issues/1698.

Reported-by: Siqi Chen <coc.cyqh@gmail.com>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Message-Id: <20230612113245.56667-4-kbastian@mail.uni-paderborn.de>
Diffstat (limited to 'scripts/check_sparse.py')
0 files changed, 0 insertions, 0 deletions