This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Help: Unwinding the C++ stack...throw, longjmp & threads


>   + functions which use callbacks and those directly or indirectly using
>     functions which use callbacks

This can be automated.  Hack gcc so that it logs function and file name
when code is compiled that dereferences a function pointer,
and compile glibc with this hacked gcc.
This gives you the functions that use callbacks.
Than you search for functions that use these functions, and in turn for
functions that use those functions, till no new functions are found.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]