UnivesalDisassembler(2003)

DecoderInfo Struct Reference

Parameters for decoder. More...

#include <decoder.h>

List of all members.

Public Member Functions

 DecoderInfo ()
 Creates default parameters.
 DecoderInfo (const DecoderInfo &decinfo)
DecoderInfooperator= (const DecoderInfo &decinfo)
DecoderInfoassign (const DecoderInfo &decinfo)

Public Attributes

Sectionsection
 decoded section
BinaryFilebinfile
 binary file with all sections
Address start
 starting address (default=0)
Address stop
 stopping address (it is not decoded) (default=0)
unsigned size
 size in bytes to decode (default=0)
bool print
 print to standart output (default=true)
bool address
 print address (default=true)
bool hexdump
 print hex dump (default=true)
bool symbolic
 print symbolic instruction (default=true)
bool onlyname
 in symbolic address print only symbolic name (default=false)
bool scanaddress
 scan immediate data for addresses (default=true)

Detailed Description

Parameters for decoder.

Definition at line 40 of file decoder.h.


Constructor & Destructor Documentation

DecoderInfo::DecoderInfo ( )

Creates default parameters.

Default parameters for decoder.

Definition at line 27 of file decoder.cc.

DecoderInfo::DecoderInfo ( const DecoderInfo decinfo) [inline]

Definition at line 65 of file decoder.h.

References assign().


Member Function Documentation

DecoderInfo & DecoderInfo::assign ( const DecoderInfo decinfo)

Definition at line 42 of file decoder.cc.

References address, binfile, hexdump, onlyname, print, scanaddress, section, size, start, stop, and symbolic.

Referenced by DecoderInfo(), and operator=().

DecoderInfo& DecoderInfo::operator= ( const DecoderInfo decinfo) [inline]

Definition at line 66 of file decoder.h.

References assign().


Member Data Documentation

print address (default=true)

Definition at line 54 of file decoder.h.

Referenced by assign(), and main().

print hex dump (default=true)

Definition at line 56 of file decoder.h.

Referenced by assign(), and main().

print to standart output (default=true)

Definition at line 52 of file decoder.h.

Referenced by assign(), Decoder::Decode(), disasm_section(), and main().

scan immediate data for addresses (default=true)

Definition at line 62 of file decoder.h.

Referenced by assign().

decoded section

Definition at line 42 of file decoder.h.

Referenced by assign(), Decoder::Decode(), and disasm_section().

size in bytes to decode (default=0)

Definition at line 50 of file decoder.h.

Referenced by assign(), Decoder::Decode(), and main().

starting address (default=0)

Definition at line 46 of file decoder.h.

Referenced by assign(), Decoder::Decode(), and main().

stopping address (it is not decoded) (default=0)

Definition at line 48 of file decoder.h.

Referenced by assign(), Decoder::Decode(), and main().

print symbolic instruction (default=true)

Definition at line 58 of file decoder.h.

Referenced by assign(), and main().


The documentation for this struct was generated from the following files: