Skip to content

Commit

Permalink
pivot AGAIN
Browse files Browse the repository at this point in the history
  • Loading branch information
comex committed Apr 7, 2011
1 parent 50f4a0f commit 11a3587
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 115 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "data"]
path = data
url = git://github.com/comex/data.git
[submodule "datautils0"]
path = datautils0
url = git://github.com/comex/datautils0.git
2 changes: 1 addition & 1 deletion data
Submodule data updated 10 files
+6 −28 Makefile
+25 −0 Makefile.common
+2 −2 binary.c
+0 −34 check_sanity.c
+1 −1 common.c
+4 −1 common.h
+1 −0 data
+258 −48 find.c
+6 −2 find.h
+0 −1 running_kernel.c
2 changes: 1 addition & 1 deletion headers/IOKit
25 changes: 5 additions & 20 deletions make.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,9 @@ def goo():
def catalog():
locutus()
goo()
datautils_native()
sandbox2()
data(True)
goto('catalog')
run('../datautils/make_kernel_patchfile', '../config/cur/kern', '../sandbox2/sandbox.o', 'patchfile')
run('../datautils/make_kernel_patchfile', '../config/cur/kern', 'patchfile')
run(GCC, '-c', '-o', 'kcode.o', 'kcode.S', '-Oz')

def catalog_dejavu():
Expand Down Expand Up @@ -126,23 +125,9 @@ def chain():

def data(native=True):
goto('data')
run_multiple(['make', 'clean'], ['make', 'NATIVE=%d' % native])

def datautils(native=False):
data(native)
goto('datautils')

gcc = GCC_NATIVE if native else GCC
ldid = strip = not native
def cds(files, output):
return compile_stuff(files, output, cflags=['-DIMG3_SUPPORT', '-I..', '-O3'], ldflags=['../data/libdata.a'], gcc=gcc, ldid=ldid, strip=strip)

cds(['make_kernel_patchfile.c'], 'make_kernel_patchfile')
cds(['apply_patchfile.c'], 'apply_patchfile')
cds(['dyld_to_pwn.c'], 'dyld_to_pwn')

def datautils_native():
datautils(True)
run_multiple(['make', 'NATIVE=%d' % native])
goto('datautils0')
run_multiple(['make', 'NATIVE=%d' % native])

def sandbox2():
goto('sandbox2')
Expand Down
93 changes: 0 additions & 93 deletions sandbox2/sandbox.S

This file was deleted.

0 comments on commit 11a3587

Please sign in to comment.