soot 学习笔记 三

【1】Using the Soot Eclipse plugin

       参考URL:  http://www.bodden.de/2008/08/30/soot-eclipse-plugin-tutorial/

       把测试例按照文档都测试一以便,有一个大概印象即可。可以熟悉常用的按钮选项,通过选项猜测soot所完成的功能。

【2】 Implementing an intra-procedural data-flow analysis in Soot

       参考URL:  www.bodden.de/2008/09/22/soot-intra/

(1)     An intra-procedural data-flow analysis operates on a control-flow graph – called UnitGraph in Soot – for a single method. A unit graph contains statements as nodes, and there is an edge between two nodes if control can flow from the statement represented by the source node to the statement represented by the target node.

(2)Forward, backward or branched?

(3)A: The abstraction type. Oftentimes people use sets or maps as their abstraction but in general you can use anything you like. Beware though, that your abstraction type must implement equals(..) and hashCode() correctly, so that Soot can determine when a fixed point has been reached!

(4)Between the super constructor call and the call to doAnalysis() you can set up your own analysis data structures.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值