Reference to analyze the call dependencies in C/C++ [closed] - c++

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I want to analyze the c/c++ files for getting the dependencies through source codes. The data tells us which method in a file call to the other function in other file.
How can I accomplish? If you have good reference, Please share to me.
Thanks.

You can use different tool like doxygen , KCachegrind, gprof, Netbeans call graph for analyzing the dependencies.
https://en.wikipedia.org/wiki/Call_graph

I don't know if it meets your specific needs, but to create a callgraph, use the callgrind tool in valgrind:
valgrind --tool=callgrind
See here.

I think you can use ctags with cscope.

Related

Is there anyway to get source code for .so file? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
Is there any way to extract the code source Ubuntu 16
from a .so file?
I used this command:
readelf -Ws /root/file.so
But I am looking for a way to understand how each function works.
Is there a solution?
There isn't. Once you compile your code there is no trace of it left in the binary, only machine code.
People may reccommend you decompilers but those just aren't perfectly reliable and when they execute they will produce the source code that SHOULD have the same effect as the original code.

c++/ looking for documentation (like dirent.h) on directories and files? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm looking for documentation on C++ code for file and directory implementation into C++ programs.
I like going to cplusplus.com because of the documents and examples they have, but I can't find documentation on dirent.h, I'm not even sure it's all that great.
I'm looking to have a program able to see inside a directory, meaning obtaining a list of the files and sub-directories within, plus being able to get the modify/creation date of such things. I program in Ubuntu Linux.
Go to terminal, type man dirent, press enter and read it. If your distribution didn't install manpages for some reason, it won't be available. But in this case you can google it.

text-based C++ terminal GUI library [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 14 days ago.
Improve this question
I'm looking for a way in which I can align/format text output to the terminal window in C++, independent of the terminal window's size (I'm not looking to use iomanip with setw() or whatever). There is a library out there that allows for this, it begins with "n" I think, but I can't for the life of my find it. Honestly, I have thoroughly searched google, wikipedia etc and I just can't find it without knowing the name of it.
Thanks very much!
I think you are looking for the Gnu ncurses libary.

XPS open source implementation? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Does any know of any C/C++ open source for XPS [XML Print Specification].
I found http://www.ndesk.org/Xps, but it is c# ...
Any help will be highly appreciated.
I know of two open source implementations of XPS parsing and rendering: there is GhostXPS for use with Ghostscript, and MuXPS. MuXPS is a fork of GhostXPS which is based on the MuPDF graphics library instead. MuXPS is still very new, but you can find the source in the MuPDF git repository.
Mighty Wikipedia says that KDE Okular supports OpenXPS.
Artifex has GhostXPS which can read XPS packages

What is a good C/C++ CSS parser? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
What is a good C/C++ CSS parser? All that I can find is CSSTidy, and it seems to be more of an application than a parsing library.
libcss seems also a common google hit and it looks good
http://www.netsurf-browser.org/projects/libcss/
I googled for:
"CSS Parser" C++
The first result is http://sourceforge.net/projects/htmlcxx. It's a CSS/HTML API for C++.
A pretty good bet would be to read through the Mozilla or Safari code-base. If you need something a little more accessible for another program, there's an ANTLR grammar (which you can use to create C++ code) at http://www.antlr3.org/grammar/1214945003224/csst3.g. The W3 validator is located at http://dev.w3.org/cvsweb/2002/css-validator/, but it is Java.