Date: Sat, 04 Jan 2020 09:22:50 +0000 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Matthias Apitz <guru@unixarea.de> Cc: freebsd-hackers@freebsd.org Subject: Re: getting the name of a C-function in the C-code based on a pointer to the function Message-ID: <36240.1578129770@critter.freebsd.dk> In-Reply-To: <20200104090743.GA3017@c720-r342378> References: <20200104090743.GA3017@c720-r342378>
next in thread | previous in thread | raw e-mail | index | archive | help
-------- In message <20200104090743.GA3017@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@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= .
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36240.1578129770>