I would like to ask you guys for a help. I need to use objdump command on a C-code file, disassemble it and print out names (anywhere, preferably on the stdout) of the functions (and their dependency on others) in it (in format of "caller => callee"). First part is pretty easy, I just objdump the file with -d parameter. The part I can't get over is - how do I "cut out" those lines and how do I print them out? I know what I want to find (lines of the objdump containing "callq", hexadecimal adress and finally, the name of the function in pointed brackets (<>)) but I don't know how to find it and how to print that out.
Experience with shell: about 1-2 hours of studying it...
Thank you very much. Regards, C00kie