CodeTips / apple_internal_sdk

Guessed headers of non-public Apple SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

apple_internal_sdk

Guessed headers of non-public Apple SDK

Current Status

PrivateFrameworks

  • APFS.framework

    • APFS.h & APFSConstants.h
      • Now able to compile mount and fsck (Targeting iOS) in diskdev_cmds-667.100.2
  • CoreSymbolication.framework

    • CoreSymbolication.h
      • dtrace-370.40.1 compile pass
  • MediaKit.framework

    • Now able to compile mount (Targeting iOS) in diskdev_cmds-667.100.2

Headers

  • Cambria.framework (liboah & libRosetta)

    • Cambria/Cambria.h & Cambria/Traps.h
      • Most functions are now having prototypes
  • CrashReporterClient.h

    • Fully functional
  • apfs

    • apfs/apfs_fsctl.h
      • Now compiles mtree in file_cmds-321.100.11
      • Only few defines and prototypes
    • Other headers not implemented yet
  • corecrypto

    • Most headers are from previous XNU versions which was not shown in latest
  • ktrace.framework

    • ktrace/session.h & ktrace/private.h
      • fs_usage and dyld_usage now works
      • Only few defines and prototypes
  • mach-o

    • mach-o/dyld_priv.h
      • From dyld-852.2
      • Apple stripped few constants which related with version control
        • dyld_fall_20*_os_versions and dyld_platform_version_* defines
  • os

    • os/feature_private.h
      • Implemented APIs in /usr/lib/system/libsystem_featureflags.dylib which used in other Apple OSSes
  • sandbox

    • sandbox/private.h
      • Only few defines and prototypes
    • sandbox/rootless.h
      • Most rootless_* functions implemented
  • xcselect_private.h

    • Implemented APIs in /usr/lib/libxcselect.dylib
  • xpc

    • xpc/private.h
      • As many prototypes as I could figure out

Libraries

  • libCrashReporterClient

    • An implementation of it under misc/CrashReporterClient
  • liboah

    • A text based stub file which was not included within MacOSX.framework

TODO

  • Fix ktrace_event_t in <ktrace/session.h>
  • Other headers in /usr/include/apfs
  • Installer for this project
  • Text-Based stubs for libraries not presenting in SDKs
  • corecrypto
  • libsystemstats
  • CoreRoutine
  • libspindump_priv.h

About

Guessed headers of non-public Apple SDK


Languages

Language:C 93.3%Language:C++ 5.4%Language:Objective-C 1.2%Language:Makefile 0.1%