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

Side by Side Diff: syzygy/instrument/transforms/asan_intercepts.cc

Issue 2953843002: Add the hashes for the VS2010 version of the CRT. (Closed)
Patch Set: Created 3 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 Google Inc. All Rights Reserved. 1 // Copyright 2014 Google Inc. All Rights Reserved.
2 // 2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); 3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License. 4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at 5 // You may obtain a copy of the License at
6 // 6 //
7 // http://www.apache.org/licenses/LICENSE-2.0 7 // http://www.apache.org/licenses/LICENSE-2.0
8 // 8 //
9 // Unless required by applicable law or agreed to in writing, software 9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS, 10 // distributed under the License is distributed on an "AS IS" BASIS,
(...skipping 16 matching lines...) Expand all
27 {"3549cc2f365403c679287c34325b8925"}, // VS2010, VS2013, 27 {"3549cc2f365403c679287c34325b8925"}, // VS2010, VS2013,
28 // Win SDK 10.0.14393.0+. 28 // Win SDK 10.0.14393.0+.
29 {""}}; 29 {""}};
30 const MD5Hash kHashes_strcspn[] = { 30 const MD5Hash kHashes_strcspn[] = {
31 {"c2e8480d30ceeeb2e9e39b545c82c98c"}, // VS2010 and VS2013. 31 {"c2e8480d30ceeeb2e9e39b545c82c98c"}, // VS2010 and VS2013.
32 {""} }; 32 {""} };
33 const MD5Hash kHashes_strlen[] = { 33 const MD5Hash kHashes_strlen[] = {
34 {"20e07f6e772c47e6cbfc13db5eafa757"}, // VS2010 and VS2013. 34 {"20e07f6e772c47e6cbfc13db5eafa757"}, // VS2010 and VS2013.
35 {""} }; 35 {""} };
36 const MD5Hash kHashes_strnlen[] = { 36 const MD5Hash kHashes_strnlen[] = {
37 {"a5aa1178af3204566fff52ef2e16c2f8"}, // VS2010.
37 {"09d4062ec47f5e7fd25a19bc60c4bd8e"}, // VS2013. 38 {"09d4062ec47f5e7fd25a19bc60c4bd8e"}, // VS2013.
38 {"7f4492174275ca903993fef8d7f8ef77"}, // Win SDK 10.0.14393.0. 39 {"7f4492174275ca903993fef8d7f8ef77"}, // Win SDK 10.0.14393.0.
39 {"96bece78e0fcd82e400ad92889100e0e"}, // Win SDK 10.0.15063.0. 40 {"96bece78e0fcd82e400ad92889100e0e"}, // Win SDK 10.0.15063.0.
40 {""}}; 41 {""}};
41 const MD5Hash kHashes_strpbrk[] = { 42 const MD5Hash kHashes_strpbrk[] = {
42 {"9af2e6d499d25ad4628c58a25dbcde1e"}, // VS2010 and VS2013. 43 {"9af2e6d499d25ad4628c58a25dbcde1e"}, // VS2010 and VS2013.
43 {""} }; 44 {""} };
44 const MD5Hash kHashes_strspn[] = { 45 const MD5Hash kHashes_strspn[] = {
45 {"79b6a33a1b03b482be14afff061d7c68"}, // VS2010 and VS2013. 46 {"79b6a33a1b03b482be14afff061d7c68"}, // VS2010 and VS2013.
46 {""} }; 47 {""} };
(...skipping 28 matching lines...) Expand all
75 {""}}; 76 {""}};
76 const MD5Hash kHashes_strcmp[] = { 77 const MD5Hash kHashes_strcmp[] = {
77 {"865502e059de8a9dc6cee8ef05b1a586"}, // VS2010. 78 {"865502e059de8a9dc6cee8ef05b1a586"}, // VS2010.
78 {"3de87a84bf545bd485f846c1b9456bcb"}, // VS2013. 79 {"3de87a84bf545bd485f846c1b9456bcb"}, // VS2013.
79 {""} }; 80 {""} };
80 const MD5Hash kHashes_strstr[] = { 81 const MD5Hash kHashes_strstr[] = {
81 {"cdfbaae199dcc8272681c021fab9d664"}, // VS2010. 82 {"cdfbaae199dcc8272681c021fab9d664"}, // VS2010.
82 {"1926bd8c94118f97819d604ec5afee30"}, // Win SDK 10.0.14393.0+. 83 {"1926bd8c94118f97819d604ec5afee30"}, // Win SDK 10.0.14393.0+.
83 {""}}; 84 {""}};
84 const MD5Hash kHashes_wcsnlen[] = { 85 const MD5Hash kHashes_wcsnlen[] = {
86 {"323b81d8dc2fc06dabf80980fdab19bd"}, // VS2010.
85 {"3764327beb7392f3b841b72b89f94af5"}, // VS2013. 87 {"3764327beb7392f3b841b72b89f94af5"}, // VS2013.
86 {"2059f3897a59cf8a0fe6d1803c90af77"}, // Win SDK 10.0.14393.0. 88 {"2059f3897a59cf8a0fe6d1803c90af77"}, // Win SDK 10.0.14393.0.
87 {"d39e85f57e04069cff34624893a84e4a"}, // Win SDK 10.0.15063.0. 89 {"d39e85f57e04069cff34624893a84e4a"}, // Win SDK 10.0.15063.0.
88 {""}}; 90 {""}};
89 const MD5Hash kHashes_wcsrchr[] = { 91 const MD5Hash kHashes_wcsrchr[] = {
92 {"219c163637579985193d2c37e82a4430"}, // VS2010.
90 {"dc474260def9e341659230dc2edd13e6"}, // VS2013. 93 {"dc474260def9e341659230dc2edd13e6"}, // VS2013.
91 {"e1d33ebe81f646a5b6941fbc3bad43b1"}, // Win SDK 10.0.10586.0. 94 {"e1d33ebe81f646a5b6941fbc3bad43b1"}, // Win SDK 10.0.10586.0.
92 {"f1f7d1a3c28ea37e4d297bce5bc095bd"}, // Win SDK 10.0.10586.0 debug. 95 {"f1f7d1a3c28ea37e4d297bce5bc095bd"}, // Win SDK 10.0.10586.0 debug.
93 {"bfb15ac56c29c1dd8c68e9ba25d264a8"}, // Win SDK 10.0.14393.0+. 96 {"bfb15ac56c29c1dd8c68e9ba25d264a8"}, // Win SDK 10.0.14393.0+.
94 {""}}; 97 {""}};
95 const MD5Hash kHashes_wcschr[] = { 98 const MD5Hash kHashes_wcschr[] = {
99 {"8206e006eac1d4e9ef3dd85c70563af3"}, // VS2010.
96 {"3fae79785ec4de9951eac512bc62a27e"}, // VS2013. 100 {"3fae79785ec4de9951eac512bc62a27e"}, // VS2013.
97 {"e1d33ebe81f646a5b6941fbc3bad43b1"}, // Win SDK 10.0.10586.0. 101 {"e1d33ebe81f646a5b6941fbc3bad43b1"}, // Win SDK 10.0.10586.0.
98 {"f1f7d1a3c28ea37e4d297bce5bc095bd"}, // Win SDK 10.0.10586.0 debug. 102 {"f1f7d1a3c28ea37e4d297bce5bc095bd"}, // Win SDK 10.0.10586.0 debug.
99 {"941bb6826538a1a40f055cb28c7b3695"}, // Win SDK 10.0.14393.0. 103 {"941bb6826538a1a40f055cb28c7b3695"}, // Win SDK 10.0.14393.0.
100 {"574d84de4f9718ae0d1e149aea4bef43"}, // Win SDK 10.0.15063.0. 104 {"574d84de4f9718ae0d1e149aea4bef43"}, // Win SDK 10.0.15063.0.
101 {""}}; 105 {""}};
102 const MD5Hash kHashes_wcsstr[] = { 106 const MD5Hash kHashes_wcsstr[] = {
107 {"f51dfbb81b8cc02d0a9d9f4d10a92ea8"}, // VS2010.
103 {"2301f403b55567eae76f3dc58dd777f4"}, // VS2013. 108 {"2301f403b55567eae76f3dc58dd777f4"}, // VS2013.
104 {"39ce73539b6f20c6690ae870093dd3fb"}, // Win SDK 10.0.10586.0 debug. 109 {"39ce73539b6f20c6690ae870093dd3fb"}, // Win SDK 10.0.10586.0 debug.
105 {"e1d33ebe81f646a5b6941fbc3bad43b1"}, // Win SDK 10.0.10586.0. 110 {"e1d33ebe81f646a5b6941fbc3bad43b1"}, // Win SDK 10.0.10586.0.
106 {"01fb77e5eeab6ae224a705aa6ad5117d"}, // Win SDK 10.0.15063.0+. 111 {"01fb77e5eeab6ae224a705aa6ad5117d"}, // Win SDK 10.0.15063.0+.
107 {""}}; 112 {""}};
108 113
109 // List of module names. 114 // List of module names.
110 const char kKernel32[] = "kernel32.dll"; 115 const char kKernel32[] = "kernel32.dll";
111 116
112 // Functions with the same value for |module| must be consecutive in this 117 // Functions with the same value for |module| must be consecutive in this
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 }; 162 };
158 163
159 const char kUndecoratedAsanInterceptPrefix[] = "asan_"; 164 const char kUndecoratedAsanInterceptPrefix[] = "asan_";
160 const char kDecoratedAsanInterceptPrefix[] = "_asan"; 165 const char kDecoratedAsanInterceptPrefix[] = "_asan";
161 const char kDecoratedImportPrefix[] = "__imp_"; 166 const char kDecoratedImportPrefix[] = "__imp_";
162 167
163 const char kUndecoratedHotPatchingAsanInterceptPrefix[] = "hp_asan_"; 168 const char kUndecoratedHotPatchingAsanInterceptPrefix[] = "hp_asan_";
164 169
165 } // namespace transforms 170 } // namespace transforms
166 } // namespace instrument 171 } // namespace instrument
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698