Giter Site home page Giter Site logo

Comments (10)

rohanrhu avatar rohanrhu commented on May 8, 2024 1

Yes for now. I will add a disassembly tab/view in addition to disassembly view on the right side. It is a TODO.

For frames, I think there is an issue about no source on switching frames. I will fix it for displaying frame address instead of source file/line and fix switching problem for no source situations. When it is fixed we will able to seeing registers for each frame for no source situations.

There is no a registers view but you can watch registers with adding registers like $register to watches view. (Example: $rax)

from gdb-frontend.

pawlos avatar pawlos commented on May 8, 2024 1

It works :)

Additional observations, in the call stack, after clicking on __libc_start_main() there's an error that cannot find source, but after dismissing it the disassembly shows up correctly - not sure if an error is needed (guess depending on user needs?). In the terminal the following errors are present:

https://gist.github.com/pawlos/7592b0a4fb11dab6d5110105e17d4bd6

Note, it was gdb with pwndbg so there might be some interference. Later I can check without pwndbg.

from gdb-frontend.

rohanrhu avatar rohanrhu commented on May 8, 2024

Is there any output in GDB shell? You can access GDB shell with http://127.0.0.1:5551/terminal/ or tmux a -t gdb-frontend.

from gdb-frontend.

pawlos avatar pawlos commented on May 8, 2024

Not much really (at least nothing that would scream error).

https://gist.github.com/pawlos/d3e7c66b7bf085cf756669e9a410daf6

from gdb-frontend.

rohanrhu avatar rohanrhu commented on May 8, 2024

Not much really (at least nothing that would scream error).

https://gist.github.com/pawlos/d3e7c66b7bf085cf756669e9a410daf6

It says Reading symbols from ./write4...(no debugging symbols found)...done. Is the executable compiled with gcc's -g option with WSL gcc?

You can compile and link executables with debug symbols like: gcc -o executable executable.c -g

from gdb-frontend.

pawlos avatar pawlos commented on May 8, 2024

Yeah, there's no source as it's not even compiled by me but if source not present I was expecting to see some disassembly. I cannot use gdbfrontend w/o source code to see disassm? Is it only working with source code?

from gdb-frontend.

rohanrhu avatar rohanrhu commented on May 8, 2024

I added debugging without debug symbols support and improved something. After testing, I will release a new version. You can try last revision (695acd4) and tell me if it is ok or is there any error.

from gdb-frontend.

rohanrhu avatar rohanrhu commented on May 8, 2024

Missing source errors dont repeat for same sources no longer.

Does that errors cause a problem as functionality? I will add a behaviour to ignore it.

from gdb-frontend.

pawlos avatar pawlos commented on May 8, 2024

Nope, looks like everything works as expected but I'll test a bit more in the upcoming days.

from gdb-frontend.

rohanrhu avatar rohanrhu commented on May 8, 2024

Ignored that errors. 8a94938

from gdb-frontend.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.