Hello,
I am trying to run one of the sample codes--crackme_dexlabs_patch.py and the code is crashing at vm.save() with the following stack trace
new_dex = vm.save()
File "/home/android/tools/androguard/androguard/core/bytecodes/dvm.py", line 7423, in save
length = i.get_length()
File "/home/android/tools/androguard/androguard/core/bytecodes/dvm.py", line 511, in get_length
return len(self.get_raw())
File "/home/android/tools/androguard/androguard/core/bytecodes/dvm.py", line 508, in get_raw
return self.get_obj()
File "/home/android/tools/androguard/androguard/core/bytecodes/dvm.py", line 481, in get_obj
self.data_off = self.data_off_obj[0].get_off()
AttributeError: MapList instance has no attribute '__getitem__'
Any ideas on how to fix this?
Thanks,
Palani.