|
hace 5 años | |
---|---|---|
dlinfo | hace 5 años | |
tests | hace 5 años | |
.coveragerc | hace 5 años | |
.gitlab-ci.yml | hace 5 años | |
.pylintrc | hace 5 años | |
CHANGELOG.md | hace 5 años | |
Pipfile | hace 5 años | |
Pipfile.lock | hace 5 años | |
README.md | hace 5 años | |
setup.py | hace 5 años |
Python wrapper for libc's dlinfo
pip install dlinfo
# or
pipenv install dlinfo
>>> from dlinfo import DLInfo
>>> lib = ctypes.cdll.LoadLibrary(ctypes.util.find_library('c'))
>>> dlinfo = DLInfo(lib)
>>> dlinfo.path
'/lib/x86_64-linux-gnu/libc.so.6'