Menu

#557 CIE augmentation 'S' should be accepted

RELEASE_1_0
closed
Kai Wang
None
2018-03-13
2018-03-11
No

From David Young, via the elftoolchain-developers list.

dwarf_get_fde_list_eh() exits with an error when an object has a CIE with 'S'-augmentation in its .eh_frame section.

Workaround patch:

--- a/external/bsd/elftoolchain/libdwarf/libdwarf_frame.c
+++ b/external/bsd/elftoolchain/libdwarf/libdwarf_frame.c
@@ -143,6 +143,7 @@ _dwarf_frame_parse_lsb_cie_augment(Dwarf_Debug dbg, Dwarf_Cie cie,
while (aug_p != '\0') {
switch (
aug_p) {
case 'L':

  • case 'S':
    / Skip one augment in augment data. /
    augdata_p++;
    break;

Discussion

  • Kai Wang

    Kai Wang - 2018-03-13

    Committed a slightly different patch in [r3589]. It seems that augment 'S' doesn't have augment data.

     

    Related

    Commit: [r3589]

  • Kai Wang

    Kai Wang - 2018-03-13
    • status: new --> closed
     
  • Kai Wang

    Kai Wang - 2018-03-13

    Fixed.

     

Log in to post a comment.

MongoDB Logo MongoDB