This is an archive of the discontinued LLVM Phabricator instance.

[DWARF] Modification of code for the verification of .debug_info section.
ClosedPublic

Authored by sgravani on Jul 17 2017, 5:41 PM.

Details

Summary

This patch modifies the handleDebugInfo() function so that we verify the contents of each unit
in the .debug_info section only if its header has been successfully verified.

This change will allow for more/different verification checks depending on the type of the unit since from
dwarf5, the .debug_info section may consist of different types of units.

Diff Detail

Repository
rL LLVM

Event Timeline

sgravani created this revision.Jul 17 2017, 5:41 PM
This revision was automatically updated to reflect the committed changes.