能力值:
( LV2,RANK:10 )
|
-
-
|
能力值:
( LV2,RANK:10 )
|
-
-
[求助][已解决]frida hook failed
SevenSir
你要HOOK的是com.xxx.app.MainActivity.fun这个函数,你确定这个函数是否被触发调用到了吗?
java .code
package com.luckin.app;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
fun(123,123);
}
void fun(int x, int y){
Log.d("[* ]Sum",String.valueOf(x+y));
}
} 以上是java.code logcat 能打印出 我是要hook住fun,, hook的函数不就是上面那个js代码么?
|