public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* dwarf_next_cfi returns -1
@ 2018-06-04 16:16 Sasha Da Rocha Pinheiro
  2018-06-05 11:27 ` Mark Wielaard
  0 siblings, 1 reply; 4+ messages in thread
From: Sasha Da Rocha Pinheiro @ 2018-06-04 16:16 UTC (permalink / raw)
  To: elfutils-devel, Mark Wielaard

Hi,
We had a case where dwarf_next_cfi returns -1 but the offset does not update, as we should expect by the comment:

 330    On errors, returns -1.  Some format errors will permit safely
 331    skipping to the next CFI entry though the current one is unusable.
 332    In that case, *NEXT_OFF will be updated before a -1 return.
Is there a correct way to deal with it, or just check if the NEXT_OFF had changed?

 Sasha

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-06-27 23:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-04 16:16 dwarf_next_cfi returns -1 Sasha Da Rocha Pinheiro
2018-06-05 11:27 ` Mark Wielaard
2018-06-27 23:01   ` Sasha Da Rocha Pinheiro
2018-06-27 23:42     ` Mark Wielaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).