-
Notifications
You must be signed in to change notification settings - Fork 260
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
argument of type 'NoneType' is not iterable #5
Comments
Hi. Thanks for your bug report! I have had a look at the issue and have pushed a fix to PyPi. Please try version 2.2.2 and see if that works for you. I was not able to reproduce the error so if you can send me the application you were testing with I can try to make a better fix. Thanks. |
the apk is too large,you can download apk by this url.and the so file name is libhellfire.so |
Thanks. Will download and try with grab taxi. Did the update I pushed yesterday work for you? |
yes ,it did. |
Okay, at least it is running now. I will take a look and see if I can figure out why the symbol was not resolving for that application you were using. It will be a couple of weeks until I have access to an Android ARM device to test with. |
Thanks for sending your test app, I have now tried it on an Android phone testing with the hellfire binary. I found out that the hellfire library does not have DebugSymbols for those functions in the jnitrace backtrace. As such, jnitrace cannot output the symbol information. I have, however, improved the output of jnitrace so that it will now show you the relative address for the backtrace function, rather than "unknown", so that you can go and take a look at it in a dissembler. Thanks for your bug report! Closing this as the crash is resolved. |
Oh and those improvements to the backtrace output are available in version 2.2.3. |
Traceback (most recent call last):
File "/Users/anaconda3/env/lib/python3.6/site-packages/frida-12.6.11-py3.6-macosx-10.6-intel.egg/frida/core.py", line 298, in _on_message
callback(message, data)
File "/Users/anaconda3/envs//lib/python3.6/site-packages/jnitrace/jnitrace.py", line 438, in on_message
self._print_backtrace(payload["backtrace"])
File "/Users/anaconda3/envs/lib/python3.6/site-packages/jnitrace/jnitrace.py", line 288, in _print_backtrace
max_len, max_name, size = self._calculate_backtrace_lengths(backtrace)
File "/Users/anaconda3/envs/lib/python3.6/site-packages/jnitrace/jnitrace.py", line 270, in _calculate_backtrace_lengths
b_t["module"]["name"], b_t["symbol"]["name"]
File "/Users/anaconda3/envs/lib/python3.6/site-packages/jnitrace/jnitrace.py", line 242, in _create_backtrace_symbol
if "+" not in symbol_name:
TypeError: argument of type 'NoneType' is not iterable
The text was updated successfully, but these errors were encountered: