Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

debug.h File Reference

Go to the source code of this file.

Defines

#define CHECK_IP_FETCH_F   0x1
#define CHECK_SP_ACCESS_F   0x2
#define CHECK_MEM_ACCESS_F   0x4 /*using regular linear pointer */
#define CHECK_DATA_ACCESS_F   0x8 /*using segment:offset*/
#define CHECK_IP_FETCH()
#define CHECK_SP_ACCESS()
#define CHECK_MEM_ACCESS()
#define CHECK_DATA_ACCESS()
#define DEBUG_INSTRUMENT()   0
#define DEBUG_DECODE()   0
#define DEBUG_TRACE()   0
#define DEBUG_STEP()   0
#define DEBUG_DISASSEMBLE()   0
#define DEBUG_BREAK()   0
#define DEBUG_SVC()   0
#define DEBUG_SAVE_IP_CS()   0
#define DEBUG_FS()   0
#define DEBUG_PROC()   0
#define DEBUG_SYSINT()   0
#define DEBUG_TRACECALL()   0
#define DEBUG_TRACECALLREGS()   0
#define DEBUG_SYS()   0
#define DEBUG_MEM_TRACE()   0
#define DEBUG_IO_TRACE()   0
#define DEBUG_DECODE_NOPRINT()   0
#define INC_DECODED_INST_LEN(x)
#define DECODE_PRINTF(x)
#define DECODE_PRINTF2(x, y)
#define SAVE_IP_CS(x, y)
#define TRACE_REGS()
#define SINGLE_STEP()
#define TRACE_AND_STEP()
#define START_OF_INSTR()
#define END_OF_INSTR()
#define END_OF_INSTR_NO_TRACE()
#define CALL_TRACE(u, v, w, x, s)
#define RETURN_TRACE(n, u, v)
#define DB(x)

Functions

void x86emu_inc_decoded_inst_len (int x)
void x86emu_decode_printf (char *x)
void x86emu_decode_printf2 (char *x, int y)
void x86emu_just_disassemble (void)
void x86emu_single_step (void)
void x86emu_end_instr (void)
void x86emu_dump_regs (void)
void x86emu_dump_xregs (void)
void x86emu_print_int_vect (u16 iv)
void x86emu_instrument_instruction (void)
void x86emu_check_ip_access (void)
void x86emu_check_sp_access (void)
void x86emu_check_mem_access (u32 p)
void x86emu_check_data_access (uint s, uint o)


Define Documentation

#define CALL_TRACE u,
v,
w,
x,
 ) 
 

 
#define CHECK_DATA_ACCESS  ) 
 

#define CHECK_DATA_ACCESS_F   0x8 /*using segment:offset*/
 

 
#define CHECK_IP_FETCH  ) 
 

#define CHECK_IP_FETCH_F   0x1
 

 
#define CHECK_MEM_ACCESS  ) 
 

#define CHECK_MEM_ACCESS_F   0x4 /*using regular linear pointer */
 

 
#define CHECK_SP_ACCESS  ) 
 

#define CHECK_SP_ACCESS_F   0x2
 

#define DB  ) 
 

 
#define DEBUG_BREAK  )     0
 

 
#define DEBUG_DECODE  )     0
 

 
#define DEBUG_DECODE_NOPRINT  )     0
 

 
#define DEBUG_DISASSEMBLE  )     0
 

 
#define DEBUG_FS  )     0
 

 
#define DEBUG_INSTRUMENT  )     0
 

 
#define DEBUG_IO_TRACE  )     0
 

 
#define DEBUG_MEM_TRACE  )     0
 

 
#define DEBUG_PROC  )     0
 

 
#define DEBUG_SAVE_IP_CS  )     0
 

 
#define DEBUG_STEP  )     0
 

 
#define DEBUG_SVC  )     0
 

 
#define DEBUG_SYS  )     0
 

 
#define DEBUG_SYSINT  )     0
 

 
#define DEBUG_TRACE  )     0
 

 
#define DEBUG_TRACECALL  )     0
 

 
#define DEBUG_TRACECALLREGS  )     0
 

#define DECODE_PRINTF  ) 
 

#define DECODE_PRINTF2 x,
 ) 
 

 
#define END_OF_INSTR  ) 
 

 
#define END_OF_INSTR_NO_TRACE  ) 
 

#define INC_DECODED_INST_LEN  ) 
 

#define RETURN_TRACE n,
u,
 ) 
 

#define SAVE_IP_CS x,
 ) 
 

 
#define SINGLE_STEP  ) 
 

 
#define START_OF_INSTR  ) 
 

 
#define TRACE_AND_STEP  ) 
 

Value:

 
#define TRACE_REGS  ) 
 


Function Documentation

void x86emu_check_data_access uint  s,
uint  o
 

void x86emu_check_ip_access void   ) 
 

void x86emu_check_mem_access u32  p  ) 
 

void x86emu_check_sp_access void   ) 
 

void x86emu_decode_printf char *  x  ) 
 

void x86emu_decode_printf2 char *  x,
int  y
 

void x86emu_dump_regs void   ) 
 

void x86emu_dump_xregs void   ) 
 

void x86emu_end_instr void   ) 
 

void x86emu_inc_decoded_inst_len int  x  ) 
 

void x86emu_instrument_instruction void   ) 
 

void x86emu_just_disassemble void   ) 
 

void x86emu_print_int_vect u16  iv  ) 
 

void x86emu_single_step void   )