Giter Site home page Giter Site logo

Display stack layout about ddbug HOT 3 OPEN

philipc avatar philipc commented on June 27, 2024
Display stack layout

from ddbug.

Comments (3)

jrmuizel avatar jrmuizel commented on June 27, 2024 1

This seems like it would be quite valuable. I don't know of any other tool that exposes this kind of information.

from ddbug.

philipc avatar philipc commented on June 27, 2024 1

This is partially done using DW_OP_fbreg and DW_OP_call_frame_cfa in location expressions. To do better, I think I need to also handle DW_OP_breg*, but for that I also need to determine how the base register relates to the stack frame... maybe this can be determined by getting the CFA from the CFI. Also, need to investigate how complete this information is going to be... there's big holes in the current output, and I don't think that DW_OP_breg* will be enough to fix that.

from ddbug.

philipc avatar philipc commented on June 27, 2024

If you just want the stack size, there's also https://github.com/japaric/stack-sizes/

from ddbug.

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.