When the debugger finds your bug
$rax : 0x0 $rbx : 0x0 $rcx : 0x00007ffff7edf633 → 0x5577ffff0003d48 ("H=?") $rdx : 0x0 $rsp : 0x00007fffffffdc78 → 0x00007fffffdc24 → "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA[...]" $rbp : 0x4141414141414141 ("AAAAAAAA"?) $rsi : 0x00007ffff7a7723 → 0xfa96700000000000a $rdi : 0x00007ffff7fa9670 → 0x0000000000000000 $rip : 0x000055555555531f → ret $r8 : 0x2e8 $r9 : 0xfffffffffffff80 $r10 : 0x0000555555556069 → 0x4900000000006425 ("%d"?) $r11 : 0x246 $r12 : 0x00005555555550b0 → endbr64 $r13 : 0x0 $r14 : 0x0 $r15 : 0x0 $eflags: [ZERO carry PARITY adjust sign trap INTERRUPT direction overflow RESUME virtualx86 identification] $cs: 0x0033 $ss: 0x002b $ds: 0x0000 $es: 0x0000 $fs: 0x0000 $gs: 0x0000 0x00007fffffffdc78 +0x0000: 0x00007fffffffdc24 → "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA[...]" ← $rsp 0x00007fffffffdc80 +0x0008: 0x00007ffff7edf633 → 0x00000000007fffff 0x00007fffffffdc88 +0x0010: 0x0000000100000000 0x00007fffffffdc90 +0x0018: 0x00005555555551ec → push rbp 0x00007fffffffdc98 +0x0020: 0x00007fffffffdc7c → _init_cacheinfo+287> 0x00007fffffffdca0 +0x0028: 0x0000000000000000 0x00007fffffffdca8 +0x0030: 0xd4df8dd409fa4dca1 0x00007fffffffdcb0 +0x0038: 0x00005555555550b0 → endbr64 0x555555555314 call 0x5555555550e0 <puts@plt> 0x555555555319 mov eax, 0x0 0x55555555531e leave → 0x55555555531f ret 0x7fffffffdc24 rex.B 0x7fffffffdc25 rex.B 0x7fffffffdc26 rex.B 0x7fffffffdc27 rex.B 0x7fffffffdc28 rex.B 0x7fffffffdc29 rex.B [#0] Id 1, Name: "batcomputer", stopped 0x55555555531f in ?? (), reason: [#1] 0x555555555314 → ret [#1] 0x7fffffffdc24 → ret.B [#2] 0x7fffffffdc33 → (bad) gef>
A debugger shows a crashed program with registers and stack memory overwritten by a long string of “A” characters. The grim, shocked soldier represents the programmer realizing the buffer overflow or memory corruption has completely wrecked execution. It is sent as a reaction to catastrophic bugs, broken code, or a debugging session that has gone far beyond control.
terminal window / окно терминалаdebugger output / вывод отладчикаsource code / исходный кодregister values / значения регистровstack trace / трассировка стекаhexadecimal addresses / шестнадцатеричные адресаsoldier / солдатmilitary helmet / военная каскаmilitary uniform / военная формаshocked face / потрясённое лицоdark background / тёмный фонcursor prompt / курсор командной строки
- @gentoomemes / 10745 2024-04-20
- Type
- image
- Size
- 800×717 · 123.9 KiB
- Mood
- осознавший ужас
- Language
- en
- Added