* Cleaned up M68KDisassembler.h with legacy stuff from Musashi which isn't used at all.
* Removed M68KConf.h which isn't needed anymore.
* Made some functions static as they are now only local to the current file.
Avoid reading bytes outside of the code section.
Trick by returning bad data (illegal instruction) to force capstone to skip data.
Signed-off-by: Nicolas PLANEL <nplanel@gmail.com>
Implementation is done by adding cs_m68k extension field in m68k_info.
The private m68k_info structure is allocated in M68K_getInstruction() (disassembly)
and free (if no error) by M68K_printInst() (printer).
Signed-off-by: Nicolas PLANEL <nplanel@gmail.com>
Remove the last global bytes :
static uint8_t* s_disassemblyBuffer;
static uint32_t s_baseAddress;
Introduce private struct m68k_info on the heap for future use.
Signed-off-by: Nicolas PLANEL <nplanel@gmail.com>