Module dvm :: Class DalvikVMFormat
[hide private]
[frames] | no frames]

Class DalvikVMFormat

source code

        object --+    
                 |    
bytecode._Bytecode --+
                     |
                    DalvikVMFormat

Instance Methods [hide private]
 
__init__(self, buff)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
load_class(self) source code
 
show(self)
Show the .class format into a human readable format
source code
string
save(self)
Return the dex (with the modifications) into raw format
source code
 
pretty_show(self, vm_a) source code
 
_iterFlatten(self, root) source code
 
_Exp(self, x) source code
 
_get_raw(self) source code
 
get_classes_names(self)
Return the names of classes
source code
 
get_classes(self) source code
 
get_method(self, name)
Return into a list all methods which corresponds to the regexp
source code
 
get_field(self, name)
Return into a list all fields which corresponds to the regexp
source code
 
get_all_fields(self) source code
 
get_fields(self)
Return all objects fields
source code
 
get_methods(self)
Return all objects methods
source code
 
get_len_methods(self) source code
 
get_method_descriptor(self, class_name, method_name, descriptor)
Return the specific method
source code
 
get_methods_class(self, class_name)
Return methods of a class
source code
 
get_fields_class(self, class_name)
Return fields of a class
source code
 
get_field_descriptor(self, class_name, field_name, descriptor)
Return the specific field
source code
 
get_class_manager(self)
Return directly the class manager
source code
 
get_strings(self)
Return all strings
source code
 
get_type(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

    Inherited from bytecode._Bytecode
 
add_idx(self, idx) source code
 
get_buff(self) source code
 
get_idx(self) source code
 
length_buff(self) source code
 
read(self, size) source code
 
read_b(self, size) source code
 
readat(self, off) source code
 
register(self, type_register, fct) source code
 
set_idx(self, idx) source code
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, buff)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

save(self)

source code 

Return the dex (with the modifications) into raw format

Returns: string
Overrides: bytecode._Bytecode.save

get_method(self, name)

source code 

Return into a list all methods which corresponds to the regexp

Parameters:
  • name - the name of the method (a regexp)

get_field(self, name)

source code 

Return into a list all fields which corresponds to the regexp

Parameters:
  • name - the name of the field (a regexp)

get_method_descriptor(self, class_name, method_name, descriptor)

source code 

Return the specific method

Parameters:
  • class_name - the class name of the method
  • method_name - the name of the method
  • descriptor - the descriptor of the method

get_methods_class(self, class_name)

source code 

Return methods of a class

Parameters:
  • class_name - the class name

get_fields_class(self, class_name)

source code 

Return fields of a class

Parameters:
  • class_name - the class name

get_field_descriptor(self, class_name, field_name, descriptor)

source code 

Return the specific field

Parameters:
  • class_name - the class name of the field
  • field_name - the name of the field
  • descriptor - the descriptor of the field

get_class_manager(self)

source code 

Return directly the class manager

@rtype : ClassManager