Coder Social home page Coder Social logo

sharppdb's People

Contributors

codehz avatar southpolenator avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

sharppdb's Issues

How to get the public symbol size

Using dbhelp we can get the size of the public symbol / function. SharpPdb only provides the RVA but not the size. Is there a way to get the size somehow?

Symbol RVAs incorrect

PDB symbols seem to have the incorrect RVA (or maybe the RVA is different from the one I'm expecting.)

Here is a comparison between the RVA calculated using the dbghelp Win32 functions and the RVA from SharpPdb:

PDB file: clr.pdb

Symbol: g_pGCHeap

RVA from dbghelp: A17038

RVA from SharpPdb: A25A60

how to checkout _LIST_ENTRY members?

0:000> dt _LIST_ENTRY
ntoskrnl!_LIST_ENTRY
+0x000 Flink : Ptr64 _LIST_ENTRY
+0x008 Blink : Ptr64 _LIST_ENTRY

How can I know there are two pointers in _LIST_ENTRY?

How to get export symbols from DLL files

I would like to use this as a replacement for dbghelp. But I'm struggling with getting the export symbols from system modules such as Kernel32.dll. Dbghelp has no issues with these files, even when I'm offline (its not downloading any pdb files from the internet). Any idea?

Many UserDefinedTypes missing

Hey @southpolenator
I hope you are still somehow around and maintaining this project. I was planning to use SharpPdb instead of the Native DIA COM interface as it is super slow and the type model exposed by SharpPdb is very useful.

Unfortunately I noticed that a lot of user defined types are missing when loading my PDB and a lot of them are essential for my purpose.

image

Unfortunately I cannot share the related binaries but I was wondering if you have some ideas on how I could troubleshoot this. One of the missing type is a simple C# class with various members and a base class, nothing special about it.

I wonder if my PDB is an unsupported version? I noticed that there are 2 "TypeLeafKinds" with many records in the TpiStream:

image

If I count the DIA symbols by GetUdtKind() I get those numbers:
image

If I count the PdbSharp TypeRecords by TypeLeafKind I get those numbers with many classes less:
image

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.