Class ExceptionFilter2EdgeFilter<Block extends ISSABasicBlock>

java.lang.Object
com.ibm.wala.ipa.cfg.exceptionpruning.ExceptionFilter2EdgeFilter<Block>
All Implemented Interfaces:
EdgeFilter<Block>

public class ExceptionFilter2EdgeFilter<Block extends ISSABasicBlock> extends Object implements EdgeFilter<Block>
This class converts an exception filter to an edge filter.
Author:
Stephan Gocht <stephan@gobro.de>
  • Constructor Details

  • Method Details

    • hasExceptionalEdge

      public boolean hasExceptionalEdge(Block src, Block dst)
      Description copied from interface: EdgeFilter
      This method must return true if and only if an exceptional edge from src to dst exists in the original CFG and should be kept for the pruned version of that CFG. Note that this must _must_ return false for any exceptional edge that is not in the original CFG.
      Specified by:
      hasExceptionalEdge in interface EdgeFilter<Block extends ISSABasicBlock>
    • hasNormalEdge

      public boolean hasNormalEdge(Block src, Block dst)
      Description copied from interface: EdgeFilter
      This method must return true if and only if a normal edge from src to dst exists in the original CFG and should be kept for the pruned version of that CFG. Note that this must _must_ return false for any normal edge that is not in the original CFG.
      Specified by:
      hasNormalEdge in interface EdgeFilter<Block extends ISSABasicBlock>