Searched hist:d7c22ace31de10d440cd5fe76d976a03ea9b96a4 (Results 1 – 1 of 1) sorted by relevance
| /optee_os/scripts/ |
| H A D | symbolize.py | d7c22ace31de10d440cd5fe76d976a03ea9b96a4 Mon Jun 22 12:07:38 UTC 2020 Jerome Forissier <jerome@forissier.org> symbolize.py: ignore error if ELF file is not found
When processing the memory map of a TA, it can happen that the ELF file for a region is not found. One typical reason is a missing -d argument on the command line (can easily happen when a TA uses shared libraries for instance).
In the above case, the script crashes with no clear indication about the cause. This commit fixes the crash by ignoring ELFs that are not found. This is consistent with the general behavior of symbolize.py, which is to always print out all the information it is fed and simply augment it with debug information when possible.
Signed-off-by: Jerome Forissier <jerome@forissier.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
|