def get_full_path(path):
    return str(get_tested_path(Path('readelf', path)))
Пример #2
0
def chunk_from_pyc(version, size=16):
    """Helper to get start of an example pyc file as bytes"""
    path = get_tested_path('pyc/__future__.cpython-{}.pyc'.format(version))
    with open(path, 'rb') as f:
        return f.read(size)
Пример #3
0
def get_full_path(path):
    return str(get_tested_path(Path('ldd', path)))