diff options
author | Artem Kopotev <Artem.Kopotev@arm.com> | 2021-06-15 16:11:16 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-07-19 07:38:14 +0000 |
commit | fddb8d24eccdcf467a8c777a9a22f4a1e54bf7dd (patch) | |
tree | ea5f1152802eaa6be7f5e9d639d8e4526574634b /BaseTools/Source/Python/Common/GlobalData.py | |
parent | 4bac086e8e007c7143e33f87bb96238326d1d6ba (diff) | |
download | edk2-fddb8d24eccdcf467a8c777a9a22f4a1e54bf7dd.tar.gz edk2-fddb8d24eccdcf467a8c777a9a22f4a1e54bf7dd.tar.bz2 edk2-fddb8d24eccdcf467a8c777a9a22f4a1e54bf7dd.zip |
ArmPlatformPkg/Scripts: Infer dll load address from console output
cmd_load_symbols.py can only load symbols from FV. Add the possibility to
use UEFI console output to calculate dll load address and send
add-symbol-file commands directly to ArmDS debugger
dll load address can't be used directly from UEFI output, see comment in
DebugPeCoffExtraActionLib: "This may not work correctly if you generate
PE/COFF directly as then the Offset would not be required".
1) Use objdump -S module.dll | grep <_ModuleEntryPoint> to get offset
in dll (offset)
2) Use Entrypoint=<address> from UEFI console output (entrypoint)
3) dll load address is (entrypoint)-(offset)
Signed-off-by: Artem Kopotev <artem.kopotev@arm.com>
Tested-by: Pierre Gondois <Pierre.Gondois@arm.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/GlobalData.py')
0 files changed, 0 insertions, 0 deletions