UnivesalDisassembler(2003)

BinaryFile Class Reference

Binary File - base of a source file. More...

#include <sections.h>

List of all members.

Public Member Functions

 BinaryFile (string Name)
 ~BinaryFile ()
int Init ()
bool ScanAddress (Address addr)
 true if address is valid in any scanned section (section wich has enabled scanaddress)
void Free ()
 Free all sections.
Sectionoperator[] (const string index)

Public Attributes

BinFileData bfdata
MSections sections

Detailed Description

Binary File - base of a source file.

Definition at line 31 of file sections.h.


Constructor & Destructor Documentation

BinaryFile::BinaryFile ( string  Name)

Definition at line 23 of file sections.cc.

BinaryFile::~BinaryFile ( )

Definition at line 28 of file sections.cc.


Member Function Documentation

void BinaryFile::Free ( )

Free all sections.

Definition at line 61 of file sections.cc.

References debug.

int BinaryFile::Init ( )

Looks for associated plugin and load all sections. Returns number of loaded sections.

Definition at line 34 of file sections.cc.

References plugins.

Referenced by main().

Section & BinaryFile::operator[] ( const string  index)

Definition at line 72 of file sections.cc.

bool BinaryFile::ScanAddress ( Address  addr)

true if address is valid in any scanned section (section wich has enabled scanaddress)

Definition at line 51 of file sections.cc.

Referenced by BuiltinTables::SBId::Decode(), BuiltinTables::BId::Decode(), BuiltinTables::SId::Decode(), and BuiltinTables::Id::Decode().


Member Data Documentation

Definition at line 34 of file sections.h.

Referenced by main().


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