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

Unified Diff: courgette/patch_generator_x86_32.h

Issue 1027883002: Update out-of-date comments and error messages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « no previous file | courgette/patcher_x86_32.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: courgette/patch_generator_x86_32.h
diff --git a/courgette/patch_generator_x86_32.h b/courgette/patch_generator_x86_32.h
index 4a29a7560112d4cec5437b3f341992206ebc87d2..3610eeb608362352d6f2b2fcb5d0cd832353e891 100644
--- a/courgette/patch_generator_x86_32.h
+++ b/courgette/patch_generator_x86_32.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// This is the transformation and adjustment for Windows X86 executables.
-// The same code can be used for Windows X64 executables.
+// This is the transformation and adjustment for all executables.
+// The executable type is determined by ParseDetectedExecutable function.
#ifndef COURGETTE_WIN32_X86_GENERATOR_H_
#define COURGETTE_WIN32_X86_GENERATOR_H_
@@ -67,7 +67,7 @@ class PatchGeneratorX86_32 : public TransformationPatchGenerator {
old_element_->region().length(),
&old_program);
if (old_parse_status != C_OK) {
- LOG(ERROR) << "Cannot parse as WinPE " << old_element_->Name();
+ LOG(ERROR) << "Cannot parse an executable " << old_element_->Name();
return old_parse_status;
}
@@ -78,7 +78,7 @@ class PatchGeneratorX86_32 : public TransformationPatchGenerator {
&new_program);
if (new_parse_status != C_OK) {
DeleteAssemblyProgram(old_program);
- LOG(ERROR) << "Cannot parse as WinPE " << new_element_->Name();
+ LOG(ERROR) << "Cannot parse an executable " << new_element_->Name();
return new_parse_status;
}
« no previous file with comments | « no previous file | courgette/patcher_x86_32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698