How to get list of impacted C functions from diff between 2 versions of file [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 5 years ago.
Improve this question
I am looking for a way how to get list of C functions impacted by the code changes.
Conditions: C project, OS Unix, CVS ClearCase.
Initially, I had planned to use unix diff with --show-c-function option like
diff --show-c-function oldfile newfile
but found that sometime result is incorrect and diff returns functions which were not really impacted by the code changes.
Don't want to write hand-made solution, so, is there any Unix tool which can help to solve this task?

Related

Where can I find the source code for pcap dump? [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 3 years ago.
Improve this question
I need to figure out the inner workings of the function pcap_dump (https://linux.die.net/man/3/pcap_dump) however I cannot seem to find the source code for it anywhere.
Does anyone know where I can find this (and possibly the starting line of the function's code, in case I have just missed it in the correct file)? Thanks!
Looks like it's from LIBPCAP library by "The Tcpdump Group". Sources of pcap_dump are here on Github.

How can I find the pbmpak.c file over the internet? [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
I have a source code that included "pbmpak.h" and I need the implementation of this header(pbmpak.c) to run the program. I found the header and downloaded that but I can't find the implementation.
I believe you should be able to get everything from netpbm. That is the suite that contains all the relevant conversion routines and looking at pbmpak.h, probably contains all the function definitions. Notice that netpbm replaced pbmplus suite.
I'd take a look on github. I found this quite easily
https://github.com/FlybyMedia/3rd-party-localize/blob/master/PBMLIB/pbmpak.c
There are quite a few references that might get you started here...
https://github.com/search?q=pbmpak&ref=searchresults&type=Code&utf8=%E2%9C%93

Does anyone know an API for decoding strings like cron does in C? [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
I'm a newbie in C and i want to read a file which lines are like 30 7 * * 14-15 and parse to date structures.
So i would really use your help to find an API or an algorithm to do it.
Try to read sources, for example concerning freebsd, fetch os sources (if not aredy done as part of standart os upgrade procedure) , find cron, see sources, take what you need. It is not so unreal as seems.
Sources well documented at comments:
https://svnweb.freebsd.org/base/stable/9/usr.sbin/cron/cron/database.c?revision=225736&view=markup
UPD: link suggested in comment by #PeterT (more exactly for parsing entry):
https://svnweb.freebsd.org/base/stable/9/usr.sbin/cron/lib/entry.c?view=markup#l88

Which database should I use for a rule-based language? [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
I wrote rules in Jess, which database should I use to store them?
Jess has no built-in capability for storing rules in a database; it works with flat files, either text or XML. To use a database, you'd have to implement code yourself to retrieve (and store) them. As such, there's not much we can do to help you choose a database, as Jess won't care.

Tool to provide a graph for C source code 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 5 years ago.
Improve this question
I have 3 files of C language code and their 2 header files. I would like to see the dependency graph of all functions getting called in these 3 files. Is there a tool on Windows to simplify this work?
Have you already tried doxygen in combination with the graphviz package?

Resources