3 ms·
I know it's annoying, even the article doesn't reveal to us what it is: The longest demangled ELF symbol is 271,800 characters and is defined in the file usr/l
by teh_klev 5y ago
I know it's annoying, even the article doesn't reveal to us what it is:
The longest demangled ELF symbol is 271,800 characters and is defined in the file usr/lib/x86_64-linux-gnu/libmshr.so.2019.2.0.dev0 provided by the libmshr2019.2 package.
Sadly this submission is a victim of the wrong kind of title editorialising.
- st_goliath 5y agoI tried to go looking for myself, so I downloaded the AMD64 binary from the Debian page: https://packages.debian.org/unstable/libmshr2019.2 https://packages.debian.org/unstable/libmshr2019.2 After unpacking the data.tar.xz from the deb archive, I unpacked libmshr.so.2019.2.0.dev0 from the specified path. Doing this: readelf -W --demangle=c++ -s libmshr.so.2019.2.0.dev0 | awk ' { if ( length > x ) { x = length; y = $0 } }END{ print y }' > test.txt gave me a text file that is 101,943 bytes in size. Basically a huge C++ template soup, but still quite a bit short from the 271,800 bytes in the headline. If you want to see it, I compressed (568 bytes!) and base64 encoded it: xz test.txt base64 test.txt.xz And uploaded it here: https://paste.debian.net/1237184/ https://paste.debian.net/1237184/ Which can be viewed with this one liner: curl https://paste.debian.net/download/1237184 | base64 -d | xz -d
- teh_klev 5y agoThank you. It's the wee hours here and frankly I just didn't have the energy to do it myself.