getting the name of a C-function in the C-code based on a pointer to the function
Poul-Henning Kamp
phk at phk.freebsd.dk
Sat Jan 4 09:23:00 UTC 2020
--------
In message <20200104090743.GA3017 at c720-r342378>, Matthias Apitz writes:
>What I'm locking for is how to get the name of a function, into a string pointer
See dlsym(3) and/or backtrace(3)
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-hackers
mailing list