title: Is it possible to dissembler running process in Linux?
body: <p>To disassemble the program I am using <code>objdump -d</code> tool. Is it possible to get the same output as with <code>objdump</code> for running process without condition to have <code>exe</code> file? How can i do it in <code>C</code> language from other program? I know that exists debuggers like <code>GDB</code>, but I need to use that functionality in <code>C</code>. As result of my program I want to get output file with disassemble functions for running process. I have an PID of process. I am working with Ubuntu.</p>