Opened 8 months ago

Last modified 8 months ago

#60818 new enhancement

darwintrace cannot inject into binaries of a different architecture

Reported by: saagarjha (Saagar Jha) Owned by:
Priority: Normal Milestone:
Component: base Version:
Keywords: tracemode Cc:
Port:

Description

darwintrace injects code into every process during installation, and these processes can have different architectures. If darwintrace does not have a slice that matches the process, it will fail to load; it might be worth compiling it as universal (including arm64e–note this requires undocumented ptrauth ABI) regardless of configure flags.

Change History (1)

comment:1 Changed 8 months ago by ryandesign (Ryan Schmidt)

Type: defectenhancement

We already do compile darwintrace universal for this reason, though it would not surprise me if arm64 is not among the architectures it uses for that yet, since arm64 Macs were only just announced.

Note: See TracTickets for help on using tickets.