svf-lib 1.0.1687 → 1.0.1689

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.
@@ -824,6 +824,8 @@ protected:
824
824
  for (auto it = node->getOutEdges().begin(), et = node->getOutEdges().end(); it != et; ++it)
825
825
  {
826
826
  const CFBasicBlockNode *succ = (*it)->getDstNode();
827
+ if (succ->getFunction() != node->getFunction())
828
+ continue;
827
829
  CycleDepthNumber succ_dfn = getCDN(succ);
828
830
  if (succ_dfn == CycleDepthNumber(0))
829
831
  {
@@ -819,6 +819,8 @@ protected:
819
819
  for (auto it = node->getOutEdges().begin(), et = node->getOutEdges().end(); it != et; ++it)
820
820
  {
821
821
  const CFBasicBlockNode *succ = (*it)->getDstNode();
822
+ if (succ->getFunction() != node->getFunction())
823
+ continue;
822
824
  CycleDepthNumber succ_dfn = getCDN(succ);
823
825
  if (succ_dfn == CycleDepthNumber(0))
824
826
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svf-lib",
3
- "version": "1.0.1687",
3
+ "version": "1.0.1689",
4
4
  "description": "SVF's npm support",
5
5
  "main": "index.js",
6
6
  "scripts": {