2 * Copyright 2012, Alex Smith, alex@alex-smith.me.uk.
3 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
4 * Distributed under the terms of the MIT License.
6 #ifndef DISASSEMBLER_X86_64_H
7 #define DISASSEMBLER_X86_64_H
15 class InstructionInfo
;
18 class DisassemblerX8664
{
21 virtual ~DisassemblerX8664();
23 virtual status_t
Init(target_addr_t address
, const void* code
,
26 virtual status_t
GetNextInstruction(BString
& line
,
27 target_addr_t
& _address
,
29 bool& _breakpointAllowed
);
30 virtual status_t
GetPreviousInstruction(
31 target_addr_t nextAddress
,
32 target_addr_t
& _address
,
33 target_size_t
& _size
);
34 virtual status_t
GetNextInstructionInfo(
35 InstructionInfo
& _info
,
39 target_addr_t
GetInstructionTargetAddress(
40 CpuState
* state
) const;
45 target_addr_t fAddress
;
52 #endif // DISASSEMBLER_X86_64_H