commit | 54e8259b422e572a827333217cd2dbb6b32c5a7a | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Thu Feb 09 18:24:31 2023 -0800 |
committer | Christopher Ferris <cferris@google.com> | Tue Feb 14 00:30:52 2023 +0000 |
tree | 3684f9a8701b57a64330ccac08cdf6d3b3eb533d | |
parent | 6f4653d1cd327affb66145a444dfb60ce960d82b [diff] |
Modify the max size algorithm. Some shared libraries seem to be putting a dynamic symbol table at the end of the shared library. Modify the GetMaxSize() function to read the PT_LOAD values and if that is larger than the computed elf size, use that value instead. Added new offline test to expose this problem. Bug: 268566992 Test: All unit tests pass. Change-Id: I9c240e83d6090417fc1f642f049175def908be32 (cherry picked from commit 55a088e31bbfb5ffa23e48cb25ff1b72a8f64207)