miasm
Reverse engineering framework
miasm.core.bin_stream_ida.bin_stream_ida Class Reference
Inheritance diagram for miasm.core.bin_stream_ida.bin_stream_ida:
Collaboration diagram for miasm.core.bin_stream_ida.bin_stream_ida:

Public Member Functions

def readbs (self, l=1)
 
def __str__ (self)
 
def setoffset (self, val)
 
def getlen (self)
 
- Public Member Functions inherited from miasm.core.bin_stream.bin_stream_str
def __init__ (self, input_str=b"", offset=0, base_address=0, shift=None)
 
def __bytes__ (self)
 
- Public Member Functions inherited from miasm.core.bin_stream.bin_stream
def __init__ (self, *args, **kargs)
 
def __repr__ (self)
 
def hexdump (self, offset, l)
 
def enter_atomic_mode (self)
 
def leave_atomic_mode (self)
 
def getbytes (self, start, l=1)
 
def getbits (self, start, n)
 
def get_u8 (self, addr, endianness=None)
 
def get_u16 (self, addr, endianness=None)
 
def get_u32 (self, addr, endianness=None)
 
def get_u64 (self, addr, endianness=None)
 

Public Attributes

 offset
 
- Public Attributes inherited from miasm.core.bin_stream.bin_stream_str
 bin
 
 offset
 
 base_address
 
 l
 
- Public Attributes inherited from miasm.core.bin_stream.bin_stream
 endianness
 

Additional Inherited Members

- Static Public Attributes inherited from miasm.core.bin_stream.bin_stream
int CACHE_SIZE = 10000
 

Detailed Description

bin_stream implementation for IDA

Don't generate xrange using address computation:
It can raise error on overflow 7FFFFFFF with 32 bit python

Member Function Documentation

◆ __str__()

def miasm.core.bin_stream_ida.bin_stream_ida.__str__ (   self)

Reimplemented from miasm.core.bin_stream.bin_stream.

◆ getlen()

def miasm.core.bin_stream_ida.bin_stream_ida.getlen (   self)

Reimplemented from miasm.core.bin_stream.bin_stream_str.

Here is the caller graph for this function:

◆ readbs()

def miasm.core.bin_stream_ida.bin_stream_ida.readbs (   self,
  l = 1 
)

Reimplemented from miasm.core.bin_stream.bin_stream_str.

Here is the call graph for this function:

◆ setoffset()

def miasm.core.bin_stream_ida.bin_stream_ida.setoffset (   self,
  val 
)

Member Data Documentation

◆ offset

miasm.core.bin_stream_ida.bin_stream_ida.offset

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