miasm
Reverse engineering framework
mn_bcc.Test_BCC Class Reference
Inheritance diagram for mn_bcc.Test_BCC:
Collaboration diagram for mn_bcc.Test_BCC:

Public Member Functions

def check (self)
 
- Public Member Functions inherited from asm_test.Asm_Test
def __init__ (self, jitter)
 
def __call__ (self)
 
def asm (self)
 
def run (self)
 
def __init__ (self, jitter)
 
def __call__ (self)
 
def asm (self)
 
def run (self)
 
def __init__ (self, jitter_engine)
 
def test_init (self)
 
def prepare (self)
 
def __call__ (self)
 
def run (self)
 
def asm (self)
 

Static Public Attributes

string MYSTRING = "test string"
 
string TXT
 
- Static Public Attributes inherited from asm_test.Asm_Test
int run_addr = 0x0
 

Additional Inherited Members

- Public Attributes inherited from asm_test.Asm_Test
 loc_db
 
 myjit
 
 assembly
 

Member Function Documentation

◆ check()

def mn_bcc.Test_BCC.check (   self)

Reimplemented from asm_test.Asm_Test.

Here is the call graph for this function:

Member Data Documentation

◆ MYSTRING

string mn_bcc.Test_BCC.MYSTRING = "test string"
static

◆ TXT

string mn_bcc.Test_BCC.TXT
static
Initial value:
= '''
main:
ADDIU A0, V0, mystr
strlen:
LBU V0, 0(A0)
BEQ V0, ZERO, SKIP
ADDU V1, ZERO, ZERO
loop:
ADDIU A0, A0, 1
LBU V0, 0(A0)
BNE V0, ZERO, loop
ADDIU V1, V1, 1
SKIP:
JR RA
ADDU V0, V1, ZERO
mystr:
.string "%s"
''' % MYSTRING

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