-
-
Notifications
You must be signed in to change notification settings - Fork 131
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
local variable issue #75
Comments
Are you using a build from the release? Or do you use the python command line? If it's possible, I can check with your APK to debug this issue. |
Hi @vincentcox , |
What happens if you use: You can also try to put your APK in the same folder as stacoan (in the src folder). then run: |
Getting the same even with the test-apk.apk [INFO] jadx return code: 1 |
I know what happened. JADX could not allocate 4Gigs of memory so it didn't run. The program tries to continue anyhow and there are 0 results, which causes a for loop to not run somewhere. Please double check that you are using 64-bit java version. JADX sets max memory heap to 4GB by default. This only possible on 64-bit java. |
Is this issue with system architecture, as I am having 32bit system. |
Indeed, it's caused by the 32 bit architecture. However, you can try to run: But I am not sure if it will work because StaCoAn spawns an own subshell. |
Let me know if it works. I will try to make a fix for this if it's not working. |
Still getting the same :( |
I'll create a fix this weekend. Thanks for reporting this issue, I will let you know when the fix is available. Note for myself:
|
Hello @vincentcox , |
Can you try the DEV branch?
Let me know what the output is, If it works for you then I know the fix is working and I push it to the master. |
Hi @vincentcox , python3 stacoan.py -p test-apk.apk --disable-server --disable-browser [INFO] jadx return code: 1 |
Hello @vincentcox , |
Can you try the dev branch again?
Normally it should work now because I put the variable into the command. Let me know the output if it still doesn't work, we'll figure it out! |
Hello @vincentcox , |
I'll download a 32 bit kali machine to figure this out. It will take me some time but I will dive into this! 💪 |
Great @vincentcox 👍 |
I was able to reproduce it and found the cause why our limit was not correctly applied. You have to open |
Hi @vincentcox , |
No problem, thank you for your patience because it took me some time to figure it out. |
Thank you 👍 |
Hello @vincentcox ,
I am facing this error after supplying the apk
UnboundLocalError: local variable 'sorted_tosort' referenced before assignment
[WARNING] 127.0.0.1 - - [10/Oct/2018 19:35:59] code 404, message File not found
The text was updated successfully, but these errors were encountered: