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

Side by Side Diff: courgette/testdata/rel32_win32_x86_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/rel32_finder_x86.cc ('k') | courgette/testdata/rel32_win32_x86_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
(Empty)
1 # Test all rel32 jump instructions.
2
3 # .text start RVA and end RVA
4 1000
5 3000
6 # .reloc start RVA and end RVA
7 3800
8 4000
9 # End RVA
10 5000
11
12 # Assume ImageBase = 00400000. This does not affect the test.
13 Program:
14 00401000: 55 push ebp
15 00401001: 8B EC mov ebp,esp
16 00401003: E8 00 00 00 00 call 00401008
17 00401008: E9 00 00 00 00 jmp 0040100D
18 0040100D: 0F 80 00 00 00 00 jo 00401013
19 00401013: 0F 81 00 00 00 00 jno 00401019
20 00401019: 0F 82 00 00 00 00 jb 0040101F
21 0040101F: 0F 83 00 00 00 00 jae 00401025
22 00401025: 0F 84 00 00 00 00 je 0040102B
23 0040102B: 0F 85 00 00 00 00 jne 00401031
24 00401031: 0F 86 00 00 00 00 jbe 00401037
25 00401037: 0F 87 00 00 00 00 ja 0040103D
26 0040103D: 0F 88 00 00 00 00 js 00401043
27 00401043: 0F 89 00 00 00 00 jns 00401049
28 00401049: 0F 8A 00 00 00 00 jp 0040104F # Ignored!
29 0040104F: 0F 8B 00 00 00 00 jnp 00401055 # Ignored!
30 00401055: 0F 8C 00 00 00 00 jl 0040105B
31 0040105B: 0F 8D 00 00 00 00 jge 00401061
32 00401061: 0F 8E 00 00 00 00 jle 00401067
33 00401067: 0F 8F 00 00 00 00 jg 0040106D
34 0040106D: 5D pop ebp
35 0040106E: C3 ret
36
37 Abs32:
38
39 Expected:
40 1004
41 1009
42 100F
43 1015
44 101B
45 1021
46 1027
47 102D
48 1033
49 1039
50 103F
51 1045
52 1057
53 105D
54 1063
55 1069
OLDNEW
« no previous file with comments | « courgette/rel32_finder_x86.cc ('k') | courgette/testdata/rel32_win32_x86_02.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698