Skip to content

TODO: MacOS and IOS #161

Description

@xwings

MacOS

  • Currently on MacOS 13.3
  • We ran into AVX and not idea how can we lie dyld saying we are with a CPU without AVX/AVX2
  • Maybe recompile dyld without AVX could be a option
  • darling project (link below) did mention about commpage and how it specify CPU
  • By running the command you should crash at ud2 instruction
  • for test run, copy /usr/lib/dyld into rootfs/x8664_macos/usr/lib and all the required dylib

To test, run:

cd examples
python3 ../qltool run -f rootfs/x8664_macos/bin/x8664_hello --rootfs=rootfs/x8664_macos --output="debug"

iOS

  • IOS 13.3.1
  • replied two empty syscall fgetattrlist(228) and poll(230)
  • fail at thread_selfid=0x80,372,0
  • for test run, copy /usr/lib/dyld into rootfs/arm64_ios/usr/lib

To test, run:

cd examples
python3 ../qltool run -f rootfs/arm64_ios/bin/arm64_hello_asm --rootfs=rootfs/arm64_ios/

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions