"""Independent readelf symbol facts and directly mapped ELF64 version indices.""" import hashlib import json from pathlib import Path import re import struct import subprocess import sys path = Path(sys.argv[1]).resolve() selected_names = sys.argv[2:] source = path.read_bytes() assert source[:6] == b'\x7fELF\x02\x01', 'This experiment oracle only covers ELF64 little-endian' section_offset = struct.unpack_from(' 0 sections = [struct.unpack_from('