Binary patch presence testing under domain shift
Existing patch-presence detectors degrade when the target binary was built with a different compiler, architecture, or optimization level than the reference.
A Ghidra headless pipeline that treats compilation itself as a supervision signal, combining contrastive learning with domain-adversarial regularization. Evaluated leave-one-domain-out, so every reported number comes from a compiler, architecture, or optimization level the model never saw during training. Calibrated abstention lets the tool decline to answer rather than guess.
