Question

I'd want to ask you something, that maybe is unfeasible. I would need to make a list of programs that use a certain c system function (e.g., mkdir()). Is there any smart way to do that in Linux Ubuntu? I don't know, maybe combining apt-get source with grep, or something like that. Such a list has not to be filled with any existent program that uses that function, I'd just need some of them (e.g., the ones that I have installed on my pc). Thanks in advance.

Was it helpful?

Solution

Function names don't change after compilation, so you may simply look for it in the compiled application file. Make a grep on binary file without dissambling. It will be there.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top