ReactOS 0.4.15-dev-8417-gb6b82fe
dis-asm.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  disassemble_info
 

Macros

#define INSN_HAS_RELOC   0x80000000
 
#define INIT_DISASSEMBLE_INFO(INFO, STREAM, FPRINTF_FUNC)
 
#define INIT_DISASSEMBLE_INFO_NO_ARCH(INFO, STREAM, FPRINTF_FUNC)
 

Typedefs

typedef int fprintf_ftype PARAMS((PTR, const char *,...))
 
typedef struct disassemble_info disassemble_info
 

Enumerations

enum  dis_insn_type {
  dis_noninsn , dis_nonbranch , dis_branch , dis_condbranch ,
  dis_jsr , dis_condjsr , dis_dref , dis_dref2
}
 

Functions

int print_insn_big_mips PARAMS ((bfd_vma, disassemble_info *))
 
disassembler_ftype arc_get_disassembler PARAMS ((void *))
 
void print_mips_disassembler_options PARAMS ((FILE *))
 
void parse_arm_disassembler_option PARAMS ((char *))
 
int get_arm_regname_num_options PARAMS ((void))
 
int set_arm_regname_option PARAMS ((int))
 
int get_arm_regnames PARAMS ((int, const char **, const char **, const char ***))
 
int buffer_read_memory PARAMS ((bfd_vma, bfd_byte *, unsigned int, struct disassemble_info *))
 
void perror_memory PARAMS ((int, bfd_vma, struct disassemble_info *))
 
void generic_print_address PARAMS ((bfd_vma, struct disassemble_info *))
 

Macro Definition Documentation

◆ INIT_DISASSEMBLE_INFO

#define INIT_DISASSEMBLE_INFO (   INFO,
  STREAM,
  FPRINTF_FUNC 
)
Value:
(INFO).arch = bfd_arch_unknown, \
(INFO).mach = 0, \
(INFO).insn_sets = 0, \
(INFO).endian = BFD_ENDIAN_UNKNOWN, \
(INFO).octets_per_byte = 1, \
INIT_DISASSEMBLE_INFO_NO_ARCH(INFO, STREAM, FPRINTF_FUNC)
#define INFO
Definition: debug.h:89
@ bfd_target_unknown_flavour
Definition: i386-dis.c:18
@ BFD_ENDIAN_UNKNOWN
Definition: i386-dis.c:26
Definition: precomp.h:84
Definition: parse.h:23

Definition at line 290 of file dis-asm.h.

◆ INIT_DISASSEMBLE_INFO_NO_ARCH

#define INIT_DISASSEMBLE_INFO_NO_ARCH (   INFO,
  STREAM,
  FPRINTF_FUNC 
)
Value:
(INFO).fprintf_func = (fprintf_ftype)(FPRINTF_FUNC), \
(INFO).stream = (PTR)(STREAM), \
(INFO).section = NULL, \
(INFO).symbols = NULL, \
(INFO).num_symbols = 0, \
(INFO).private_data = NULL, \
(INFO).buffer = NULL, \
(INFO).buffer_vma = 0, \
(INFO).buffer_length = 0, \
(INFO).read_memory_func = buffer_read_memory, \
(INFO).memory_error_func = perror_memory, \
(INFO).print_address_func = generic_print_address, \
(INFO).symbol_at_address_func = generic_symbol_at_address, \
(INFO).flags = 0, \
(INFO).bytes_per_line = 0, \
(INFO).bytes_per_chunk = 0, \
(INFO).display_endian = BFD_ENDIAN_UNKNOWN, \
(INFO).disassembler_options = NULL, \
(INFO).insn_info_valid = 0
#define NULL
Definition: types.h:112
GLuint buffer
Definition: glext.h:5915
#define PTR
Definition: i386-dis.c:15
Definition: parser.c:56

Definition at line 304 of file dis-asm.h.

◆ INSN_HAS_RELOC

#define INSN_HAS_RELOC   0x80000000

Definition at line 102 of file dis-asm.h.

Typedef Documentation

◆ disassemble_info

◆ PARAMS

int generic_symbol_at_address PARAMS

Definition at line 37 of file dis-asm.h.

Enumeration Type Documentation

◆ dis_insn_type

Enumerator
dis_noninsn 
dis_nonbranch 
dis_branch 
dis_condbranch 
dis_jsr 
dis_condjsr 
dis_dref 
dis_dref2 

Definition at line 39 of file dis-asm.h.

39 {
40 dis_noninsn, /* Not a valid instruction */
41 dis_nonbranch, /* Not a branch instruction */
42 dis_branch, /* Unconditional branch */
43 dis_condbranch, /* Conditional branch */
44 dis_jsr, /* Jump to subroutine */
45 dis_condjsr, /* Conditional jump to subroutine */
46 dis_dref, /* Data reference instruction */
47 dis_dref2 /* Two data references in instruction */
48};
@ dis_dref2
Definition: dis-asm.h:47
@ dis_dref
Definition: dis-asm.h:46
@ dis_noninsn
Definition: dis-asm.h:40
@ dis_nonbranch
Definition: dis-asm.h:41
@ dis_condbranch
Definition: dis-asm.h:43
@ dis_jsr
Definition: dis-asm.h:44
@ dis_condjsr
Definition: dis-asm.h:45
@ dis_branch
Definition: dis-asm.h:42

Function Documentation

◆ PARAMS() [1/10]

int buffer_read_memory PARAMS ( (bfd_vma, bfd_byte *, unsigned int, struct disassemble_info *)  )

◆ PARAMS() [2/10]

int print_insn_big_mips PARAMS ( (bfd_vma, disassemble_info *)  )

◆ PARAMS() [3/10]

void generic_print_address PARAMS ( (bfd_vma, struct disassemble_info *)  )

◆ PARAMS() [4/10]

void parse_arm_disassembler_option PARAMS ( (char *)  )

◆ PARAMS() [5/10]

void print_mips_disassembler_options PARAMS ( (FILE *)  )

◆ PARAMS() [6/10]

int set_arm_regname_option PARAMS ( (int )

◆ PARAMS() [7/10]

void perror_memory PARAMS ( (int, bfd_vma, struct disassemble_info *)  )

◆ PARAMS() [8/10]

int get_arm_regnames PARAMS ( (int, const char **, const char **, const char ***)  )

◆ PARAMS() [9/10]

disassembler_ftype arc_get_disassembler PARAMS ( (void *)  )

◆ PARAMS() [10/10]

int get_arm_regname_num_options PARAMS ( (void )