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

Unified Diff: courgette/testdata/rel32_x64_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: Improve rel32_finder doc Created 4 years, 7 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
Index: courgette/testdata/rel32_x64_03.txt
diff --git a/courgette/testdata/rel32_win32_x86_03.txt b/courgette/testdata/rel32_x64_03.txt
similarity index 59%
copy from courgette/testdata/rel32_win32_x86_03.txt
copy to courgette/testdata/rel32_x64_03.txt
index 6403b103caa0e3728ef0b7e6c7619d80a67f8ebb..dd3ecdd30eb34fe70d397924e83b99160aa3c270 100644
--- a/courgette/testdata/rel32_win32_x86_03.txt
+++ b/courgette/testdata/rel32_x64_03.txt
@@ -28,8 +28,21 @@ Program:
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
+ 00401048: FF 15 B1 EF FF FF call 003FFFFF # 1 byte before image
+ 0040104E: FF 15 AC EF FF FF call 00400000 # In image
+ 00401054: FF 15 A5 3F 00 00 call 00404FFF # 1 byte before end
+ 0040105A: FF 15 A0 3F 00 00 call 00405000 # Outside image
+ 00401060: FF 15 6A 88 C8 88 call 88C898D0 # Far away
+ 00401066: FF 25 93 EF FF FF jmp 003FFFFF
+ 0040106C: FF 25 8E EF FF FF jmp 00400000
+ 00401072: FF 25 87 3F 00 00 jmp 00404FFF
+ 00401078: FF 25 82 3F 00 00 jmp 00405000
+ 0040107E: 8D 05 7B EF FF FF lea eax, 003FFFFF
huangs 2016/05/30 05:48:35 lea eax, [eip-00001085] # 1 byte before image e
etiennep 2016/05/30 17:07:31 Done.
+ 00401084: 8D 05 76 EF FF FF lea eax, 00400000
+ 0040108A: 8D 05 6F 3F 00 00 lea eax, 00404FFF
+ 00401090: 8D 05 6A 3F 00 00 lea eax, 00405000
+ 00401096: 5D pop ebp
+ 00401097: C3 ret
Abs32:
@@ -38,3 +51,9 @@ Expected:
1015
101F
102A
+1050
+1056
+106E
+1074
+# 1086 Not yet detected.
+# 108C Not yet detected.

Powered by Google App Engine
This is Rietveld 408576698