Giter Site home page Giter Site logo

Comments (6)

philipc avatar philipc commented on June 18, 2024

It should be putting these in a <symtab> unit.

from ddbug.

m4b avatar m4b commented on June 18, 2024

Ah, I didn't even check for that/would have suspected it.

from ddbug.

m4b avatar m4b commented on June 18, 2024

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.

philipc avatar philipc commented on June 18, 2024

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.

philipc avatar philipc commented on June 18, 2024

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.

m4b avatar m4b commented on June 18, 2024

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)

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.