Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法确定共享库导出符号的函数参数?出于好奇目的,我正在调查一个私有 OSX 框架(我知道 Apple 商店政策等)。我可以执行 nm -g /path/to/library 并确定所有导出的符号,但是,我很好奇确定必须传递给这些调用的参数。
No, that information is not present in a shared library's symbol table (or any other part of the shared library). That's why you need the header file when you compile against a library.