安卓逆向之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语法参考网址:点击打开链接



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值