miasm
Reverse engineering framework
miasm.analysis.binary.Container Class Reference

Parent class. More...

Inheritance diagram for miasm.analysis.binary.Container:
Collaboration diagram for miasm.analysis.binary.Container:

Public Member Functions

def from_string (cls, data, loc_db, *args, **kwargs)
 
def register_container (cls, container)
 
def register_fallback (cls, container)
 
def from_stream (cls, stream, *args, **kwargs)
 
def parse (self, data, *args, **kwargs)
 
def __init__ (self, data, loc_db, **kwargs)
 
def bin_stream (self)
 
def executable (self)
 
def entry_point (self)
 
def arch (self)
 
def loc_db (self)
 
def symbol_pool (self)
 

Static Public Attributes

list available_container = []
 
 fallback_container = None
 

Detailed Description

Parent class.

Container abstraction layer

This class aims to offer a common interface for abstracting container
such as PE or ELF.

Constructor & Destructor Documentation

◆ __init__()

def miasm.analysis.binary.Container.__init__ (   self,
  data,
  loc_db,
**  kwargs 
)
Here is the call graph for this function:

Member Function Documentation

◆ arch()

def miasm.analysis.binary.Container.arch (   self)

◆ bin_stream()

def miasm.analysis.binary.Container.bin_stream (   self)

◆ entry_point()

def miasm.analysis.binary.Container.entry_point (   self)

◆ executable()

def miasm.analysis.binary.Container.executable (   self)

◆ from_stream()

def miasm.analysis.binary.Container.from_stream (   cls,
  stream,
args,
**  kwargs 
)
Instantiate a container and parse the binary
@stream: stream to use as binary
@vm: (optional) VmMngr instance to link with the executable
@addr: (optional) Base address of the parsed binary. If set,
       force the unknown format

◆ from_string()

def miasm.analysis.binary.Container.from_string (   cls,
  data,
  loc_db,
args,
**  kwargs 
)
Instantiate a container and parse the binary
@data: str containing the binary
@loc_db: LocationDB instance

◆ loc_db()

def miasm.analysis.binary.Container.loc_db (   self)
Here is the caller graph for this function:

◆ parse()

def miasm.analysis.binary.Container.parse (   self,
  data,
args,
**  kwargs 
)
Launch parsing of @data
@data: str containing the binary
Here is the caller graph for this function:

◆ register_container()

def miasm.analysis.binary.Container.register_container (   cls,
  container 
)

◆ register_fallback()

def miasm.analysis.binary.Container.register_fallback (   cls,
  container 
)

◆ symbol_pool()

def miasm.analysis.binary.Container.symbol_pool (   self)
Here is the call graph for this function:

Member Data Documentation

◆ available_container

list miasm.analysis.binary.Container.available_container = []
static

◆ fallback_container

miasm.analysis.binary.Container.fallback_container = None
static

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