面向Android APP污点分析的测试用例生成方法研究.pdfVIP

面向Android APP污点分析的测试用例生成方法研究.pdf

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
摘 要 随着Android系统移动设备的广泛使用,安全问题也变的越来越突出,因此, 针对Android应用程序的漏洞分析研究非常重要。污点分析可以分为动态、静态 和混合三种。静态分析的优点是分析代码覆盖率高并且漏报率低,但是由于没有 实际运行程序,所以无法获得程序运行时的上下文信息,从而导致虚警率过高; 而动态分析的缺点是分析代码覆盖率较低,漏报率较高。 为了提高静态污点分析结果的正确率、降低虚警,需要验证静态分析结果的 正确性的方法。本文提出了一种基于反转条件约束求解的测试用例生成方法,用 于产生潜在污点传播路径的输入。首先根据插桩得到的覆盖Source到Sink 的程 序执行路径信息(种子Trace),然后收集Trace 中的if条件判断语句,设计相关条 件表达式规范化规则,结合缩略提取和语义转换,通过调用Z3可满足性模理论 求解器得到相关测试用例。接着利用新测试用例执行AndroidAPP进而得到其他 Trace,最后分析所有Trace来判定是否虚警,从而有效降低虚警、提高正确率。 关键词:测试用例;污点分析;Z3;Jimple;约束求解 I Abstract With the widespread use of Android mobile devices. But then theres the problem of the hidden security vulnerabilities of Android apps, So the research of vulnerability analysis for Android applications is important.The taint analysis can be divided into three types: dynamic, static and mixed. The advantage of static analysis is that the code coverage is high and the rate of missing report is low, but because there isno actual runningprogram,the context information oftherunning time ofthe program cannot be obtained, which leads to the false alarm rate being too high.The disadvantages of dynamic analysis is that the coverage of analysis code is low, and therateofmissingreport ishigh. In order to improve the accuracy of static taint analysis results and reduce false alarms, a method to verify the correctness of the static analysis results are needed. This paper proposes a test case generation method based on inverse conditional constraint solving for generation inputs for potential taint propagation paths. First execute the path information (seed Trace) based on the program that the pile gets to cover Source to Sink.Then collecting the if conditionaljudgment statement in Trace, designing the related conditional expression normalization rule, combining the thumbnail extraction and semantic transformation, the relevant test

您可能关注的文档

文档评论(0)

136****6583 + 关注
实名认证
文档贡献者

该用户很懒,什么也没介绍

版权声明书
用户编号:7043055023000005

1亿VIP精品文档

相关文档