summaryrefslogtreecommitdiffstats
path: root/courgette/ensemble_create.cc
diff options
context:
space:
mode:
authorwfh@chromium.org <wfh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-23 21:05:22 +0000
committerwfh@chromium.org <wfh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-23 21:05:22 +0000
commit6bf1a00d77b886f11b8e5d96a64c3a22f544afad (patch)
tree2f97a7ebb508ebf3482ba8ec855ee3554f5ca92f /courgette/ensemble_create.cc
parent4b5dc66011b4499c09da44eb69d7e8f5836a9f50 (diff)
downloadchromium_src-6bf1a00d77b886f11b8e5d96a64c3a22f544afad.zip
chromium_src-6bf1a00d77b886f11b8e5d96a64c3a22f544afad.tar.gz
chromium_src-6bf1a00d77b886f11b8e5d96a64c3a22f544afad.tar.bz2
Add PE64 support to courgette
Add tests for PE64 BUG=38784 Review URL: https://chromiumcodereview.appspot.com/23600063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224789 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'courgette/ensemble_create.cc')
-rw-r--r--courgette/ensemble_create.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/courgette/ensemble_create.cc b/courgette/ensemble_create.cc
index 550f0ad..ea5873c 100644
--- a/courgette/ensemble_create.cc
+++ b/courgette/ensemble_create.cc
@@ -94,6 +94,15 @@ TransformationPatchGenerator* MakeGenerator(Element* old_element,
EXE_ELF_32_ARM);
return generator;
}
+ case EXE_WIN_32_X64: {
+ TransformationPatchGenerator* generator =
+ new PatchGeneratorX86_32(
+ old_element,
+ new_element,
+ new PatcherX86_32(old_element->region()),
+ EXE_WIN_32_X64);
+ return generator;
+ }
}
LOG(WARNING) << "Unexpected Element::Kind " << old_element->kind();