#include <disassembler.h>
Public Member Functions | |
disassembler_c (void) | |
virtual | ~disassembler_c (void) |
virtual separation_c * | disassemble (const assembly_c *) |
Try to disassemble an assembly. | |
Private Member Functions | |
disassembler_c (const disassembler_c &) | |
void | operator= (const disassembler_c &) |
The interface is simple:
some subclasses may be able to handle several assemblies, others may only disassemble one, that depends on the concrete disassembler you use
disassembler_c::disassembler_c | ( | void | ) | [inline] |
virtual disassembler_c::~disassembler_c | ( | void | ) | [inline, virtual] |
disassembler_c::disassembler_c | ( | const disassembler_c & | ) | [private] |
virtual separation_c* disassembler_c::disassemble | ( | const assembly_c * | ) | [inline, virtual] |
Try to disassemble an assembly.
Because we can only have or don't have a disassembly sequence we don't need the same complicated callback interface. The function returns either the disassembly sequence or a null pointer. you need to take care of freeing the disassembly sequence after doing with it whatever you want
Reimplemented in disassembler_a_c.
Referenced by solveThread_c::assembly().
void disassembler_c::operator= | ( | const disassembler_c & | ) | [private] |