b7de5f5429
Add a static GetLoadBias method to the Elf object that only reads just enough to get the load bias. Add a method to MapInfo that gets the load bias. First attempt to get it if the elf object already exists. If no elf object was created, use the new static method to get the load bias. In BacktraceMap, add a custom iterator so that when code dereferences a map element, that's when the load bias will be retrieved if it hasn't already been set. Bug: 69871050 Test: New unit tests, verify tombstones have non-zero load bias values for Test: libraries with a non-zero load bias. Change-Id: I125f4abc827589957fce2f0df24b0f25d037d732 |
||
---|---|---|
.. | ||
client | ||
common/include | ||
crasher | ||
handler | ||
include/debuggerd | ||
libdebuggerd | ||
tombstoned | ||
.clang-format | ||
Android.bp | ||
crash_dump.cpp | ||
debuggerd.cpp | ||
debuggerd_test.cpp | ||
MODULE_LICENSE_APACHE2 | ||
protocol.h | ||
util.cpp | ||
util.h |