import os import struct import unittest from poc import leak, profiles _, PROF = profiles.select("51663cf883b1223436d4c99f31dd0225735ea5573665e4242621eee7f4ee679c") CAP = os.path.join(os.path.dirname(__file__), "..", "research", "captures", "diag_decoded.bin") def synth(lib, main, idc, n_main=87, n_id=7495, n_dtor=1095, decoy=0): buf = bytearray() buf += b"\x00" * 64 if decoy: buf += struct.pack("