Skip to content

Commit 9e43b24

Browse files
committed
eh?
1 parent ad6209b commit 9e43b24

File tree

2 files changed

+23
-22
lines changed

2 files changed

+23
-22
lines changed

src/snapshots/heretek__tests__render_app.snap

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,35 +6,35 @@ snapshot_kind: text
66
"─────────────────────────────────────────────────────────────────────|heretek-v0.1.0-rc12|──────────────────────────────────────────────────────────────────────"
77
" Press q to exit, i to enter input | F1 main | F2 registers | F3 stack | F4 instructions | F5 output | F6 mapping | F7 hexdump | Heap | Stack | Code "
88
"Registers───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────"
9-
" rax ➛ 0x88888887 "
9+
" rax ➛ 0x401825 "
1010
" rbx ➛ 0x1 "
1111
" rcx ➛ 0x4adb10 ➛ 0x04 "
1212
" rdx ➛ 0x7fffffffb108 ➛ 0x7fffffffb4e6 "
1313
" rsi ➛ 0x7fffffffb0f8 ➛ 0x7fffffffb499 "
1414
" rdi ➛ 0x1 "
15-
" rbp ➛ 0x7fffffffaf900x7fffffffafe0 "
15+
" rbp ➛ 0x7fffffffafe00x7fffffffb080 "
1616
"Stack───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────"
17-
" 0x7fffffffaf900x7fffffffafe0 "
18-
" 0x7fffffffaf980x401873 "
19-
" 0x7fffffffafa00x88888887 "
20-
" 0x7fffffffafa80x77777777 "
21-
" 0x7fffffffafb00x66666666 "
22-
" 0x7fffffffafb80x55555555 "
23-
" 0x7fffffffafc00x44444444 "
24-
" 0x7fffffffafc80x33333333 "
25-
"Instructions (this)─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────"
26-
" 0x4017f3 jmp 0x401750 "
27-
" 0x4017f8 nopl 0x0(%rax,%rax,1) "
28-
" 0x401800 jmp 0x401750 "
29-
" 0x401805 this+00 push %rbp "
30-
" 0x401806 this+01 mov %rsp,%rbp "
31-
">>0x401809 this+04 mov $0xa,%edi "
32-
" 0x40180e this+09 call 0x417fa0 <sleep> "
17+
" 0x7fffffffafa00x7fffffffafd0 "
18+
" 0x7fffffffafa80x40f022 "
19+
" 0x7fffffffafb00x494b00 "
20+
" 0x7fffffffafb80x4a40e8 "
21+
" 0x7fffffffafc00x00 "
22+
" 0x7fffffffafc80x4ab198 "
23+
" 0x7fffffffafd00x7fffffffaff0 "
24+
" 0x7fffffffafd80x01 "
25+
"Instructions (main)─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────"
26+
" 0x401823 this+1e pop %rbp "
27+
" 0x401824 this+1f ret "
28+
" 0x401825 main+00 push %rbp "
29+
" 0x401826 main+01 mov %rsp,%rbp "
30+
" 0x401829 main+04 sub $0x40,%rsp "
31+
">>0x40182d main+08 movq $0x11111111,-0x8(%rbp) "
32+
" 0x401835 main+10 movq $0x22222222,-0x10(%rbp) "
3333
"┌Output ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐"
3434
"│source test-sources/test.source │"
35-
"│Breakpoint 1 at 0x401809: file test.c, line 6. "
36-
"│Breakpoint 1, this () at test.c:6 "
37-
"6 sleep(10); "
35+
"│Breakpoint 1 at 0x40182d: file test.c, line 11."
36+
"│Breakpoint 1, main () at test.c:11"
37+
"11 volatile uint64_t val1 = 0x11111111;"
3838
"│ │"
3939
"│ │"
4040
"│ │"

test-sources/test.source

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
file test-assets/test_render_app/a.out
2-
break this
2+
break main
3+
set disable-randomization on
34
run

0 commit comments

Comments
 (0)