Skip to content

Instantly share code, notes, and snippets.

@antmd
Last active January 18, 2019 12:04
Show Gist options
  • Save antmd/b6c5b831ac7c6f63a307e575843dd0b5 to your computer and use it in GitHub Desktop.
Save antmd/b6c5b831ac7c6f63a307e575843dd0b5 to your computer and use it in GitHub Desktop.
GlibCXX

To find versions of GLIBCXX supported by a standard library:

strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX

Find versions mentioned in a binary:

nm BinaryName | c++filt | grep GLIBCXX | perl -pe 's/.*GLIBCXX_([\d\.]+.*)/\1/g' | sort | uniq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment