geohot / qira

QEMU Interactive Runtime Analyser
MIT License
3.95k stars 469 forks source link

Build and run qira on Mac M1 = mission impossible? #259

Open smurfd opened 3 years ago

smurfd commented 3 years ago

I realize a bit to deep in, that using Qira without Docker on a Mac M1 will never work, right? Because of its dependencies to strace

I have build the QEMU fork after some tinkering, relinked the static links to the new qemu binaries (new names when built on mac, softmmu- folders), rebuild the loop binary(after disassembling it :) ), commented away some checks for Mach-O file formats, just to see if the webserver would start. Which it did. Didnt show anything, so either its because of #192, but most likely its also because of strace missing.

You wouldn't be able to replace strace with ktrace or similar, in anyway, without far to much work, i guess.