-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
improve smali printer to show bytecode #1126
Conversation
This pull request introduces 1 alert when merging 4dd7ef1 into 3a69ac2 - view on LGTM.com new alerts:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job @lbj-the-goat. I've a few comments:
- I think
ByteCode
has a very different meaning in Java world. Here simply usingBytes
orOpCode Bytes
is more relevent. - Does the last comment ie. field/method offset (eg.
method@0123
) represent absolute address in dex? Or related to something? I may be mistaken about something here :) - How much work might it require for synchronizing smali and java methods? Like scrolling in some other method moves cursor in related java code too. I'm sure it won't work for innerclasses right now. Just a thought.
|
swithed line 62 and line 63, to get the proper bytes, insnStart must to be set before start to decode.
Cool. This will avoid the confusion.
Yeah. Then it needs to go in 🤣 (seriously though I still have no idea what it is :))
I see. Cool. It'll be a nice feature TBH. Till now Smali pane is not so useful for me. |
This pull request introduces 1 alert when merging 598ec29 into 3a69ac2 - view on LGTM.com new alerts:
|
Seems like we're going to have |
Oops! Did I merged too early? Sorry 😞 |
Since @lbj-the-goat agreed for |
@Surendrajat Haha.. I was typing and then I saw it merged, so just continued to catch up some TV shows |
#1114
All the instruction decoding jobs had been done by @skylot since don't know when, I just put them together to print smali code.
added 3 columns to the output,
and added an addtional font setting it contains fixed-width fonts, for alignment of output.