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

add runtimeSDK #64

Closed firmianay closed 8 months ago

firmianay commented 9 months ago

Android版本更新对App的影响分为两种情况:第一种是影响所有安装到该版本上的App;第二种是影响targetSdkVersion升级到该版本的App。 targetSDK字段影响的是第二种情况,现在引入新字段runtimeSDK来处理第一种情况,当runtimeSDK小于应用的minSDK时,即应用无法在该系统版本上运行,判断漏洞不存在。

nkbai commented 8 months ago

能补充一下单元测试么?

firmianay commented 8 months ago

已添加