Skip to content

FDE empty when NOP only #20

@RYDB3RG

Description

@RYDB3RG

Hi,

when an FDE contains only the initial instructions from CIE and NOPs otherwise, libdwarfpp's FDE won't contain any rows, but i would have expected the CIE row. Is this expected?

00013238 00000010 0001323c FDE cie=00000000 pc=00116ec0...00116ef2
  Format:       DWARF32
  DW_CFA_nop:
  DW_CFA_nop:
  DW_CFA_nop:

  0x116ec0: CFA=RSP+8: RIP=[CFA-8]

with CIE:

00000000 00000014 00000000 CIE
  Format:                DWARF32
  Version:               1
  Augmentation:          "zR"
  Code alignment factor: 1
  Data alignment factor: -8
  Return address column: 16
  Augmentation data:     1B

  DW_CFA_def_cfa: RSP +8
  DW_CFA_offset: RIP -8
  DW_CFA_nop:
  DW_CFA_nop:

  CFA=RSP+8: RIP=[CFA-8]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions