摘要: 查看linux的.so包含哪些函数:nm *.so; readelf -a *.so如果是ndk编译的.so,nm查看不出函数,得用readelf,因为android的.so或者可执行文件使用elf格式- gcc的fvisibility=hidden 可以把*所有*的符号(函数和变量名)强制标记为隐... 阅读全文
posted @ 2015-04-15 18:02 Lcnoctave 阅读(728) 评论(0) 推荐(0) 编辑
摘要: ```#include #include #include bool divby5(int x){ return x % 5 ? 0 : 1;}int square(const int x){ return x*x;}void find_sample(){ int num_find = 6; std... 阅读全文
posted @ 2015-04-15 15:42 Lcnoctave 阅读(153) 评论(0) 推荐(0) 编辑