Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XNTSV output incorrect for function pointers #16

Open
jordan9001 opened this issue Sep 25, 2022 · 2 comments
Open

XNTSV output incorrect for function pointers #16

jordan9001 opened this issue Sep 25, 2022 · 2 comments

Comments

@jordan9001
Copy link

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
Copy link
Author

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
Copy link
Owner

horsicq commented Sep 25, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants