This is similar to D93760.
When something is wrong with the hash table header we dump
its context as a raw data.
Currently we have the calculation overflow issue and it is possible to
bypass the validation we have (and crash).
The patch fixes it.
Paths
| Differential D93799
[obj2yaml] - Dump the content of a broken hash table properly. ClosedPublic Authored by grimar on Dec 24 2020, 2:07 AM.
Details Summary This is similar to D93760. When something is wrong with the hash table header we dump Currently we have the calculation overflow issue and it is possible to The patch fixes it.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 24 2020, 9:33 AM Closed by commit rG893c84d71c4a: [obj2yaml] - Dump the content of a broken hash table properly. (authored by grimar). · Explain WhyDec 25 2020, 1:01 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 313718 llvm/test/tools/obj2yaml/ELF/hash-section.yaml
llvm/tools/obj2yaml/elf2yaml.cpp
|