distname='', version='', id='', supported_dists=('SuSE','debian','redhat','mandrake')) |
(distname, version, id)
which defaults to the args given as parameters.
executable=sys.executable, lib='', version='', chunksize=2048) |
(lib, version)
which default
to the given parameters in case the lookup fails.
Note that this function has intimate knowledge of how different libc versions add symbols to the executable is probably only useable for executables compiled using gcc.
The file is read and scanned in chunks of chunksize bytes.