1. how to define a rule to ignore '.line xxx' in smali file?
2. how define a rule for ' const-string' and it's equivalent 'const-string/jumbo'
For instance, following two functions are equivalent.
# direct methods
.method static constructor <clinit>()V
.locals 3
.prologue
.line 254
new-instance v0, Landroid/util/SparseArray;
const-string/jumbo v0 "a string example"
.end method
# direct methods
.method static constructor <clinit>()V
.locals 3
.prologue
.line 258
new-instance v0, Landroid/util/SparseArray;
const-string v0 "a string example"
.end method
2. how define a rule for ' const-string' and it's equivalent 'const-string/jumbo'
For instance, following two functions are equivalent.
# direct methods
.method static constructor <clinit>()V
.locals 3
.prologue
.line 254
new-instance v0, Landroid/util/SparseArray;
const-string/jumbo v0 "a string example"
.end method
# direct methods
.method static constructor <clinit>()V
.locals 3
.prologue
.line 258
new-instance v0, Landroid/util/SparseArray;
const-string v0 "a string example"
.end method
Comment