Esempio n. 1
0
    def show(self):
        bytecode._PrintSubBanner("Encoded Annotation")
        bytecode._PrintDefault("type_idx=%d size=%d\n" %
                               (self.type_idx, self.size))

        for i in self.elements:
            i.show()
Esempio n. 2
0
	def show(self):
		bytecode._PrintSubBanner("Header Item")
		bytecode._PrintDefault("magic=%s, checksum=%s, signature=%s\n" % (self.magic, self.checksum, self.signature))
		bytecode._PrintDefault("file_size=%x, header_size=%x, endian_tag=%x\n" % (self.file_size, self.header_size, self.endian_tag))
		bytecode._PrintDefault("link_size=%x, link_off=%x\n" % (self.link_size, self.link_off))
		bytecode._PrintDefault("map_off=%x\n" %(self.map_off))
		bytecode._PrintDefault("string_ids_size=%x, string_ids_off=%x\n" % (self.string_ids_size, self.string_ids_off))
Esempio n. 3
0
	def show(self):
		bytecode._PrintSubBanner("CLASS DEF ITEM")

		for u in self.classes:
			u.show()
Esempio n. 4
0
	def show(self):
		bytecode._PrintSubBanner("Class Def Item")
		bytecode._PrintDefault("name=%s, sname=%s, interfaces=%s, access_flag=%s\n"
			% (self.name, self.sname, self.interfaces, self.get_access_flag_string()))
		bytecode._PrintDefault("class_idx=%d, superclass_idx=%d, interfaces_off=%x, source_file_idx=%d\n"
			% (self.class_idx, self.superclass_idx, self.interfaces_off, self.source_file_idx))
Esempio n. 5
0
	def show(self):
		bytecode._PrintSubBanner("Method Id Item")
		for u in self.methods:
			u.show()
Esempio n. 6
0
	def show(self):
		bytecode._PrintSubBanner("Method Id Item")
		bytecode._PrintDefault("class_idx=%d proto_idx=%d name_idx=%d\n"
			% (self.class_idx, self.proto_idx, self.name_idx))
		bytecode._PrintDefault("class_idx_value=%s proto_idx_value=%s name_idx_value=%s\n"
			% (self.class_idx_value, self.proto_idx_value, self.name_idx_value))
Esempio n. 7
0
	def show(self):
		bytecode._PrintSubBanner("Type List")
		bytecode._PrintDefault("size=%d\n" % self.size)

		for i in self.list:
			i.show()
Esempio n. 8
0
	def show(self):
		bytecode._PrintSubBanner("Annotation Off Item")
		bytecode._PrintDefault("annotation_off=0x%x\n" % self.annotation_off)
Esempio n. 9
0
	def show(self):
		bytecode._PrintSubBanner("Encoded Value")
		bytecode._PrintDefault("val=%x, value_arg=%x, value_type=%x\n" % (self.val, self.value_arg, self.value_type))
Esempio n. 10
0
	def show(self):
		bytecode._PrintSubBanner("String Id Item")
		if self.string_data_off != None:
			bytecode._PrintDefault("string_data_off=%x\n" % self.string_data_off)
Esempio n. 11
0
 def show(self):
     bytecode._PrintSubBanner("Annotation Set Item")
     for i in self.annotation_off_item:
         i.show()
Esempio n. 12
0
 def show(self):
     bytecode._PrintSubBanner("Annotation Off Item")
     bytecode._PrintDefault("annotation_off=0x%x\n" % self.annotation_off)
Esempio n. 13
0
    def show(self):
        bytecode._PrintSubBanner("Encoded Array")
        bytecode._PrintDefault("size=%d\n" % self.size)

        for i in self.values:
            i.show()
Esempio n. 14
0
 def show(self):
     bytecode._PrintSubBanner("Encoded Value")
     bytecode._PrintDefault("val=%x, value_arg=%x, value_type=%x\n" %
                            (self.val, self.value_arg, self.value_type))
Esempio n. 15
0
	def show(self):
		bytecode._PrintSubBanner("Proto Item")
		bytecode._PrintDefault("shorty_idx=%d return_type_idx=%d parameters_off=%d\n" 
			% (self.shorty_idx, self.return_type_idx, self.parameters_off))
		bytecode._PrintDefault("shorty_idx_value=%s return_type_idx=%s parameters_off_value=%s\n" 
			% (self.shorty_idx_value, self.return_type_idx_value, self.parameters_off_value))
Esempio n. 16
0
	def show(self):
		bytecode._PrintSubBanner("Encoded Annotation")
		bytecode._PrintDefault("type_idx=%d size=%d\n" % (self.type_idx, self.size))

		for i in self.elements:
			i.show()
Esempio n. 17
0
	def show(self):
		bytecode._PrintSubBanner("Proto List Item")
		for u in self.proto:
			u.show()
Esempio n. 18
0
	def show(self):
		bytecode._PrintSubBanner("Encoded Array")
		bytecode._PrintDefault("size=%d\n" % self.size)

		for i in self.values:
			i.show()
Esempio n. 19
0
	def show(self):
		bytecode._PrintSubBanner("Field Id type")
		bytecode._PrintDefault("class_idx=%d type_idx=%d name_idx=%d\n" 
			% (self.class_idx, self.type_idx, self.name_idx))
		bytecode._PrintDefault("class_idx_value=%s type_idx_value=%s name_idx_value=%s\n"
			% (self.class_idx_value, self.type_idx_value, self.name_idx_value))
Esempio n. 20
0
	def show(self):
		bytecode._PrintSubBanner("Annotation Set Item")
		for i in self.annotation_off_item:
			i.show()
Esempio n. 21
0
	def show(self):
		bytecode._PrintSubBanner("Type Item")
		bytecode._PrintDefault("type_idx=%d\n" % self.type_idx)