commit | 667909478b09f9f16b03b7e7b11f3c42e7bdcdf3 | [log] [tgz] |
---|---|---|
author | Akihiko Odaki <akihiko.odaki@daynix.com> | Thu Mar 07 19:20:55 2024 +0900 |
committer | Peter Maydell <peter.maydell@linaro.org> | Mon Mar 11 17:06:06 2024 +0000 |
tree | 0b46d12693b10f3f085f42bf2992a037db99a44d | |
parent | 2aa205f7c6339cb46d26473a0434a292fc3d32cf [diff] |
contrib/elf2dmp: Ensure segment fits in file This makes elf2dmp more robust against corrupted inputs. 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> Message-id: 20240307-elf2dmp-v4-12-4f324ad4d99d@daynix.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>