Dalvik debugger extension functions

// Get local variable or function argument value // name - variable name ("v0", "v1", ... or user defined name) auto dalvik_get_local(string name);

// Get typed local variable value // name - variable name ("v0", "v1", ... or user defined name) // wanted_type - Java VM's representation of type signature auto dalvik_get_local_typed(string name, string wanted_type);

// Get object instance field value // oid - object id // name - object field name auto dalvik_get_instance_fld(int64 oid, string name);

// Get number or array elements // oid - array object id long dalvik_get_array_size(int64 oid);

// Get array element by index // oid - object id // idx - element index auto dalvik_get_array_elem(int64 oid, long idx);

// ---------------------------------------------------------------------------- // Low-level functions providing access to (parts of) the Java(tm) Debug Wire // Protocol (JDWP). These functions try to follow the interface of // https://docs.oracle.com/javase/8/docs/platform/jpda/jdwp/jdwp-protocol.htmlarrow-up-right

// https://docs.oracle.com/javase/8/docs/platform/jpda/jdwp/jdwp-protocol.html#JDWP_VirtualMachine_Versionarrow-up-right

// https://docs.oracle.com/javase/8/docs/platform/jpda/jdwp/jdwp-protocol.html#JDWP_VirtualMachine_ClassesBySignaturearrow-up-right

// https://docs.oracle.com/javase/8/docs/platform/jpda/jdwp/jdwp-protocol.html#JDWP_VirtualMachine_AllClassesarrow-up-right

// https://docs.oracle.com/javase/8/docs/platform/jpda/jdwp/jdwp-protocol.html#JDWP_VirtualMachine_AllThreadsarrow-up-right

// https://docs.oracle.com/javase/8/docs/platform/jpda/jdwp/jdwp-protocol.html#JDWP_VirtualMachine_IDSizesarrow-up-right

// https://docs.oracle.com/javase/8/docs/platform/jpda/jdwp/jdwp-protocol.html#JDWP_ReferenceType_Signaturearrow-up-right

// https://docs.oracle.com/javase/8/docs/platform/jpda/jdwp/jdwp-protocol.html#JDWP_ReferenceType_Methodsarrow-up-right

// https://docs.oracle.com/javase/8/docs/platform/jpda/jdwp/jdwp-protocol.html#JDWP_ReferenceType_Fieldsarrow-up-right

// https://docs.oracle.com/javase/8/docs/platform/jpda/jdwp/jdwp-protocol.html#JDWP_ReferenceType_NestedTypesarrow-up-right

// https://docs.oracle.com/javase/8/docs/platform/jpda/jdwp/jdwp-protocol.html#JDWP_ReferenceType_SourceFilearrow-up-right

// https://docs.oracle.com/javase/8/docs/platform/jpda/jdwp/jdwp-protocol.html#JDWP_ReferenceType_Instancesarrow-up-right

// https://docs.oracle.com/javase/8/docs/platform/jpda/jdwp/jdwp-protocol.html#JDWP_Method_VariableTablearrow-up-right

// https://docs.oracle.com/javase/8/docs/platform/jpda/jdwp/jdwp-protocol.html#JDWP_Method_Bytecodesarrow-up-right

// https://docs.oracle.com/javase/8/docs/platform/jpda/jdwp/jdwp-protocol.html#JDWP_Method_VariableTableWithGenericarrow-up-right

// https://docs.oracle.com/javase/8/docs/platform/jpda/jdwp/jdwp-protocol.html#JDWP_ObjectReference_ReferenceTypearrow-up-right

// https://docs.oracle.com/javase/8/docs/platform/jpda/jdwp/jdwp-protocol.html#JDWP_StringReference_Valuearrow-up-right

// https://docs.oracle.com/javase/8/docs/platform/jpda/jdwp/jdwp-protocol.html#JDWP_ThreadReference_Framesarrow-up-right

// https://docs.oracle.com/javase/8/docs/platform/jpda/jdwp/jdwp-protocol.html#JDWP_ThreadReference_ThreadGrouparrow-up-right

// https://docs.oracle.com/javase/8/docs/platform/jpda/jdwp/jdwp-protocol.html#JDWP_ArrayReference_Lengtharrow-up-right

// https://docs.oracle.com/javase/8/docs/platform/jpda/jdwp/jdwp-protocol.html#JDWP_ArrayReference_GetValuesarrow-up-right

// https://docs.oracle.com/javase/8/docs/platform/jpda/jdwp/jdwp-protocol.html#JDWP_StackFrame_GetValuesarrow-up-right

Last updated

Was this helpful?