LLScriptLSOParse Class Reference

#include <lscript_readlso.h>

List of all members.

Public Member Functions

 LLScriptLSOParse (LLFILE *fp)
 LLScriptLSOParse (U8 *buffer)
 ~LLScriptLSOParse ()
void initOpCodePrinting ()
void printData (LLFILE *fp)
void printNameDesc (LLFILE *fp)
void printRegisters (LLFILE *fp)
void printGlobals (LLFILE *fp)
void printGlobalFunctions (LLFILE *fp)
void printStates (LLFILE *fp)
void printHeap (LLFILE *fp)
void printOpCodes (LLFILE *fp, S32 &offset, S32 tabs)
void printOpCodeRange (LLFILE *fp, S32 start, S32 end, S32 tabs)

Public Attributes

U8mRawData
void(* mPrintOpCodes [0x100])(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)


Detailed Description

Definition at line 144 of file lscript_readlso.h.


Constructor & Destructor Documentation

LLScriptLSOParse::LLScriptLSOParse ( LLFILE fp  ) 

Definition at line 38 of file lscript_readlso.cpp.

References bytestream2integer(), initOpCodePrinting(), llendl, llwarns, mRawData, and S32.

Here is the call graph for this function:

LLScriptLSOParse::LLScriptLSOParse ( U8 buffer  ) 

Definition at line 60 of file lscript_readlso.cpp.

References initOpCodePrinting(), and mRawData.

Here is the call graph for this function:

LLScriptLSOParse::~LLScriptLSOParse (  ) 

Definition at line 66 of file lscript_readlso.cpp.

References mRawData.


Member Function Documentation

void LLScriptLSOParse::initOpCodePrinting (  ) 

Definition at line 678 of file lscript_readlso.cpp.

References i, LOPC_ADD, LOPC_BITAND, LOPC_BITNOT, LOPC_BITOR, LOPC_BITXOR, LOPC_BOOLAND, LOPC_BOOLNOT, LOPC_BOOLOR, LOPC_CALL, LOPC_CALLLIB, LOPC_CALLLIB_TWO_BYTE, LOPC_CAST, LOPC_DIV, LOPC_DUP, LOPC_DUPL, LOPC_DUPQ, LOPC_DUPS, LOPC_DUPV, LOPC_EQ, LOPC_GEQ, LOPC_GREATER, LOPC_JUMP, LOPC_JUMPIF, LOPC_JUMPNIF, LOPC_LEQ, LOPC_LESS, LOPC_LOADGLP, LOPC_LOADGP, LOPC_LOADGQP, LOPC_LOADGSP, LOPC_LOADGVP, LOPC_LOADLP, LOPC_LOADP, LOPC_LOADQP, LOPC_LOADSP, LOPC_LOADVP, LOPC_MOD, LOPC_MUL, LOPC_NEG, LOPC_NEQ, LOPC_NOOP, LOPC_POP, LOPC_POPARG, LOPC_POPBP, LOPC_POPIP, LOPC_POPL, LOPC_POPQ, LOPC_POPS, LOPC_POPSLR, LOPC_POPSP, LOPC_POPV, LOPC_PRINT, LOPC_PUSH, LOPC_PUSHARGB, LOPC_PUSHARGE, LOPC_PUSHARGF, LOPC_PUSHARGI, LOPC_PUSHARGQ, LOPC_PUSHARGS, LOPC_PUSHARGV, LOPC_PUSHBP, LOPC_PUSHE, LOPC_PUSHEQ, LOPC_PUSHEV, LOPC_PUSHG, LOPC_PUSHGL, LOPC_PUSHGQ, LOPC_PUSHGS, LOPC_PUSHGV, LOPC_PUSHIP, LOPC_PUSHL, LOPC_PUSHQ, LOPC_PUSHS, LOPC_PUSHSP, LOPC_PUSHV, LOPC_RETURN, LOPC_SHL, LOPC_SHR, LOPC_STACKTOL, LOPC_STACKTOS, LOPC_STATE, LOPC_STORE, LOPC_STOREG, LOPC_STOREGL, LOPC_STOREGQ, LOPC_STOREGS, LOPC_STOREGV, LOPC_STOREL, LOPC_STOREQ, LOPC_STORES, LOPC_STOREV, LOPC_SUB, LSCRIPTOpCodes, mPrintOpCodes, print_add(), print_bitand(), print_bitnot(), print_bitor(), print_bitxor(), print_booland(), print_boolnot(), print_boolor(), print_call(), print_calllib(), print_calllib_two_byte(), print_cast(), print_div(), print_dup(), print_dupl(), print_dupq(), print_dups(), print_dupv(), print_eq(), print_geq(), print_greater(), print_jump(), print_jumpif(), print_jumpnif(), print_leq(), print_less(), print_loadglp(), print_loadgp(), print_loadgqp(), print_loadgsp(), print_loadgvp(), print_loadlp(), print_loadp(), print_loadqp(), print_loadsp(), print_loadvp(), print_mod(), print_mul(), print_neg(), print_neq(), print_noop(), print_pop(), print_poparg(), print_popbp(), print_popip(), print_popl(), print_popq(), print_pops(), print_popslr(), print_popsp(), print_popv(), print_print(), print_push(), print_pushargb(), print_pusharge(), print_pushargf(), print_pushargi(), print_pushargq(), print_pushargs(), print_pushargv(), print_pushbp(), print_pushe(), print_pusheq(), print_pushev(), print_pushg(), print_pushgl(), print_pushgq(), print_pushgs(), print_pushgv(), print_puship(), print_pushl(), print_pushq(), print_pushs(), print_pushsp(), print_pushv(), print_return(), print_shl(), print_shr(), print_stacktol(), print_stacktos(), print_state(), print_store(), print_storeg(), print_storegl(), print_storegq(), print_storegs(), print_storegv(), print_storel(), print_storeq(), print_stores(), print_storev(), print_sub(), and S32.

