#include <stdio.h>
int main()
{
printf("Welcome to my linux! n");
}
이거를 gdb로 디스어셈블 시킨건데
밑에 처럼 나오는데 나는 어셈블리 하나도 모름...
밑에 나오는거 설명좀 해줘...;;
0x080483a4 <main+0>: lea ecx,[esp+0x4]
0x080483a8 <main+4>: and esp,0xfffffff0
0x080483ab <main+7>: push DWORD PTR [ecx-0x4]
0x080483ae <main+10>: push ebp
0x080483af <main+11>: mov ebp,esp
0x080483b1 <main+13>: push ecx
0x080483b2 <main+14>: sub esp,0x4
0x080483b5 <main+17>: mov DWORD PTR [esp],0x80484a0
0x080483bc <main+24>: call 0x80482b4 <puts@plt>
0x080483c1 <main+29>: add esp,0x4
0x080483c4 <main+32>: pop ecx
0x080483c5 <main+33>: pop ebp
0x080483c6 <main+34>: lea esp,[ecx-0x4]
0x080483c9 <main+37>: ret
저거 왜 역슬래쉬 안써지지
아그래 잘못썼다 설명
구글링해 그냥