diff options
| author | Akihiko Odaki <akihiko.odaki@daynix.com> | 2024-03-07 19:20:57 +0900 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2024-03-11 17:06:06 +0000 |
| commit | f024f5031ee570d952d3e93c4bb00ee111eb9dc6 (patch) | |
| tree | 48686a651c80b81ce4ee8e98c7b05935e23e67a4 /linux-user/openrisc/sockbits.h | |
| parent | 2aa501af351c25f91c56f3c9fd023df4bbea3f3c (diff) | |
| download | focaccia-qemu-f024f5031ee570d952d3e93c4bb00ee111eb9dc6.tar.gz focaccia-qemu-f024f5031ee570d952d3e93c4bb00ee111eb9dc6.zip | |
contrib/elf2dmp: Use rol64() to decode
rol64() is roubust against too large shift values and fixes UBSan warnings. Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Tested-by: Viktor Prutyanov <viktor.prutyanov@phystech.edu> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-id: 20240307-elf2dmp-v4-14-4f324ad4d99d@daynix.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'linux-user/openrisc/sockbits.h')
0 files changed, 0 insertions, 0 deletions