anestisb / vdexExtractor

Tool to decompile & extract Android Dex bytecode from Vdex files
Apache License 2.0
1k stars 214 forks source link

Problem with SmsExtra.apk #7

Closed ale8530 closed 6 years ago

ale8530 commented 6 years ago

Meanwhile, thank you again for the tool, but I found an error with this file, you can view it? :) SmsExtra.zip

Variusis commented 6 years ago

I support this problem takes place

anestisb commented 6 years ago

Thanks for reporting it. Will check it out.

ale8530 commented 6 years ago

News ? :)

anestisb commented 6 years ago

Unfortunately was really busy. I'll probably start working on it by the weekend or early next week.

ale8530 commented 6 years ago

Thank you for your kindness in answering, take the time it takes, I just wanted to know if there were any news :)

anestisb commented 6 years ago

If you use the 0.3.1 version it is successfully decompiled. So it seems that the Dex instruction backend logic that has been added to support Vdex version 010 is creating the problem. Will try to fix it today.

ale8530 commented 6 years ago

thank you very much for your fix

anestisb commented 6 years ago

Should be fixed in master branch too.

ale8530 commented 6 years ago

I have tested and created the SmsExtra_classes.dex file, but when you do this command, many errors occur on the terminal

Try this command:

./vdexExtractor -i SmsExtra.vdex

anestisb commented 6 years ago

Can you pull the latest master and try again please? An invalid free() bug was introduced in the recent recursion feature.

ale8530 commented 6 years ago

https://pastebin.com/sddL62WG error

ale8530 commented 6 years ago

I am aligned with your last commit and I have recompiled the tool

ale8530 commented 6 years ago

If I cast ./vdexExtractor -h it is still 0.40 you should correct version number, but I checked if I was not aligned but I'm up to the last commit ;)

anestisb commented 6 years ago

Yeah I haven't bumped the version yet since I want to run some more tests before tag. If you run git log inside your clone the last commit should be the https://github.com/anestisb/vdexExtractor/commit/c83d738be6962200374ee4fb306f04f1d179edb7.

Can you double check please and if the bug is still there try compiling with debug symbols (DEBUG=true ./make.sh) so we can get more info from the stack trace.

ale8530 commented 6 years ago

Now perfect very thanks