Comments (6)
It should be putting these in a <symtab>
unit.
from ddbug.
Ah, I didn't even check for that/would have suspected it.
from ddbug.
We can close then I guess, makes sense. To be clear anything not found in dwarf stuff is put into synthetic unit, whose values/members are extracted directly from the binaries symbol table, yes?
Would be nice to have a blurb about this somewhere, but not sure where that would go.
EDIT
also my usecase was i was grepping symbols with a -C 5 so i'd still have to check they're after symtab unit. It's not really important though, just thought I'd add that.
from ddbug.
To be clear anything not found in dwarf stuff is put into synthetic unit, whose values/members are extracted directly from the binaries symbol table, yes?
Yes.
I do need to write some sort of documentation/manual that explains things like this.
I understand your use case, but it's possibly a bit specialized. I think the issue is you're coming from an angle of wanting to debug the DWARF generation, instead of just wanting to extract information (which is mostly what I use it for). I could add an option to disable usage of the symbol table, but I probably don't want to do anything more intrusive than that.
from ddbug.
One thing you could do is if you know which unit the entry is in, then you could pass an option to ddbug to only display that unit.
from ddbug.
yea, unit maybe could work, but honestly your time is probably spent elsewhere and other features. now that i know about symtab unit, i just know what to look out for
from ddbug.
Related Issues (20)
- Make it easier to determine panic locations HOT 1
- Release new version
- cargo install ddbug fails right now HOT 3
- 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
- Better handling of closures
- Handle large files
- Merge codegen units
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.