wud.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "uctools.h"

Include dependency graph for wud.c:

Go to the source code of this file.

Functions

void printdataseg (FILE *f, unsigned int ds)
unsigned int print_opcode (unsigned char *ptrc, unsigned int coffset, unsigned char *pdataseg, unsigned short *pextern, unsigned int externsize, const char **func_table, int funsize)
void printcodeseg (FILE *f, unsigned int ds, unsigned int s, const char **func_table, int funsize, int extended)
void printfunc (FILE *f, long func, int i, const char **func_table, int funsize)
int main (int argc, char **argv)


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 324 of file wud.c.

References bg_intrinsic_size, bg_intrinsic_table, func_table, printfunc(), si_intrinsic_size, and si_intrinsic_table.

Here is the call graph for this function:

unsigned int print_opcode ( unsigned char *  ptrc,
unsigned int  coffset,
unsigned char *  pdataseg,
unsigned short *  pextern,
unsigned int  externsize,
const char **  func_table,
int  funsize 
)

Definition at line 52 of file wud.c.

References _opcode_desc::mnemonic, _opcode_desc::nbytes, opcode_table, and _opcode_desc::type.

void printcodeseg ( FILE *  f,
unsigned int  ds,
unsigned int  s,
const char **  func_table,
int  funsize,
int  extended 
)

Definition at line 205 of file wud.c.

References offset, print_opcode(), and size.

Referenced by printfunc().

Here is the call graph for this function:

void printdataseg ( FILE *  f,
unsigned int  ds 
)

Definition at line 7 of file wud.c.

References len.

Referenced by printfunc().

void printfunc ( FILE *  f,
long  func,
int  i,
const char **  func_table,
int  funsize 
)

Definition at line 280 of file wud.c.

References extended, funcnum, printcodeseg(), printdataseg(), and s.

Referenced by main().

Here is the call graph for this function:


Generated on Mon Jul 9 14:45:50 2007 for ExultEngine by  doxygen 1.5.1