Skip to content

Instantly share code, notes, and snippets.

@lucansky
Created March 1, 2014 23:45
Show Gist options
  • Save lucansky/9299488 to your computer and use it in GitHub Desktop.
Save lucansky/9299488 to your computer and use it in GitHub Desktop.
IOS proj1 pt2
adam@adam-nb:~/Dropbox/school/ios/proj1$ for f in `ls *.o`; do echo "---${f}";objdump -d -j .text ${f} | grep -E "(<.*>:)|(callq)"; done
---print_recursive.o
0000000000000000 <print_fib_upto>:
15: e8 00 00 00 00 callq 1a <print_fib_upto+0x1a>
28: e8 00 00 00 00 callq 2d <print_fib_upto+0x2d>
3f: e8 00 00 00 00 callq 44 <print_fib_upto+0x44>
55: e8 00 00 00 00 callq 5a <print_fib_upto+0x5a>
64: e8 00 00 00 00 callq 69 <print_fib_upto+0x69>
7a: e8 00 00 00 00 callq 7f <print_fib_upto+0x7f>
0000000000000081 <print_ackermann>:
a1: e8 00 00 00 00 callq a6 <print_ackermann+0x25>
b0: e8 00 00 00 00 callq b5 <print_ackermann+0x34>
bf: e8 00 00 00 00 callq c4 <print_ackermann+0x43>
d6: e8 00 00 00 00 callq db <print_ackermann+0x5a>
ec: e8 00 00 00 00 callq f1 <print_ackermann+0x70>
---recfun.o
0000000000000000 <usage>:
2b: e8 00 00 00 00 callq 30 <usage+0x30>
49: e8 00 00 00 00 callq 4e <usage+0x4e>
0000000000000050 <failure>:
63: e8 00 00 00 00 callq 68 <failure+0x18>
6d: e8 00 00 00 00 callq 72 <strton>
0000000000000072 <strton>:
95: e8 00 00 00 00 callq 9a <strton+0x28>
af: e8 00 00 00 00 callq b4 <strton+0x42>
00000000000000b9 <main>:
101: e8 00 00 00 00 callq 106 <main+0x4d>
119: e8 00 00 00 00 callq 11e <main+0x65>
134: e8 00 00 00 00 callq 139 <main+0x80>
14c: e8 00 00 00 00 callq 151 <main+0x98>
167: e8 00 00 00 00 callq 16c <main+0xb3>
18d: e8 00 00 00 00 callq 192 <main+0xd9>
1a1: e8 00 00 00 00 callq 1a6 <main+0xed>
1b5: e8 00 00 00 00 callq 1ba <main+0x101>
1c4: e8 00 00 00 00 callq 1c9 <main+0x110>
1da: e8 00 00 00 00 callq 1df <main+0x126>
1f1: e8 00 00 00 00 callq 1f6 <main+0x13d>
20f: e8 00 00 00 00 callq 214 <main+0x15b>
219: e8 00 00 00 00 callq 21e <main+0x165>
22a: e8 00 00 00 00 callq 22f <main+0x176>
---recursive.o
0000000000000000 <fib>:
30: e8 00 00 00 00 callq 35 <fib+0x35>
3f: e8 00 00 00 00 callq 44 <fib+0x44>
000000000000004d <ackermann>:
8d: e8 00 00 00 00 callq 92 <ackermann+0x45>
a1: e8 00 00 00 00 callq a6 <ackermann+0x59>
b0: e8 00 00 00 00 callq b5 <ackermann+0x68>
---timeout.o
0000000000000000 <catch_sig_alarm>:
0000000000000013 <set_timeout>:
28: e8 00 00 00 00 callq 2d <set_timeout+0x1a>
3c: e8 00 00 00 00 callq 41 <set_timeout+0x2e>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment