dvm.save() is crashing

15 views
Skip to first unread message

Palani kodeswaran

unread,
Oct 28, 2014, 4:40:23 AM10/28/14
to andro...@googlegroups.com
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.
Reply all
Reply to author
Forward
0 new messages