summaryrefslogtreecommitdiffstats
path: root/courgette/disassembler_win32_x86.cc
diff options
context:
space:
mode:
Diffstat (limited to 'courgette/disassembler_win32_x86.cc')
-rw-r--r--courgette/disassembler_win32_x86.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/courgette/disassembler_win32_x86.cc b/courgette/disassembler_win32_x86.cc
index eeb17ec..f182062 100644
--- a/courgette/disassembler_win32_x86.cc
+++ b/courgette/disassembler_win32_x86.cc
@@ -15,6 +15,10 @@
#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)
@@ -185,7 +189,7 @@ bool DisassemblerWin32X86::ParseHeader() {
ReduceLength(detected_length);
if (!is_32bit()) {
- return Bad("64 bit executables are not supported by this disassembler");
+ return Bad("64 bit executables are not yet supported");
}
if (!has_text_section()) {