diff --git a/CFGGenerator.php b/CFGGenerator.php index 7e78c67..3b37e9f 100644 --- a/CFGGenerator.php +++ b/CFGGenerator.php @@ -920,7 +920,7 @@ public function leaveNode(Node $node){ $this->fileSummary->getIncludeMap() ); - if(!$funcBody) break ; + if(!$funcBody) return False ; $cfg = new CFGGenerator() ; //$this->block->function[$nodeName] $arr = $this->sinkContext->getAllSinks() ; @@ -1095,4 +1095,4 @@ public function sinkTracebackBlock($argName,$block,$flowsNum){ -?> \ No newline at end of file +?>