/*
- * util.c: Assorted utilities for the dissasembler
+ * util.c: Assorted utilities for the disassembler
*
* Author:
* Miguel de Icaza (miguel@ximian.com)
* Warning: returns static buffer.
*/
const char *
-map (guint32 code, map_t *table)
+map (guint32 code, dis_map_t *table)
{
int i;
* Warning: returns static buffer.
*/
const char *
-flags (guint32 code, map_t *table)
+flags (guint32 code, dis_map_t *table)
{
static char buffer [1024];
int i;
for (i = 0; i < count; i++){
if (show_header)
if ((i % 16) == 0)
- printf ("\n0x%08x: ", (unsigned char) base + i);
+ printf ("\n0x%08X: ", (unsigned char) base + i);
- printf ("%02x ", (unsigned char) (buffer [i]));
+ printf ("%02X ", (unsigned char) (buffer [i]));
}
fflush (stdout);
}