1. Engineering
  2. Computer Science
  3. when using objdump to disassemble the binary how to find...

Question: when using objdump to disassemble the binary how to find...

Question details

When using objdump to disassemble the binary, how to find what the address of a specific function is? For example,

08048934 <function2>:
8048934: 55 push ebp
8048935: 89 e5 mov ebp,esp
8048937: 53 push ebx
8048938: 83 ec 04 sub esp,0x4
804893b: e8 1f 00 00 00 call 804895f <__x86.get_pc_thunk.ax>
8048940: 05 c0 06 09 00 add eax,0x906c0
8048945: 83 ec 0c sub esp,0xc
8048948: 8d 90 70 31 fd ff lea edx,[eax-0x2ce90]
804894e: 52 push edx
804894f: 89 c3 mov ebx,eax
8048951: e8 aa 79 00 00 call 8050300 <_IO_puts>
8048956: 83 c4 10 add esp,0x10
8048959: 90 nop
804895a: 8b 5d fc mov ebx,DWORD PTR [ebp-0x4]
804895d: c9 leave
804895e: c3 ret

Can we get the address of function2? What is the address and where can I find it.

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution