安卓逆向之smali代码笔记

const/4 v1, 0x0
const/4 v5, 0x5
new-array v3, v5, [I
...//v4 is value from scannner.nextInt() get
aput v4, v3, v1  //v1 is the index of array,'aput' puts v4 into v3[v1]
add-int/lit8 v1, v1, 0x1     //v1 = v1 +1
sub-int/lit8 vx, vy, lit8    //vx = lit8 - vy   (lit8 is the signed integer )
array-length v1, v3       //Calculate the number of elements of the array referenced by v3 and put the length value into v1
aget vx, vy, vz  // vx = vy[vz]
iget vx, vy, field_id         //Reads an instance field into vx. The instance is referenced by vy.
iget-object vx,vy,field_id    //Reads an object reference instance field into vx. The instance is referenced by vy.
sget vx,field_id             //Reads the integer field identified by the field_id into vx.
sget-object vx,field_id      //Reads the object reference field identified by the field_id into vx.
iput vx,vy, field_id          //Puts vx into an instance field. The instance is referenced by vy.
iput-object vx,vy,field_id   //Puts the object reference in vx into an instance field. The instance is referenced by vy.




英文单词参考:
field,字段


smali语法参考网址:点击打开链接



猜你喜欢

转载自blog.csdn.net/guchenjun789/article/details/79478181