@@ -6,35 +6,35 @@ snapshot_kind: text
6
6
" ─────────────────────────────────────────────────────────────────────|heretek-v0.1.0-rc12|──────────────────────────────────────────────────────────────────────"
7
7
" 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 "
8
8
" Registers───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────"
9
- " rax ➛ 0x88888887 "
9
+ " rax ➛ 0x401825 "
10
10
" rbx ➛ 0x1 "
11
11
" rcx ➛ 0x4adb10 ➛ 0x04 "
12
12
" rdx ➛ 0x7fffffffb108 ➛ 0x7fffffffb4e6 "
13
13
" rsi ➛ 0x7fffffffb0f8 ➛ 0x7fffffffb499 "
14
14
" rdi ➛ 0x1 "
15
- " rbp ➛ 0x7fffffffaf90 ➛ 0x7fffffffafe0 "
15
+ " rbp ➛ 0x7fffffffafe0 ➛ 0x7fffffffb080 "
16
16
" Stack───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────"
17
- " 0x7fffffffaf90 ➛ 0x7fffffffafe0 "
18
- " 0x7fffffffaf98 ➛ 0x401873 "
19
- " 0x7fffffffafa0 ➛ 0x88888887 "
20
- " 0x7fffffffafa8 ➛ 0x77777777 "
21
- " 0x7fffffffafb0 ➛ 0x66666666 "
22
- " 0x7fffffffafb8 ➛ 0x55555555 "
23
- " 0x7fffffffafc0 ➛ 0x44444444 "
24
- " 0x7fffffffafc8 ➛ 0x33333333 "
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
+ " 0x7fffffffafa0 ➛ 0x7fffffffafd0 "
18
+ " 0x7fffffffafa8 ➛ 0x40f022 "
19
+ " 0x7fffffffafb0 ➛ 0x494b00 "
20
+ " 0x7fffffffafb8 ➛ 0x4a40e8 "
21
+ " 0x7fffffffafc0 ➛ 0x00 "
22
+ " 0x7fffffffafc8 ➛ 0x4ab198 "
23
+ " 0x7fffffffafd0 ➛ 0x7fffffffaff0 "
24
+ " 0x7fffffffafd8 ➛ 0x01 "
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) "
33
33
" ┌Output ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐"
34
34
" │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; │"
38
38
" │ │"
39
39
" │ │"
40
40
" │ │"
0 commit comments