fun.h 810 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // fun.h
  3. // async_wake_ios
  4. //
  5. // Created by George on 14/12/17.
  6. // Copyright © 2017 Ian Beer. All rights reserved.
  7. //
  8. #ifndef fun_h
  9. #define fun_h
  10. #include <stdio.h>
  11. #include <stdlib.h>
  12. #include <string.h>
  13. #import <sys/mount.h>
  14. #import <spawn.h>
  15. #import <mach-o/dyld.h>
  16. #import <sys/types.h>
  17. #import <sys/stat.h>
  18. #import <sys/utsname.h>
  19. #include <mach/mach.h>
  20. #include <CoreFoundation/CoreFoundation.h>
  21. #include "find_port.h"
  22. #include "kutils.h"
  23. #include "symbols.h"
  24. #include "patchfinder64.h"
  25. #include "fun_objc.h"
  26. void snapshotWarningRead(void);
  27. int begin_fun(mach_port_t tfp0, mach_port_t user_client, bool enable_tweaks);
  28. int startprog(uint64_t kern_ucred, bool wait, const char *prog, const char* args[], const char* envp[]);
  29. int start_jailbreakd(uint64_t kernel_base);
  30. #endif /* fun_h */