Question: When using objdump to disassemble the binary, how to find what the address of a specific function is? For example, 08048934 : 8048934: 55 push

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

08048934 : 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.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!