summaryrefslogtreecommitdiffstats
path: root/courgette/patch_generator_x86_32.h
diff options
context:
space:
mode:
Diffstat (limited to 'courgette/patch_generator_x86_32.h')
-rw-r--r--courgette/patch_generator_x86_32.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/courgette/patch_generator_x86_32.h b/courgette/patch_generator_x86_32.h
index 084bdc3..4a29a75 100644
--- a/courgette/patch_generator_x86_32.h
+++ b/courgette/patch_generator_x86_32.h
@@ -3,6 +3,7 @@
// 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.
#ifndef COURGETTE_WIN32_X86_GENERATOR_H_
#define COURGETTE_WIN32_X86_GENERATOR_H_
@@ -66,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 Win32X86PE " << old_element_->Name();
+ LOG(ERROR) << "Cannot parse as WinPE " << old_element_->Name();
return old_parse_status;
}
@@ -77,7 +78,7 @@ class PatchGeneratorX86_32 : public TransformationPatchGenerator {
&new_program);
if (new_parse_status != C_OK) {
DeleteAssemblyProgram(old_program);
- LOG(ERROR) << "Cannot parse as Win32X86PE " << new_element_->Name();
+ LOG(ERROR) << "Cannot parse as WinPE " << new_element_->Name();
return new_parse_status;
}