summaryrefslogtreecommitdiffstats
path: root/courgette/disassembler.h
diff options
context:
space:
mode:
Diffstat (limited to 'courgette/disassembler.h')
-rw-r--r--courgette/disassembler.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/courgette/disassembler.h b/courgette/disassembler.h
index fa7c908..bef1a90 100644
--- a/courgette/disassembler.h
+++ b/courgette/disassembler.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -14,21 +14,14 @@ class PEInfo;
class Disassembler {
public:
- // Factory methods for making disassemblers for various kinds of executables.
- // We have only one so far.
-
- static Disassembler* MakeDisassemberWin32X86(PEInfo* pe_info);
+ virtual ~Disassembler() {}
// Disassembles the item passed to the factory method into the output
// parameter 'program'.
virtual bool Disassemble(AssemblyProgram* program) = 0;
- // Deletes 'this' disassembler.
- virtual void Destroy() = 0;
-
protected:
Disassembler() {}
- virtual ~Disassembler() {}
private:
DISALLOW_COPY_AND_ASSIGN(Disassembler);