DynamoRIO / drmemory

Memory Debugger for Windows, Linux, Mac, and Android
Other
2.42k stars 260 forks source link

Apple M1 Silicon Support (arm64) #2435

Open brandonros opened 2 years ago

brandonros commented 2 years ago
 /Users/brandonros/Downloads/DrMemory-MacOS-2.5.0/bin64/drmemory -- output/vehicle 
WARNING: this version of Mac OSX is not officially supported by Dr. Memory.
dyld: could not load inserted library '/Users/brandonros/Downloads/DrMemory-MacOS-2.5.0/bin64/../dynamorio/lib64/release/libdrpreload.dylib' because no suitable image found.  Did find:
    /Users/brandonros/Downloads/DrMemory-MacOS-2.5.0/bin64/../dynamorio/lib64/release/libdrpreload.dylib: mach-o, but wrong architecture
    /Users/brandonros/Downloads/DrMemory-MacOS-2.5.0/bin64/../dynamorio/lib64/release/libdrpreload.dylib: stat() failed with errno=1
derekbruening commented 2 years ago

AArch64 support is #2016. Closing as a duplicate.

derekbruening commented 2 years ago

There are enough Mac + AArch64 specific issues separate from Mac-x86 and Linux-AArch64 that we do want a dedicated issue for M1: reopening.

derekbruening commented 2 years ago

DR support for M1 is https://github.com/DynamoRIO/dynamorio/issues/5383