"""Read-only references to one explicit AMD64 PE RIP-relative data slot.""" import argparse import re import struct from pathlib import Path p=argparse.ArgumentParser(description=__doc__) p.add_argument('--binary',type=Path,required=True) p.add_argument('--target',type=lambda x:int(x,0),required=True) a=p.parse_args() b=a.binary.read_bytes() pe=struct.unpack_from('