Comments (3)
This seems like it would be quite valuable. I don't know of any other tool that exposes this kind of information.
from ddbug.
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.
If you just want the stack size, there's also https://github.com/japaric/stack-sizes/
from ddbug.
Related Issues (20)
- Better handling of closures
- Handle large files
- Merge codegen units
- Make it easier to determine panic locations HOT 1
- Release new version
- cargo install ddbug fails right now HOT 3
- differentiate reconstructed symbol table based entries HOT 6
- add color HOT 1
- Expose more APIs from the crate? HOT 10
- Export to other formats? HOT 3
- Expose inherited types HOT 1
- cargo install fails HOT 2
- Expose base type encodings HOT 5
- Can `ddbug_parser::File::parse` return a `ddbug::File` object? HOT 4
- Type `Symbol` is public, but there's no way to get one HOT 1
- Consider switching from memmap crate dependency HOT 1
- functions with multiple address ranges HOT 4
- two dimens array & bit size error HOT 5
- union offset is not correct HOT 1
- Add a query interface? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ddbug.