Back to index

cell-binutils  2.17cvs20070401
dis-init.c File Reference
#include "sysdep.h"
#include "dis-asm.h"
#include "bfd.h"

Go to the source code of this file.


void init_disassemble_info (struct disassemble_info *info, void *stream, fprintf_ftype fprintf_func)

Function Documentation

void init_disassemble_info ( struct disassemble_info info,
void *  stream,
fprintf_ftype  fprintf_func 

Definition at line 25 of file dis-init.c.

  memset (info, 0, sizeof (*info));

  info->flavour = bfd_target_unknown_flavour;
  info->arch = bfd_arch_unknown;
  info->endian = BFD_ENDIAN_UNKNOWN;
  info->octets_per_byte = 1;
  info->fprintf_func = fprintf_func;
  info->stream = stream;
  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->symbol_is_valid = generic_symbol_is_valid;
  info->display_endian = BFD_ENDIAN_UNKNOWN;

Here is the call graph for this function:

Here is the caller graph for this function: