Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Side by Side Diff: courgette/testdata/rel32_x64_01.txt

Issue 2008253004: Refactor rel32 searching process for x64 to make it more similar to x86. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Correct far away ptr in rel32_x64_03.txt test case Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « courgette/testdata/rel32_win32_x86_04.txt ('k') | courgette/testdata/rel32_x64_02.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Test all rel32 jump instructions. 1 # Test all rel32 jump instructions and supported rip accesses.
2 2
3 # Processor type
4 x64
3 # .text start RVA and end RVA 5 # .text start RVA and end RVA
4 1000 6 1000
5 3000 7 3000
6 # .reloc start RVA and end RVA 8 # .reloc start RVA and end RVA
7 3800 9 3800
8 4000 10 4000
9 # End RVA 11 # End RVA
10 5000 12 5000
11 13
12 # Assume ImageBase = 00400000. This does not affect the test. 14 # Assume ImageBase = 00400000. This does not affect the test.
(...skipping 11 matching lines...) Expand all
24 00401031: 0F 86 00 00 00 00 jbe 00401037 26 00401031: 0F 86 00 00 00 00 jbe 00401037
25 00401037: 0F 87 00 00 00 00 ja 0040103D 27 00401037: 0F 87 00 00 00 00 ja 0040103D
26 0040103D: 0F 88 00 00 00 00 js 00401043 28 0040103D: 0F 88 00 00 00 00 js 00401043
27 00401043: 0F 89 00 00 00 00 jns 00401049 29 00401043: 0F 89 00 00 00 00 jns 00401049
28 00401049: 0F 8A 00 00 00 00 jp 0040104F # Ignored! 30 00401049: 0F 8A 00 00 00 00 jp 0040104F # Ignored!
29 0040104F: 0F 8B 00 00 00 00 jnp 00401055 # Ignored! 31 0040104F: 0F 8B 00 00 00 00 jnp 00401055 # Ignored!
30 00401055: 0F 8C 00 00 00 00 jl 0040105B 32 00401055: 0F 8C 00 00 00 00 jl 0040105B
31 0040105B: 0F 8D 00 00 00 00 jge 00401061 33 0040105B: 0F 8D 00 00 00 00 jge 00401061
32 00401061: 0F 8E 00 00 00 00 jle 00401067 34 00401061: 0F 8E 00 00 00 00 jle 00401067
33 00401067: 0F 8F 00 00 00 00 jg 0040106D 35 00401067: 0F 8F 00 00 00 00 jg 0040106D
34 0040106D: 5D pop ebp 36 0040106D: FF 15 00 00 00 00 call [rip+00000000]
35 0040106E: C3 ret 37 00401073: FF 25 00 00 00 00 jmp [rip+00000000]
38 00401079: 8B 05 00 00 00 00 mov eax,[rip+00000000]
39 0040107F: 8B 3D 00 00 00 00 mov edi,[rip+00000000]
40 00401085: 8D 05 00 00 00 00 lea eax,[rip+00000000]
41 0040108B: 8D 3D 00 00 00 00 lea edi,[rip+00000000]
42 00401091: 48 8B 05 00 00 00 mov rax,[rip+00000000]
43 00
44 00401098: 48 8B 3D 00 00 00 mov rdi,[rip+00000000]
45 00
46 0040109F: 48 8D 05 00 00 00 lea rax,[rip+00000000]
47 00
48 004010A6: 48 8D 3D 00 00 00 lea rdi,[rip+00000000]
49 00
50 004010AD: 4C 8B 05 00 00 00 mov r8,[rip+00000000]
51 00
52 004010B4: 4C 8B 3D 00 00 00 mov r15,[rip+00000000]
53 00
54 004010BB: 4C 8D 05 00 00 00 lea r8,[rip+00000000]
55 00
56 004010C2: 4C 8D 3D 00 00 00 lea r15,[rip+00000000]
57 00
58 004010C9: 5D pop ebp
59 004010CA: C3 ret
36 60
37 Abs32: 61 Abs32:
38 62
39 Expected: 63 Expected:
40 1004 64 1004
41 1009 65 1009
42 100F 66 100F
43 1015 67 1015
44 101B 68 101B
45 1021 69 1021
46 1027 70 1027
47 102D 71 102D
48 1033 72 1033
49 1039 73 1039
50 103F 74 103F
51 1045 75 1045
52 1057 76 1057
53 105D 77 105D
54 1063 78 1063
55 1069 79 1069
80 106F
81 1075
82 # 107B Not yet detected.
83 # 1081 Not yet detected.
84 # 1087 Not yet detected.
85 # 108D Not yet detected.
86 1094
87 109B
88 10A2
89 10A9
90 10B0
91 10B7
92 10BE
93 10C5
OLDNEW
« no previous file with comments | « courgette/testdata/rel32_win32_x86_04.txt ('k') | courgette/testdata/rel32_x64_02.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698