Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dump of assembler code for function main:
- 0x0000000000401156 <+0>: push rbp
- 0x0000000000401157 <+1>: mov rbp,rsp
- 0x000000000040115a <+4>: sub rsp,0x10
- 0x000000000040115e <+8>: call 0x401060 <rand@plt>
- 0x0000000000401163 <+13>: movsxd rdx,eax
- 0x0000000000401166 <+16>: imul rdx,rdx,0x45e7b273
- 0x000000000040116d <+23>: shr rdx,0x20
- 0x0000000000401171 <+27>: mov ecx,edx
- 0x0000000000401173 <+29>: sar ecx,0xd
- 0x0000000000401176 <+32>: cdq
- 0x0000000000401177 <+33>: sub ecx,edx
- 0x0000000000401179 <+35>: mov edx,ecx
- 0x000000000040117b <+37>: mov DWORD PTR [rbp-0x4],edx
- 0x000000000040117e <+40>: mov edx,DWORD PTR [rbp-0x4]
- 0x0000000000401181 <+43>: imul edx,edx,0x7530
- 0x0000000000401187 <+49>: sub eax,edx
- 0x0000000000401189 <+51>: mov DWORD PTR [rbp-0x4],eax
- 0x000000000040118c <+54>: mov edi,0x402010
- 0x0000000000401191 <+59>: mov eax,0x0
- 0x0000000000401196 <+64>: call 0x401040 <printf@plt>
- 0x000000000040119b <+69>: lea rax,[rbp-0x8]
- 0x000000000040119f <+73>: mov rsi,rax
- 0x00000000004011a2 <+76>: mov edi,0x402020
- 0x00000000004011a7 <+81>: mov eax,0x0
- 0x00000000004011ac <+86>: call 0x401050 <__isoc99_scanf@plt>
- 0x00000000004011b1 <+91>: mov eax,DWORD PTR [rbp-0x8]
- 0x00000000004011b4 <+94>: cmp DWORD PTR [rbp-0x4],eax
- 0x00000000004011b7 <+97>: jne 0x4011c5 <main+111>
- 0x00000000004011b9 <+99>: mov edi,0x402023
- 0x00000000004011be <+104>: call 0x401030 <puts@plt>
- 0x00000000004011c3 <+109>: jmp 0x4011d4 <main+126>
- 0x00000000004011c5 <+111>: mov edi,0x402030
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement