Package bap :: Module bir :: Class Project
[hide private]
[frames] | no frames]

Class Project

source code

object --+    
         |    
   adt.ADT --+
             |
            Project

A collection of data associated with a disassembled program

Instance Methods [hide private]

Inherited from adt.ADT: __cmp__, __init__, __repr__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]
  attrs
A dictionary of attributes that are global to a project.
  memmap
a mapping from memory regions to arbitrary attributes.
  program
a program in BAP Intermediate Representation (BIR)
  sections
code and data sections of a file.

Inherited from object: __class__

Property Details [hide private]

attrs

A dictionary of attributes that are global to a project.

Example: >>> file = proj.attrs['filename']

Get Method:
unreachable.attrs(self) - A dictionary of attributes that are global to a project.

memmap

a mapping from memory regions to arbitrary attributes.

Some facts may be discovered about a particular memory region and attributed to it.

Get Method:
unreachable.memmap(self) - a mapping from memory regions to arbitrary attributes.

program

a program in BAP Intermediate Representation (BIR)

Get Method:
unreachable.program(self) - a program in BAP Intermediate Representation (BIR)

sections

code and data sections of a file.

Often a binary is split into several named sections. This is the mapping from names (that varies by particular, underlying file format, and data, that represents the section)

Example:

>>> code = proj.sections['.text']
Get Method:
unreachable.sections(self) - code and data sections of a file.