summaryrefslogtreecommitdiffstats
path: root/courgette/disassembler_win32_x86.cc
diff options
context:
space:
mode:
authorwfh@chromium.org <wfh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-25 19:05:51 +0000
committerwfh@chromium.org <wfh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-25 19:05:51 +0000
commit11336c04fcb6bb58149de40d5b6a12c5b2102134 (patch)
treeed9d6e9657aabe7213afcca2bd3f32e84ac625ee /courgette/disassembler_win32_x86.cc
parent700e4618a8454db541728226ba22094266a5138a (diff)
downloadchromium_src-11336c04fcb6bb58149de40d5b6a12c5b2102134.zip
chromium_src-11336c04fcb6bb58149de40d5b6a12c5b2102134.tar.gz
chromium_src-11336c04fcb6bb58149de40d5b6a12c5b2102134.tar.bz2
Add PE64 support to courgette
Add tests for PE64 BUG=38784 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/23600063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225224 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'courgette/disassembler_win32_x86.cc')
-rw-r--r--courgette/disassembler_win32_x86.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/courgette/disassembler_win32_x86.cc b/courgette/disassembler_win32_x86.cc
index f182062..eeb17ec 100644
--- a/courgette/disassembler_win32_x86.cc
+++ b/courgette/disassembler_win32_x86.cc
@@ -15,10 +15,6 @@
#include "courgette/courgette.h"
#include "courgette/encoded_program.h"
-// COURGETTE_HISTOGRAM_TARGETS prints out a histogram of how frequently
-// different target addresses are referenced. Purely for debugging.
-#define COURGETTE_HISTOGRAM_TARGETS 0
-
namespace courgette {
DisassemblerWin32X86::DisassemblerWin32X86(const void* start, size_t length)
@@ -189,7 +185,7 @@ bool DisassemblerWin32X86::ParseHeader() {
ReduceLength(detected_length);
if (!is_32bit()) {
- return Bad("64 bit executables are not yet supported");
+ return Bad("64 bit executables are not supported by this disassembler");
}
if (!has_text_section()) {