Linux 上的 Nlist 等效项?

发布于 2024-08-18 08:00:00 字数 169 浏览 3 评论 0原文

我只是想知道 Linux 是否有一个相当于小说 nlist() 的函数。 nlist() 执行以下操作:

调用 nlist() 的特权进程应注意意外文件被替换为操作数的可能性。

nlist() 函数返回指定符号名称的符号表信息,以及名称作为参数提供的可执行文件。

谢谢, 抢

I am just wondering if there is an Linux equivalent to Novels nlist(). nlist()
does the following:

Privileged processes calling nlist() should beware of the possibility of an unexpected file being substituted as the operand.

The nlist() function returns symbol table information for the specified symbol names, for the executable file whose name is supplied as an argument.

Thanks,
Rob

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

如梦 2024-08-25 08:00:00

据我所知,最接近的函数是 dlinfo。它在 glibc 中完全没有记录(没有手册页,信息文件中没有任何内容),但显然是 Solaris 接口的克隆,记录如下:

http://docs.oracle.com/cd/E23824_01/html/821-1465/dlinfo-3c.html#scrolltoc< /a>

你可以在 Linux 上的 dlfcn.h 中找到它的声明

The function that comes closest that I know about is dlinfo. It is completely undocumented in glibc (no man page, nothing in the info files), but is apparently a clone of a Solaris interface, which is documented:

http://docs.oracle.com/cd/E23824_01/html/821-1465/dlinfo-3c.html#scrolltoc

You can find it declared on Linux in dlfcn.h

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文