-
Notifications
You must be signed in to change notification settings - Fork 0
/
.lldbinit
35 lines (30 loc) · 1.75 KB
/
.lldbinit
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
# breakpoint shortcuts
# break on function/method/selector: b -n name
# break on C/C++ method: b -M method
# break on selector: b -S selector:here:
# break on address: b -a 0xfeedface
command alias e expression
command alias caflush expression (void)[CATransaction flush]
command alias b breakpoint set
command alias bd breakpoint disable
command alias be breakpoint enable
command alias bdel breakpoint delete
command alias bcommand breakpoint command add
command alias commands breakpoint command list
# jump aliases
# jump 0xfeedface
command alias rr register read
command alias jump register write pc
command alias jmp register write pc
command alias j register write pc
# fix p/s
# p/s rsi
command alias p/s register read
command alias return thread return
command alias reveal_load_sim expr (void*)dlopen("/Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries/RevealServer.framework/RevealServer", 0x2);
command alias reveal_load_dev expr (void*)dlopen([(NSString*)[(NSBundle*)[NSBundle mainBundle] pathForResource:@"libReveal" ofType:@"dylib"] cStringUsingEncoding:0x4], 0x2);
command alias reveal_start expr (void)[(NSNotificationCenter*)[NSNotificationCenter defaultCenter] postNotificationName:@"IBARevealRequestStart" object:nil];
command alias reveal_stop expr (void)[(NSNotificationCenter*)[NSNotificationCenter defaultCenter] postNotificationName:@"IBARevealRequestStop" object:nil];
command alias reveal_load_sim_swift expr dlopen("/Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries/RevealServer.framework/RevealServer", 0x2)
command alias reveal_start_swift expr NotificationCenter.default.post(name: "IBARevealRequestStart", object: nil)
command alias reveal_stop_swift expr NotificationCenter.default.post(name: "IBARevealRequestStop", object: nil)