Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Cover image for gdb debugger
Anne Quinkenstein
Anne Quinkenstein

Posted on • Edited on

gdb debugger

runs on many Unix-like systems and works for many programming languages, including Ada, Assembly, C, C++, D, Fortran, Haskell, Go, Objective-C, OpenCL C, Modula-2, Pascal, Rust,...

strings programm

shows all strings of a programm

./check $(python3 -c 'print("a" * 200)')

gdb debugger

gdb programm (start programm in same folder)
(gdb) disas function
(gdb) b* 0x401402 (set breakpoint)
(gdb) r xxxxxxxx (start Programm with parameter (eg pw))
(gdb) i r (info register) show registger
eg PW: for every letter show:
(gdb) set $al = $dl
(gdb) c

Top comments(0)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

Software Engineer (Java)
  • Location
    Berlin, Germany
  • Work
    Testautomation Engineer at Telecolumbus
  • Joined

More fromAnne Quinkenstein

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp