0

I have an Android SO library with STABS debug info, as opposed to DWARF. I'd like to get the call frame information from it, similar to what ...-readelf --debug-dump=frames-interp outputs.

With most NDK built libraries, readelf does the trick, but not with this one.

Is frame info even supported in STABS? If so, what kind of executable file parser can get it out?

Addr2line has no trouble with that file.

Seva Alekseyev
  • 59,826
  • 25
  • 160
  • 281

1 Answers1

1

what kind of executable file parser can get it out?

objdump -G should do the trick.

Employed Russian
  • 199,314
  • 34
  • 295
  • 362
  • That was a complete STABS dump. Now, do you know where in STABS might the frame structure info be? – Seva Alekseyev Dec 21 '19 at 20:44
  • @SevaAlekseyev Unlie DWARF, STABS format is not structured -- it's a big lump of everything together. I don't believe STABS is actually flexible enough to describe non-standard frame layouts, but I haven't looked at STABS for the last 12 years, so don't quote me on that. – Employed Russian Dec 22 '19 at 05:37