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

Unified Diff: courgette/testdata/rel32_win32_x86_03.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « courgette/testdata/rel32_win32_x86_02.txt ('k') | courgette/testdata/rel32_win32_x86_04.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: courgette/testdata/rel32_win32_x86_03.txt
diff --git a/courgette/testdata/rel32_win32_x86_03.txt b/courgette/testdata/rel32_win32_x86_03.txt
deleted file mode 100644
index 6403b103caa0e3728ef0b7e6c7619d80a67f8ebb..0000000000000000000000000000000000000000
--- a/courgette/testdata/rel32_win32_x86_03.txt
+++ /dev/null
@@ -1,40 +0,0 @@
-# Test target validity: only accept target RVA in [1000, 3000).
-
-# .text start RVA and end RVA
-1000
-3000
-# .reloc start RVA and end RVA
-3800
-4000
-# End RVA
-5000
-
-# Assume ImageBase = 00400000. This does not affect the test.
-Program:
- 00401000: 55 push ebp
- 00401001: 8B EC mov ebp,esp
- 00401003: E8 F8 EF FF FF call 00400000 # RVA start, outside .text
- 00401008: E8 F3 FF FF FF call 00401000
- 0040100D: E8 ED FF FF FF call 00400FFF # 1 byte before .text
- 00401012: 90 nop # Padding so E8 & E9 ...
- 00401013: 90 nop
- 00401014: E9 E7 FF FF FF jmp 00401000 # ... don't appear here.
- 00401019: E9 E1 FF FF FF jmp 00400FFF # 1 byte before .text
- 0040101E: E8 DC 1F 00 00 call 00402FFF
- 00401023: E8 D8 1F 00 00 call 00403000 # 1 byte after .text
- 00401028: 0F 87 D1 1F 00 00 ja 00402FFF
- 0040102E: 0F 88 CC 1F 00 00 js 00403000 # 1 byte after .text
- 00401034: E8 C6 3F 00 00 call 00404FFF # In image, outside .text
- 00401039: E8 C2 3F 00 00 call 00405000 # Outside image
- 0040103E: E8 BE 3F 00 00 call 00405001 # Outside image
- 00401043: E8 88 88 88 88 call 88C898D0 # Far away
- 00401048: 5D pop ebp
- 00401049: C3 ret
-
-Abs32:
-
-Expected:
-1009
-1015
-101F
-102A
« no previous file with comments | « courgette/testdata/rel32_win32_x86_02.txt ('k') | courgette/testdata/rel32_win32_x86_04.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698