bytedance / appshark

Appshark is a static taint analysis platform to scan vulnerabilities in an Android app.
Apache License 2.0
1.49k stars 165 forks source link

Lambda表达式断链问题 #72

Open firmianay opened 6 months ago

firmianay commented 6 months ago

在创建SimpleBroadcastReceiver对象时接收一个Consumer并重写accept()方法,当接收到广播时在onReceive中调用Consumer.accept(intent)

但appshark无法跟踪进入accept()函数,导致断链。

image

image

nkbai commented 6 months ago

这种方式,尤其是framework导致的调用,需要手工补充调用关系。

firmianay commented 6 months ago

这种方式,尤其是framework导致的调用,需要手工补充调用关系。

补充在EngineConfig.json里面的Callback吗?