Index: courgette/win32_x86_patcher.h |
diff --git a/courgette/win32_x86_patcher.h b/courgette/win32_x86_patcher.h |
index 6b850217cf7601d69b107329669ccccf766ce1bf..f1aad9dadab8089426fef5fdc868e04f11a37e51 100644 |
--- a/courgette/win32_x86_patcher.h |
+++ b/courgette/win32_x86_patcher.h |
@@ -46,9 +46,9 @@ class CourgetteWin32X86Patcher : public TransformationPatcher { |
return C_GENERAL_ERROR; // Don't expect any corrected parameters. |
AssemblyProgram* program = NULL; |
- status = ParseWin32X86PE(ensemble_region_.start() + base_offset_, |
- base_length_, |
- &program); |
+ status = ParseDetectedExecutable(ensemble_region_.start() + base_offset_, |
+ base_length_, |
+ &program); |
if (status != C_OK) |
return status; |