module documentation
Undocumented
Function | platform |
Undocumented |
Constant | EF |
Undocumented |
Constant | EF |
Undocumented |
Constant | EF |
Undocumented |
Class | _ |
Undocumented |
Function | _get |
Undocumented |
Function | _glibc |
Returns glibc version string, or None if not using glibc. |
Function | _glibc |
Primary implementation of glibc_version_string using os.confstr. |
Function | _glibc |
Fallback implementation of glibc_version_string using ctypes. |
Function | _have |
Undocumented |
Function | _is |
Undocumented |
Function | _is |
Undocumented |
Function | _is |
Undocumented |
Function | _parse |
Undocumented |
Function | _parse |
Parse glibc version. |
Constant | _LAST |
Undocumented |
Constant | _LEGACY |
Undocumented |
@contextlib.contextmanager
def _parse_elf(path:
def _parse_elf(path:
str
) -> Generator[ Optional[ ELFFile], None, None]
:
(source)
¶
Undocumented
Parse glibc version. We use a regexp instead of str.split because we want to discard any random junk that might come after the minor version -- this might happen in patched/forked versions of glibc (e.g. Linaro's version of glibc uses version strings like "2.20-2014.11"). See gh-3588.