File: iphone

package info (click to toggle)
radare2 0.9.6-3.1%2Bdeb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 17,496 kB
  • ctags: 45,959
  • sloc: ansic: 240,999; sh: 3,645; makefile: 2,520; python: 1,212; asm: 312; ruby: 214; awk: 209; perl: 188; lisp: 169; java: 23; xml: 17; php: 6
file content (39 lines) | stat: -rw-r--r-- 1,020 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Setup SDK
=========
1) Install 'APT 0.7 Strict' package from cydia.
   Extras: 
     apt-get install wget inetutils rsync
   Mercurial:
     apt-get install python setuptools

2) Download missing packages from lolcathost:
  wget http://lolcathost.org/b/libgcc_4.2-20080410-1-6_iphoneos-arm.deb
  wget http://lolcathost.org/b/libSystem.dylib

3) Install them
  dpkg -i libgcc_4.2-20080410-1-6_iphoneos-arm.deb
  apt-get install com.bigboss.20toolchain
  cp libSystem.dylib /usr/lib
  cd /usr/lib ; ln -sf  libSystem.dylib libm.dylib
  apt-get install make vim gawk git

4) /var/include/sys/stat.h is broken.
  Solution: add 'int foo[3];' after 'st_rdev' at line 178

5) wget lolcathost.org/b/varinclude.tar.gz 
   tar xzvf varinclude.tar.gz -C /

Compilation
===========
  export CC=gcc
  export CFLAGS=-I/var/include
  ./configure --prefix=/usr --with-ostype=darwin
  make
  make symstall

Usage
=====
  export R2DIR=/private/var/radare2
  export PATH=${R2DIR}/bin:$PATH
  export DYLD_LIBRARY_PATH=${R2DIR}/lib
  r2 ...