horsicq / PDBRipper

PDBRipper is a utility for extract an information from PDB-files.
MIT License
802 stars 87 forks source link

XNTSV output incorrect for function pointers #16

Open jordan9001 opened 2 years ago

jordan9001 commented 2 years ago

The XNTSV output has incorrect names and types for function pointers.

                {
                    "name": "OpenRoutine)(union _LARGE_INTEGER )",
                    "offset": 56,
                    "size": 8,
                    "type": "unsigned char  ( *"
                }

An example function pointer members from _DUMP_INITIALIZATION_CONTEXT. Ideally name would be OpenRoutine, and type would be unsigned char ( * )(union _LARGE_INTEGER ).

jordan9001 commented 2 years ago

Sorry, it is wrong to say that this output is wrong, as it depends on how you use it in your XNTSV tool. For consuming this as JSON elsewhere, though, it could be nice if the type and name were as described above.

horsicq commented 2 years ago

Thsnks a lot for the report. I will take a look.