Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: dex_class instance has no attribute 'interfaces_off' #37

Open
lucasduffey opened this issue Sep 29, 2016 · 3 comments
Open

Comments

@lucasduffey
Copy link
Owner

lucasduffey commented Sep 29, 2016

Exception in thread Thread-6:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/user/.binaryninja/plugins/smaliBinja/dexFile.py", line 1320, in create_all_dex_classes
    dex_classes[classId].update_binja(self)
  File "/home/user/.binaryninja/plugins/smaliBinja/dexFile.py", line 337, in update_binja
    offset = self.interfaces_off + 4 # struct.calcsize("I") == 4
AttributeError: dex_class instance has no attribute 'interfaces_off'
@lucasduffey
Copy link
Owner Author

if dex_class is instantiated, and fails returning None - this may cause it's attributes to not work properly

@lucasduffey
Copy link
Owner Author

subsequent usage checked object against "None", but issue remains

@lucasduffey
Copy link
Owner Author

wrapped in try/except but problem still remains

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant