About 15,800 results
Open links in new tab
  1. Run a python command with "run" on GDB

    A common solution is to redirect your input from a file. You first need to run the script and save the result: python -c "print 'A'*50" > my_file and redirect it to gdb run. r < my_file also, from the …

  2. Set gdb breakpoint by address with gdb python

    Jan 22, 2021 · Set gdb breakpoint by address with gdb python Ask Question Asked 4 years, 8 months ago Modified 4 years, 8 months ago

  3. Decent GUI for GDB - Reverse Engineering Stack Exchange

    I started my own gdb frontend called gdbgui which is a server (in python) that lets you access a full-featured frontend in your browser. Install pip install gdbgui --upgrade or download at …

  4. GDB - Send Python output to the program after SIGINT

    Apr 5, 2020 · I am trying to learn GDB to better understand buffer overflows but I can't find an answer to my problem which is how can I send a Python-generated output to the program …

  5. How to get a full execution trace with Python gdb?

    6 Your question really seems to be "How to get an instruction trace with GDB". The use of Python appears to be incidental, except that you're using Python inside of GDB. GDB has native …

  6. Adding Types to GDB via Python - Reverse Engineering Stack …

    GDB has a reasonably robust API which is exposed to Python at runtime. It allows for inspecting various types, but does not appear to allow creation of types. However, types can be manually …

  7. Run a python in command (kali) with "run" on gdb-peda$

    Feb 19, 2022 · While debugging a program under gdb with gdb-peda installed, I need to pass args to the binary using output from something like python. Why I am not getting AAAAA? gdb …

  8. debugging - gdb debug show error "not in executable format: file …

    Jul 6, 2018 · "/home/Relay/RelayD": not in executable format: File format not recognized (gdb) run Starting program: No executable file specified. Use the "file" or "exec-file" command. How to …

  9. GDB Struct Deref - Reverse Engineering Stack Exchange

    May 12, 2024 · if you're okay w/ python, you'd use gdb.lookup_type with your type name (gdb.lookup_type('MyStruct')), then call .fields() on the result. This'll give you a list of the fields, …

  10. Basic question: how to input non-printable hex values in GDB / NC?

    May 17, 2018 · I've seen examples online where python is used to supply hex values as the argument to the binary - but this particular binary runs, prints a query message, THEN expects …