1. 程式人生 > >software with plugin

software with plugin

dump soft ports war fine bin api sof dll

Linux 查看一個動態庫的符號 nm -D plugin.so

Windows dumpbin /exports plugin.dll

linux 的符號是默認所有導出的,而windows是默認hide的。

#define ALPHAAPI __attribute__ ((visibility("default")))

#define ALPHAAPI __attribute__ ((visibility("hidden")))

software with plugin