Hello everyone, I wonder is there a tool that can ...
# android
h
Hello everyone, I wonder is there a tool that can find functions depend on the type of input and output šŸ˜…? I’ve decompiled an apk and I cannot see the function names in the apk source code. I guess the functions are Android build-in functions.
g
What do you mean ā€œI cannot see the function namesā€? There are always function names in APK (even if they are obfuscated) How did you decompiled it?
h
Sorry, I didn't describe it cleanly. I can see the original function names, the names will be like a, b etc. So I want to find the functions by the type of input and output. I was using the APKTool to decompile APK and using Jadx-gui as my IDE to view the decompiled code.
g
yep, they are obfuscated
I don’t know such tool, except if you decompile to java and use IDEA Structural Search
h
Thanks for replying šŸ™‚ BTW, is there a way to decompile APK to java code but smali code?
g
Decompile smali to Java?
btw, maybe for your use case would be even easier just decompile to smali and then do simple string search by all files
something like
\.method .*($INPUT_TYPE)$RETURN_TYPE
(not a valid regex, just a pseudocode
h
That's a good suggestion. Thanks a lot 😊