Permalink
Browse files

Xcode project and sample patch code

see README
  • Loading branch information...
1 parent 993cb9e commit daecd636eccad047852899a4b002b1fe50367c84 @mmin18 committed Aug 10, 2012
Showing with 29,411 additions and 0 deletions.
  1. +15 −0 .gitignore
  2. BIN Original.png
  3. BIN Patched.png
  4. +6 −0 README.md
  5. +703 −0 WaxPatch/WaxPatch.xcodeproj/project.pbxproj
  6. +15 −0 WaxPatch/WaxPatch/AppDelegate.h
  7. +60 −0 WaxPatch/WaxPatch/AppDelegate.m
  8. +13 −0 WaxPatch/WaxPatch/MainViewController.h
  9. +27 −0 WaxPatch/WaxPatch/MainViewController.m
  10. +12 −0 WaxPatch/WaxPatch/ProtocolLoader.h
  11. +38 −0 WaxPatch/WaxPatch/WaxPatch-Info.plist
  12. +14 −0 WaxPatch/WaxPatch/WaxPatch-Prefix.pch
  13. +48 −0 WaxPatch/WaxPatch/ZipArchive.h
  14. +337 −0 WaxPatch/WaxPatch/ZipArchive.mm
  15. +2 −0 WaxPatch/WaxPatch/en.lproj/InfoPlist.strings
  16. +19 −0 WaxPatch/WaxPatch/main.m
  17. +132 −0 WaxPatch/WaxPatch/minizip/crypt.h
  18. +177 −0 WaxPatch/WaxPatch/minizip/ioapi.c
  19. +75 −0 WaxPatch/WaxPatch/minizip/ioapi.h
  20. +281 −0 WaxPatch/WaxPatch/minizip/mztools.c
  21. +31 −0 WaxPatch/WaxPatch/minizip/mztools.h
  22. +1,598 −0 WaxPatch/WaxPatch/minizip/unzip.c
  23. +354 −0 WaxPatch/WaxPatch/minizip/unzip.h
  24. +1,219 −0 WaxPatch/WaxPatch/minizip/zip.c
  25. +235 −0 WaxPatch/WaxPatch/minizip/zip.h
  26. +12 −0 WaxPatch/WaxPatch/wax/extensions/CGAffine/wax_CGTransform.h
  27. +85 −0 WaxPatch/WaxPatch/wax/extensions/CGAffine/wax_CGTransform.m
  28. +12 −0 WaxPatch/WaxPatch/wax/extensions/CGContext/wax_CGContext.h
  29. +251 −0 WaxPatch/WaxPatch/wax/extensions/CGContext/wax_CGContext.m
  30. +14 −0 WaxPatch/WaxPatch/wax/extensions/HTTP/wax_http.h
  31. +240 −0 WaxPatch/WaxPatch/wax/extensions/HTTP/wax_http.m
  32. +54 −0 WaxPatch/WaxPatch/wax/extensions/HTTP/wax_http_connection.h
  33. +304 −0 WaxPatch/WaxPatch/wax/extensions/HTTP/wax_http_connection.m
  34. +9 −0 WaxPatch/WaxPatch/wax/extensions/filesystem/wax_filesystem.h
  35. +273 −0 WaxPatch/WaxPatch/wax/extensions/filesystem/wax_filesystem.m
  36. +10 −0 WaxPatch/WaxPatch/wax/extensions/json/Rakefile
  37. +304 −0 WaxPatch/WaxPatch/wax/extensions/json/wax_json.c
  38. +11 −0 WaxPatch/WaxPatch/wax/extensions/json/wax_json.h
  39. BIN WaxPatch/WaxPatch/wax/extensions/json/yajl-1.0.9.tar.gz
  40. +85 −0 WaxPatch/WaxPatch/wax/extensions/json/yajl/api/yajl_common.h
  41. +159 −0 WaxPatch/WaxPatch/wax/extensions/json/yajl/api/yajl_gen.h
  42. +193 −0 WaxPatch/WaxPatch/wax/extensions/json/yajl/api/yajl_parse.h
  43. +159 −0 WaxPatch/WaxPatch/wax/extensions/json/yajl/yajl.c
  44. +65 −0 WaxPatch/WaxPatch/wax/extensions/json/yajl/yajl_alloc.c
  45. +50 −0 WaxPatch/WaxPatch/wax/extensions/json/yajl/yajl_alloc.h
  46. +119 −0 WaxPatch/WaxPatch/wax/extensions/json/yajl/yajl_buf.c
  47. +73 −0 WaxPatch/WaxPatch/wax/extensions/json/yajl/yajl_buf.h
  48. +85 −0 WaxPatch/WaxPatch/wax/extensions/json/yajl/yajl_bytestack.h
  49. +1 −0 WaxPatch/WaxPatch/wax/extensions/json/yajl/yajl_common.h
  50. +188 −0 WaxPatch/WaxPatch/wax/extensions/json/yajl/yajl_encode.c
  51. +50 −0 WaxPatch/WaxPatch/wax/extensions/json/yajl/yajl_encode.h
  52. +322 −0 WaxPatch/WaxPatch/wax/extensions/json/yajl/yajl_gen.c
  53. +1 −0 WaxPatch/WaxPatch/wax/extensions/json/yajl/yajl_gen.h
  54. +737 −0 WaxPatch/WaxPatch/wax/extensions/json/yajl/yajl_lex.c
  55. +133 −0 WaxPatch/WaxPatch/wax/extensions/json/yajl/yajl_lex.h
  56. +1 −0 WaxPatch/WaxPatch/wax/extensions/json/yajl/yajl_parse.h
  57. +448 −0 WaxPatch/WaxPatch/wax/extensions/json/yajl/yajl_parser.c
  58. +82 −0 WaxPatch/WaxPatch/wax/extensions/json/yajl/yajl_parser.h
  59. +1,087 −0 WaxPatch/WaxPatch/wax/lua/lapi.c
  60. +16 −0 WaxPatch/WaxPatch/wax/lua/lapi.h
  61. +652 −0 WaxPatch/WaxPatch/wax/lua/lauxlib.c
  62. +174 −0 WaxPatch/WaxPatch/wax/lua/lauxlib.h
  63. +653 −0 WaxPatch/WaxPatch/wax/lua/lbaselib.c
  64. +839 −0 WaxPatch/WaxPatch/wax/lua/lcode.c
  65. +76 −0 WaxPatch/WaxPatch/wax/lua/lcode.h
  66. +397 −0 WaxPatch/WaxPatch/wax/lua/ldblib.c
  67. +638 −0 WaxPatch/WaxPatch/wax/lua/ldebug.c
  68. +33 −0 WaxPatch/WaxPatch/wax/lua/ldebug.h
  69. +518 −0 WaxPatch/WaxPatch/wax/lua/ldo.c
  70. +57 −0 WaxPatch/WaxPatch/wax/lua/ldo.h
  71. +164 −0 WaxPatch/WaxPatch/wax/lua/ldump.c
  72. +174 −0 WaxPatch/WaxPatch/wax/lua/lfunc.c
  73. +34 −0 WaxPatch/WaxPatch/wax/lua/lfunc.h
  74. +711 −0 WaxPatch/WaxPatch/wax/lua/lgc.c
  75. +110 −0 WaxPatch/WaxPatch/wax/lua/lgc.h
  76. +38 −0 WaxPatch/WaxPatch/wax/lua/linit.c
  77. +553 −0 WaxPatch/WaxPatch/wax/lua/liolib.c
  78. +461 −0 WaxPatch/WaxPatch/wax/lua/llex.c
  79. +81 −0 WaxPatch/WaxPatch/wax/lua/llex.h
  80. +128 −0 WaxPatch/WaxPatch/wax/lua/llimits.h
  81. +263 −0 WaxPatch/WaxPatch/wax/lua/lmathlib.c
  82. +86 −0 WaxPatch/WaxPatch/wax/lua/lmem.c
  83. +49 −0 WaxPatch/WaxPatch/wax/lua/lmem.h
  84. +666 −0 WaxPatch/WaxPatch/wax/lua/loadlib.c
  85. +214 −0 WaxPatch/WaxPatch/wax/lua/lobject.c
  86. +381 −0 WaxPatch/WaxPatch/wax/lua/lobject.h
  87. +102 −0 WaxPatch/WaxPatch/wax/lua/lopcodes.c
  88. +268 −0 WaxPatch/WaxPatch/wax/lua/lopcodes.h
  89. +243 −0 WaxPatch/WaxPatch/wax/lua/loslib.c
  90. +1,339 −0 WaxPatch/WaxPatch/wax/lua/lparser.c
  91. +82 −0 WaxPatch/WaxPatch/wax/lua/lparser.h
  92. +214 −0 WaxPatch/WaxPatch/wax/lua/lstate.c
  93. +169 −0 WaxPatch/WaxPatch/wax/lua/lstate.h
  94. +111 −0 WaxPatch/WaxPatch/wax/lua/lstring.c
  95. +31 −0 WaxPatch/WaxPatch/wax/lua/lstring.h
  96. +869 −0 WaxPatch/WaxPatch/wax/lua/lstrlib.c
  97. +588 −0 WaxPatch/WaxPatch/wax/lua/ltable.c
  98. +40 −0 WaxPatch/WaxPatch/wax/lua/ltable.h
  99. +287 −0 WaxPatch/WaxPatch/wax/lua/ltablib.c
  100. +75 −0 WaxPatch/WaxPatch/wax/lua/ltm.c
  101. +54 −0 WaxPatch/WaxPatch/wax/lua/ltm.h
  102. +388 −0 WaxPatch/WaxPatch/wax/lua/lua.h
  103. +753 −0 WaxPatch/WaxPatch/wax/lua/luaconf.h
  104. +53 −0 WaxPatch/WaxPatch/wax/lua/lualib.h
  105. +227 −0 WaxPatch/WaxPatch/wax/lua/lundump.c
  106. +36 −0 WaxPatch/WaxPatch/wax/lua/lundump.h
  107. +763 −0 WaxPatch/WaxPatch/wax/lua/lvm.c
  108. +36 −0 WaxPatch/WaxPatch/wax/lua/lvm.h
  109. +82 −0 WaxPatch/WaxPatch/wax/lua/lzio.c
  110. +67 −0 WaxPatch/WaxPatch/wax/lua/lzio.h
  111. +227 −0 WaxPatch/WaxPatch/wax/lua/print.c
  112. +16 −0 WaxPatch/WaxPatch/wax/wax.h
  113. +260 −0 WaxPatch/WaxPatch/wax/wax.m
  114. +18 −0 WaxPatch/WaxPatch/wax/wax_class.h
  115. +190 −0 WaxPatch/WaxPatch/wax/wax_class.m
  116. +20 −0 WaxPatch/WaxPatch/wax/wax_gc.h
  117. +56 −0 WaxPatch/WaxPatch/wax/wax_gc.m
  118. +102 −0 WaxPatch/WaxPatch/wax/wax_helpers.h
  119. +870 −0 WaxPatch/WaxPatch/wax/wax_helpers.m
  120. +34 −0 WaxPatch/WaxPatch/wax/wax_instance.h
  121. +874 −0 WaxPatch/WaxPatch/wax/wax_instance.m
  122. +47 −0 WaxPatch/WaxPatch/wax/wax_server.h
  123. +252 −0 WaxPatch/WaxPatch/wax/wax_server.m
  124. +3 −0 WaxPatch/WaxPatch/wax/wax_stdlib.h
  125. +26 −0 WaxPatch/WaxPatch/wax/wax_struct.h
  126. +335 −0 WaxPatch/WaxPatch/wax/wax_struct.m
  127. +9 −0 patch/MainViewController.lua
  128. +1 −0 patch/patch.lua
  129. BIN patch/patch.zip
View
@@ -0,0 +1,15 @@
+# xcode noise
+build/*
+*.perspective
+*.perspectivev3
+*.pbxuser
+*.xcworkspace
+*.mode1
+*.mode2v3
+*.mode1v3
+xcuserdata
+Snapshots
+
+# osx noise
+.DS_Store
+
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -1,4 +1,10 @@
## Wax Loader
Mutated version of Wax (https://github.com/probablycorey/wax/)
+
Support method override and direct method call from Obj-C code, which gives you the ability to dynamically change the behavior of a running iOS application.
### Tutorial
+The patch is a zip file contains patch.lua and other lua codes. The sample code can be found at /patch folder.
+
+The sample iOS project loads the patch from a url (which you probably want to change in AppDelegate.m) before launch.
+
+The Original.png and Patched.png shows the difference.
Oops, something went wrong. Retry.

0 comments on commit daecd63

Please sign in to comment.