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