How Can I convert only one file or one function of an elf to assembly? : I have an elf file of a very big code base (it contain many c and header files). I want to convert it to assembly code. I have base address of a function and offset of the instruction. using all these information I want to get the specific instruction. I have used "objdump -b binary -m i386 -D file.elf" to get assembly code from elf file. but it is generating 4GB of data. I have also referred to this https://stackoverflow.com/questions/6441721/can-i-give-objdump-an-address-and-have-it-disassemble-the-containing-function ans but it is also not working for me.