dwex icon indicating copy to clipboard operation
dwex copied to clipboard

Add the way to filter by string or dwarf tags

Open skorokhod opened this issue 5 years ago • 3 comments

Is it possible to add some fileter option? For example, to live just several tags or classes by its names.

skorokhod avatar Aug 31 '20 11:08 skorokhod

Filtering a tree (as opposed to a list) is a tricky proposition. If your filter only leaves certain items in place, that means their parent items should also be shown. Also, it will break the link following logic.

What are you trying to do?

sevaa avatar Aug 31 '20 13:08 sevaa

I need to analyze my data-structures for embedded project. I'd love to see something like class-view in Visual Studio with real type's sizes, gaps in structs and so on. The issue is in the number of tag-noise with typedefs, subprograms etc. May be some filtering options could simplify this task. Like "show just listed tags"

skorokhod avatar Aug 31 '20 14:08 skorokhod

A class-view would be way out of scope for this little project. If you want a full blown data structure analysis, you should consider creating your own DWARF reader (e. g. on top of pyelftools).

Would a more capable tag highlighting feature help?

sevaa avatar Aug 31 '20 14:08 sevaa

Did highlighting by keyword and by expression. This should do.

sevaa avatar Sep 14 '23 01:09 sevaa