Fix Python 2 support of FDE. (#323)
authorFish <ltfish@users.noreply.github.com>
Wed, 8 Jul 2020 00:05:00 +0000 (17:05 -0700)
committerGitHub <noreply@github.com>
Wed, 8 Jul 2020 00:05:00 +0000 (17:05 -0700)
elftools/dwarf/callframe.py

index 0bb0b39ce3800ad27e7b50ca88a2226f3dc05fa0..8b3ec5c787e410d9f9bb6cc539754fc2710b4912 100644 (file)
@@ -636,7 +636,7 @@ class CIE(CFIEntry):
 
 class FDE(CFIEntry):
     def __init__(self, header, structs, instructions, offset, augmentation_bytes=None, cie=None, lsda_pointer=None):
-        super().__init__(header, structs, instructions, offset, augmentation_bytes=augmentation_bytes, cie=cie)
+        super(FDE, self).__init__(header, structs, instructions, offset, augmentation_bytes=augmentation_bytes, cie=cie)
         self.lsda_pointer = lsda_pointer