svf-lib 1.0.1691 → 1.0.1693

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -686,6 +686,7 @@ protected:
686
686
  {
687
687
  for (const auto &edge: node.node()->getOutEdges())
688
688
  {
689
+ if(edge->getICFGEdge() && !edge->getICFGEdge()->isIntraCFGEdge()) continue;
689
690
  const CFBasicBlockNode *succ = edge->getDstNode();
690
691
  const CFBasicBlockGWTOCycleDepth &succNesting = getWTOCycleDepth(succ);
691
692
  if (succ != _head && succNesting <= _headWTOCycleDepth)
@@ -777,6 +778,7 @@ protected:
777
778
  {
778
779
  for (auto it = node->getOutEdges().begin(), et = node->getOutEdges().end(); it != et; ++it)
779
780
  {
781
+ if((*it)->getICFGEdge() && !(*it)->getICFGEdge()->isIntraCFGEdge()) continue;
780
782
  const CFBasicBlockNode *succ = (*it)->getDstNode();
781
783
  if (getCDN(succ) == 0)
782
784
  {
@@ -823,6 +825,7 @@ protected:
823
825
  {
824
826
  for (auto it = node->getOutEdges().begin(), et = node->getOutEdges().end(); it != et; ++it)
825
827
  {
828
+ if((*it)->getICFGEdge() && !(*it)->getICFGEdge()->isIntraCFGEdge()) continue;
826
829
  const CFBasicBlockNode *succ = (*it)->getDstNode();
827
830
  if (succ->getFunction() != node->getFunction())
828
831
  continue;
@@ -681,6 +681,7 @@ protected:
681
681
  {
682
682
  for (const auto &edge: node.node()->getOutEdges())
683
683
  {
684
+ if(edge->getICFGEdge() && !edge->getICFGEdge()->isIntraCFGEdge()) continue;
684
685
  const CFBasicBlockNode *succ = edge->getDstNode();
685
686
  const CFBasicBlockGWTOCycleDepth &succNesting = getWTOCycleDepth(succ);
686
687
  if (succ != _head && succNesting <= _headWTOCycleDepth)
@@ -772,6 +773,7 @@ protected:
772
773
  {
773
774
  for (auto it = node->getOutEdges().begin(), et = node->getOutEdges().end(); it != et; ++it)
774
775
  {
776
+ if((*it)->getICFGEdge() && !(*it)->getICFGEdge()->isIntraCFGEdge()) continue;
775
777
  const CFBasicBlockNode *succ = (*it)->getDstNode();
776
778
  if (getCDN(succ) == 0)
777
779
  {
@@ -818,6 +820,7 @@ protected:
818
820
  {
819
821
  for (auto it = node->getOutEdges().begin(), et = node->getOutEdges().end(); it != et; ++it)
820
822
  {
823
+ if((*it)->getICFGEdge() && !(*it)->getICFGEdge()->isIntraCFGEdge()) continue;
821
824
  const CFBasicBlockNode *succ = (*it)->getDstNode();
822
825
  if (succ->getFunction() != node->getFunction())
823
826
  continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svf-lib",
3
- "version": "1.0.1691",
3
+ "version": "1.0.1693",
4
4
  "description": "SVF's npm support",
5
5
  "main": "index.js",
6
6
  "scripts": {