@q3k I wonder if it would detect Intel PT tracing. Could make a lighthouse trace from that and throw it in your favorite RE tool. Wonder if stock QEMU user-mode (I know there are lots of older forks with trace functionality) with its new plugin feature can do execution traces. Maybe Qiling could do it but I dunno if its loader emulation would handle ifuncs.
@q3k Or Pin with SideChannelMarvels Tracer - instruction and memory access logging.
https://github.com/SideChannelMarvels/Tracer/tree/master/TracerPIN