commit | f52b9127297756aa1230aae87a309143c618edc5 | [log] [tgz] |
---|---|---|
author | Casey Dahlin <sadmac@google.com> | Wed Jan 16 13:24:04 2019 -0800 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Fri Jan 18 00:45:30 2019 +0000 |
tree | 58f806842d1e470d417fdfe0dc4d636317a4bbf2 | |
parent | 1b3dc91b6865566ddd0eb1cf6b46f473e3351719 [diff] |
[elflib] Ignore stated section header size when we have no sections Stripped binaries like to remove sections entirely and sometimes zero out the e_shentsize field. We should ignore the field in such cases. Test: Manual Change-Id: I480b050c4627798c3231205f6e40815c67bb5b1e