#!/usr/bin/env python3 """Find 32-bit bit-address constants referring to a ROM string target.""" import struct, sys ROM_BASE = 0x07E40000 def refs(image, target_off): val = (ROM_BASE + target_off) << 3 pat = struct.pack("