JesusFreke / smali

smali/baksmali
6.3k stars 1.07k forks source link

comment syntax? #855

Closed jakenvac closed 2 years ago

jakenvac commented 2 years ago

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.

strazzere commented 2 years ago

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
jakenvac commented 2 years ago

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!