Determine stripped status of a binary based on .symtab
Test Plan:
ninja check-bolt
Paths
| Differential D130034
[BOLT] Add BinaryContext::IsStripped ClosedPublic Authored by nhuhuan on Jul 18 2022, 12:02 PM.
Details
Summary Determine stripped status of a binary based on .symtab Test Plan: ninja check-bolt
Diff Detail
Event TimelineComment Actions LGTM, but please drop "[NFC]" from the title. This revision is now accepted and ready to land.Jul 18 2022, 12:08 PM Comment Actions LGTM, also simple test would be appreciated (e.g. by adding BOLT-INFO about the presumption that the binary was stripped). Amir added a child revision: D129974: [BOLT] Improve jump table entry validation for split jump table.Jul 18 2022, 2:01 PM nhuhuan retitled this revision from [BOLT][NFC] Add BinaryContext::IsStripped to [BOLT] Add BinaryContext::IsStripped.Jul 19 2022, 2:30 AM nhuhuan added a child revision: D130071: [BOLT] Adapted policy checks for stripped binaries.Jul 19 2022, 2:55 AM nhuhuan removed a child revision: D129974: [BOLT] Improve jump table entry validation for split jump table.Jul 19 2022, 10:32 AM Amir added a parent revision: D130073: [BOLT] Handle broken .dynsym in stripped binaries.Jul 19 2022, 11:13 AM Comment Actions I'm requesting changes because the user-facing message needs to be updated. Please also update the test accordingly.
This revision now requires changes to proceed.Jul 27 2022, 11:11 PM
This revision is now accepted and ready to land.Jul 28 2022, 11:08 PM Closed by commit rG986362d4a3fd: [BOLT] Add BinaryContext::IsStripped (authored by nhuhuan, committed by Amir). · Explain WhyJul 28 2022, 11:11 PM This revision was automatically updated to reflect the committed changes. thakis added inline comments.
Revision Contents
Diff 448520 bolt/include/bolt/Core/BinaryContext.h
bolt/lib/Rewrite/RewriteInstance.cpp
bolt/test/X86/is-strip.s
|