miasm
Reverse engineering framework
|
Parent class. More...
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 | |
Parent class.
Container abstraction layer This class aims to offer a common interface for abstracting container such as PE or ELF.
def miasm.analysis.binary.Container.__init__ | ( | self, | |
data, | |||
loc_db, | |||
** | kwargs | ||
) |
def miasm.analysis.binary.Container.arch | ( | self | ) |
def miasm.analysis.binary.Container.bin_stream | ( | self | ) |
def miasm.analysis.binary.Container.entry_point | ( | self | ) |
def miasm.analysis.binary.Container.executable | ( | self | ) |
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
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
def miasm.analysis.binary.Container.loc_db | ( | self | ) |
def miasm.analysis.binary.Container.parse | ( | self, | |
data, | |||
* | args, | ||
** | kwargs | ||
) |
Launch parsing of @data @data: str containing the binary
def miasm.analysis.binary.Container.register_container | ( | cls, | |
container | |||
) |
def miasm.analysis.binary.Container.register_fallback | ( | cls, | |
container | |||
) |
def miasm.analysis.binary.Container.symbol_pool | ( | self | ) |
|
static |
|
static |