Size of a library

Size of a library

You can use the following command in order to count approximate number of exported symbols in your library:

echo $((`readelf -Wa YOUR_LIB.SO | grep DEFAULT | grep FUNC | grep -v UND | grep -v LOCAL | wc -l` / 2))

YOUR_LIB.SO — is a path to the library.


github.com/lvc
Facebook Twitter Vkontakte Reddit Github Email Skype QZone Weibo