blob: cf23a47c3559b2af6eb12b812844d373844494e8 (
plain) (
blame)
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
console launch {TARGET}
await stops 1
type :break work
expect command_open true
key return
expect command_open false
type ?
expect help true
key escape
expect help false
console continue
await stops 2
expect status stopped
key s
await stops 3
frames 6
screenshot {STRIKE}
frames 60
screenshot {SETTLED}
expect-different-screenshot {STRIKE} {SETTLED} 24 844 1072 360
key left_bracket
expect following false
expect moment 1
# Browsing and per-pane history do not execute the target.
console goto memory 0x1000
wheel 1500 1000 -0.5
expect nav[2].place.row 1.5
console goto memory 0x2000
console mouse-button 4 1500 1000
expect nav[2].place.address 4096
expect nav[2].place.row 1.5
console mouse-button 5 1500 1000
expect nav[2].place.address 8192
hold left_ctrl
key o
release left_ctrl
expect nav[2].place.address 4096
console goto memory 0x3000
console mouse-button 5 1500 1000
expect nav[2].place.address 12288
key j
expect nav[2].place.row 1
key g
key g
expect nav[2].place.row 0
hold left_ctrl
key d
release left_ctrl
expect nav[2].place.row 7.5
key f
expect nav[2].place.follow true
# Rendered code addresses route to disassembly, including source-aligned rows.
console mouse-button 3 650 122
expect focus code
expect nav[0].place.follow false
console mouse-button 4 650 122
expect nav[0].place.follow true
console mouse-button 5 650 122
expect nav[0].place.follow false
key f
# Stack storage addresses route to telescope.
console mouse-button 3 250 855
expect focus stack
expect nav[1].place.follow false
console mouse-button 4 250 855
expect nav[1].place.follow true
console mouse-button 5 250 855
expect nav[1].place.follow false
key f
expect status stopped
expect stops 3
expect moment 1
# A real address lens, with an animated rise and real recorded bytes.
click 250 855
expect lens true
frames 6
screenshot {LENS}
frames 30
screenshot {LENS_SETTLED}
expect-different-screenshot {LENS} {LENS_SETTLED} 1090 580 1120 230
key escape
expect lens false
# Opening from a call-frame address keeps its origin visible.
click 1700 726
expect lens true
frames 30
screenshot {FRAME_LENS}
key escape
expect lens false
# Minimap dragging moves the viewport without changing the target.
down 2175 950
move 2175 1100
up 2175 1100
expect focus memory
key f
expect nav[2].place.follow true
expect stops 3
hold left_shift
key f
release left_shift
expect following true
expect moment 2
console clear 1
key c
await status running
key escape
await status stopped
click 80 54
await stops 5
key n
await stops 6
expect status stopped
expect-no-log InterruptFailed
expect-no-log CommandFailed
key c
await status running
|