xychix / smali

Automatically exported from code.google.com/p/smali
0 stars 0 forks source link

please disable /4, /16, /jumbo in output #227

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Please remove these /4, /16, /jumbo, etc.. in output.
As far as i understood these modifiers don't affect code at all. It's just 
operand size limiters.
I believe smali compiler can automatically add these modifiers at compiling 
stage if needed.

I work with smali code a lot, and often use diff tools. These modifiers produce 
a lot of false differences.

if impossible to remove it permanently for some reason, then may be it's 
possible to add command line option?

Original issue reported on code.google.com by saars...@gmail.com on 8 Nov 2014 at 6:41

GoogleCodeExporter commented 9 years ago
I'd rather keep the output as close to the actual bytecode as possible. What 
you describe could be done as a simple transform on the smali files before 
performing the diff.

Original comment by jesusfreke@jesusfreke.com on 28 Dec 2014 at 8:37