VirtualBox

source: vbox/trunk/src/recompiler/disas.h@ 37012

最後變更 在這個檔案從37012是 36175,由 vboxsync 提交於 14 年 前

rem: Synced up to v0.11.1 (35bfc7324e2e6946c4113ada5db30553a1a7c40b) from git://git.savannah.nongnu.org/qemu.git.

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.1 KB
 
1#ifndef _QEMU_DISAS_H
2#define _QEMU_DISAS_H
3
4#include "qemu-common.h"
5
6/* Disassemble this for me please... (debugging). */
7void disas(FILE *out, void *code, unsigned long size);
8void target_disas(FILE *out, target_ulong code, target_ulong size, int flags);
9
10#ifndef VBOX
11/* The usual mess... FIXME: Remove this condition once dyngen-exec.h is gone */
12#ifndef __DYNGEN_EXEC_H__
13void monitor_disas(Monitor *mon, CPUState *env,
14 target_ulong pc, int nb_insn, int is_physical, int flags);
15#endif
16#endif
17
18/* Look up symbol for debugging purpose. Returns "" if unknown. */
19const char *lookup_symbol(target_ulong orig_addr);
20
21struct syminfo;
22struct elf32_sym;
23struct elf64_sym;
24
25typedef const char *(*lookup_symbol_t)(struct syminfo *s, target_ulong orig_addr);
26
27struct syminfo {
28 lookup_symbol_t lookup_symbol;
29 unsigned int disas_num_syms;
30 union {
31 struct elf32_sym *elf32;
32 struct elf64_sym *elf64;
33 } disas_symtab;
34 const char *disas_strtab;
35 struct syminfo *next;
36};
37
38/* Filled in by elfload.c. Simplistic, but will do for now. */
39extern struct syminfo *syminfos;
40
41#endif /* _QEMU_DISAS_H */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette