-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlldb.txt
72 lines (47 loc) · 1.66 KB
/
lldb.txt
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
lldb
----
// see what architectures we have
lipo -info /Volumes/Leopard/Developer/usr/lib/gcc/i686-apple-darwin9/4.0.1/libstdc++.dylib
/Users/shooley/Desktop/organ/Programming/Source/lldb/build/Debug/lldb /Applications/6-386.app --arch 'i386'
breakpoint set --name=start
breakpoint set --name='+[NSAlert alloc]'
process launch
breakpoint delete 1
breakpoint set --address=00002ac2
breakpoint delete 2
breakpoint list
image list // show all frameworks
disassemble --start-address=0x00002ac0 --end-address=00002ae9
image lookup --symbol=start
image lookup --address=0x00002aea
thread step-inst --avoid_no_debug=false --run_mode=thisThread
run
apropps executable
alias ? apropos
? executable
file sibelious
source-file --line 12 --count 12
variable list
run
exit
process interrupt
help breakpoint set
breakpoint set --name=start
step
status
register read
register read eax
x 0x00002ac0
process launch
SBDebugger::Initialize();
SBHostOS::ThreadCreated ("[main]");
SBDebugger::SetAsync(true);
SBDebugger::SetErrorFileHandle (stderr, false);
SBDebugger::SetOutputFileHandle (stdout, false);
SBDebugger::SetInputFileHandle (stdin, true);
SBCommandInterpreter sb_interpreter = SBDebugger::GetCommandInterpreter();
SBDebugger::HandleCommand ("file --arch=i386'/Applications/6-386.app'");
OTOOL
\-----
/Developer/usr/bin/darwin-debug --arch=i386 -- /Users/shooley/Desktop/organ/Programming/Source/lldb/build/Debug/lldb /Applications/6-386.app
/Developer/usr/bin/darwin-debug --arch=i386 -- /bin/ls -al /tmp