Referenced by LLScriptLSOParse().

Here is the caller graph for this function:

void LLScriptLSOParse::printData ( LLFILE fp  ) 

Definition at line 71 of file lscript_readlso.cpp.

References printGlobalFunctions(), printGlobals(), printHeap(), printNameDesc(), printRegisters(), and printStates().

Referenced by lscript_run().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLScriptLSOParse::printNameDesc ( LLFILE fp  ) 

Definition at line 89 of file lscript_readlso.cpp.

Referenced by printData().

Here is the caller graph for this function:

void LLScriptLSOParse::printRegisters ( LLFILE fp  ) 

Definition at line 96 of file lscript_readlso.cpp.

References get_register(), get_register_u64(), gLSCRIPTRegisterNames, gMajorVersion, i, LREG_EOF, LREG_IP, LREG_NCE, LREG_VN, LSL2_MAJOR_VERSION_ONE, LSL2_MAJOR_VERSION_TWO, LSL2_VERSION1_END_NUMBER, LSL2_VERSION_NUMBER, mRawData, and S32.

Referenced by printData().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLScriptLSOParse::printGlobals ( LLFILE fp  ) 

Definition at line 128 of file lscript_readlso.cpp.

References bytestream2char(), bytestream2float(), bytestream2integer(), bytestream2quaternion(), bytestream2vector(), get_register(), LREG_GFR, LREG_GVR, LREG_HR, LST_FLOATINGPOINT, LST_INTEGER, LST_KEY, LST_LIST, LST_QUATERNION, LST_STRING, LST_VECTOR, LLQuaternion::mQ, mRawData, LLVector3::mV, S32, VS, VX, VY, and VZ.

Referenced by printData().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLScriptLSOParse::printGlobalFunctions ( LLFILE fp  ) 

Definition at line 198 of file lscript_readlso.cpp.

References bytestream2char(), bytestream2integer(), get_register(), i, LREG_GFR, LREG_SR, LSCRIPTTypeNames, mRawData, printOpCodeRange(), and S32.

Referenced by printData().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLScriptLSOParse::printStates ( LLFILE fp  ) 

void LLScriptLSOParse::printHeap ( LLFILE fp  ) 

Definition at line 640 of file lscript_readlso.cpp.

References get_register(), LREG_HP, LREG_HR, lsa_fprint_heap(), mRawData, and S32.

Referenced by printData().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLScriptLSOParse::printOpCodes ( LLFILE fp,
S32 offset,
S32  tabs 
)

Definition at line 664 of file lscript_readlso.cpp.

References mPrintOpCodes, and mRawData.

Referenced by printOpCodeRange().

Here is the caller graph for this function:

void LLScriptLSOParse::printOpCodeRange ( LLFILE fp,
S32  start,
S32  end,
S32  tabs 
)

Definition at line 670 of file lscript_readlso.cpp.

References printOpCodes().

Referenced by printGlobalFunctions(), and printStates().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

void(* LLScriptLSOParse::mPrintOpCodes[0x100])(LLFILE *fp, U8 *buffer, S32 &offset, S32 tabs)

Referenced by initOpCodePrinting(), and printOpCodes().


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

Generated on Fri May 16 09:02:12 2008 for SecondLife by  doxygen 1.5.5