TEMU  3.0
The Terma Emulator
HostDisassembler.h
Go to the documentation of this file.
1 //===------------------------------------------------------------*- C++ -*-===//
2 //
3 // TEMU: The Terma Emulator
4 // (c) Terma 2022
5 // Authors: Mattias Holm <maho (at) terma.com>
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef TEMU_HOST_DISASSEMBLER_H
10 #define TEMU_HOST_DISASSEMBLER_H
11 
12 #include "temu-c/Support/Objsys.h"
13 #include <stdint.h>
14 
15 #define TEMU_DISASSEMBLER_ALTERNATE_SYNTAX UINT64_C(1)
16 #define TEMU_DISASSEMBLER_LATENCY UINT64_C(2)
17 
18 
33 typedef struct {
34  const char *(*disassemble)(void *Obj, const uint8_t *Buffer, size_t BuffSize,
35  uint64_t Flags);
37 
38 #define TEMU_BLOCK_DISASSEMBLER_IFACE_TYPE "temu::BlockDisassemblerIface"
39 TEMU_IFACE_REFERENCE_TYPE(temu_BlockDisassembler);
40 
41 #endif // !TEMU_HOST_DISASSEMBLER_H
42 
TEMU_IFACE_REFERENCE_TYPE(temu_BlockDisassembler)
Definition: HostDisassembler.h:33