Hi,

I am working on a (yet another) tool to analyze stack of a broken
process. Thanks to libunwind, it took me only a few days to move away
from a ptrace(2) based solution to a process_vm_readv(2) based one.
However, I find one small bit missing: a function to return module name
and offset in that module, backed, of course, by an appropriate accessor.

    unw_get_module_name(unw_cursor_t *, char *name, size_t blen,  unw_word_t 
*offp);

Of course it can be implemented outside of the libunwind, but in such
case it is harder to change the access method.

Thanks for your work, kind regards.
-- 
Łukasz Stelmach
Samsung R&D Institute Poland
Samsung Electronics


_______________________________________________
Libunwind-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/libunwind-devel

Reply via email to