Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty distance.cfg.txt #23

Closed
z1w opened this issue May 22, 2018 · 1 comment
Closed

Empty distance.cfg.txt #23

z1w opened this issue May 22, 2018 · 1 comment

Comments

@z1w
Copy link

z1w commented May 22, 2018

Hi,

The distance.cfg.txt is empty. I have two step* files in $TEMP directory, step1.log and step2.log.

The content of step1.log is: "Writing 'callgraph.dot'..."

The content of step2.log is:
"Parsing $TEMP/dot-files/callgraph.dot ..
Name: Call graph
Type: DiGraph
Number of nodes: 2308
Number of edges: 10655
Average in degree: 4.6166
Average out degree: 4.6166

Working in CG mode..
Loading targets..
Calculating distance..

Parsing $TEMP/dot-files/cfg.areBlanks.dot ..
Name: CFG for 'areBlanks' function
Type: DiGraph
Number of nodes: 24
Number of edges: 42
Average in degree: 1.7500
Average out degree: 1.7500

Working in CFG mode..
Loading cg_distance for function 'areBlanks'..
Adding target BBs (if any)..
Calculating distance..

Parsing $TEMP/dot-files/cfg.asciiToUTF8.dot ..
Name: CFG for 'asciiToUTF8' function
Type: DiGraph
Number of nodes: 10
Number of edges: 14
Average in degree: 1.4000
Average out degree: 1.4000

Working in CFG mode..
Loading cg_distance for function 'asciiToUTF8'..
Adding target BBs (if any)..
Calculating distance..

Parsing $TEMP/dot-files/cfg.attributeDeclDebug.dot ..
Name: CFG for 'attributeDeclDebug' function
Type: DiGraph
Number of nodes: 1
Number of edges: 0
Average in degree: 0.0000
Average out degree: 0.0000

Working in CFG mode..
Loading cg_distance for function 'attributeDeclDebug'..
Adding target BBs (if any)..
Calculating distance..

Parsing $TEMP/dot-files/cfg.attributeDecl.dot ..
Name: CFG for 'attributeDecl' function
Type: DiGraph
Number of nodes: 3
Number of edges: 3
Average in degree: 1.0000
Average out degree: 1.0000

Working in CFG mode..
Loading cg_distance for function 'attributeDecl'..
Adding target BBs (if any)..
Calculating distance..

Parsing $TEMP/dot-files/cfg.attributeDeclSplit.dot ..
Name: CFG for 'attributeDeclSplit' function
Type: DiGraph
Number of nodes: 6
Number of edges: 8
Average in degree: 1.3333
Average out degree: 1.3333
........
........
Parsing $TEMP/dot-files/cfg.xmlXPtrStringRangeFunction.dot ..
Name: CFG for 'xmlXPtrStringRangeFunction' function
Type: DiGraph
Number of nodes: 140
Number of edges: 224
Average in degree: 1.6000
Average out degree: 1.6000

Working in CFG mode..
Loading cg_distance for function 'xmlXPtrStringRangeFunction'..
Adding target BBs (if any)..
Calculating distance..

Parsing $TEMP/dot-files/cfg.xmlXPtrWrapLocationSet.dot ..
Name: CFG for 'xmlXPtrWrapLocationSet' function
Type: DiGraph
Number of nodes: 4
Number of edges: 4
Average in degree: 1.0000
Average out degree: 1.0000

Working in CFG mode..
Loading cg_distance for function 'xmlXPtrWrapLocationSet'..
Adding target BBs (if any)..
Calculating distance.."

The distance.callggraph.txt seems fine. The content is like
"..............
main,4.999999999999999
main,4.999999999999999
xmlNextChar,12.0
xmlNoNetExternalEntityLoader,14.0
......................"

I am not sure what the expected output is like and how to fix this problem.

@z1w
Copy link
Author

z1w commented May 22, 2018

I deleted everything and restarted. Now everything seems work as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant