JesusFreke/smali

comment syntax?

jakenvac opened this issue · 2 comments

Sorry to raise an issue, but it seems discussions are disabled for this project.

Is there a way to leave comments in smali code? I'm currently reverse engineering several packages and it would be extremely useful. Right now I'm using a custom syntax and using sed to strip it at build time.

Unless something has changed in recent years, the proper comment syntax is to place things after a #;

const-string v0, "testing" # this is a comment

Thanks! I tried this before and was getting errors, must have been something else I did wrong as it's working fine now.

Thanks again!