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

Addition of Tracing hooks #78

Open
wants to merge 7 commits into
base: capemon
Choose a base branch
from
Open

Conversation

cccs-mog
Copy link
Contributor

No description provided.

@cccs-kevin
Copy link

👀

@kevoreilly
Copy link
Owner

It would be great to get these hooks tested and merged - are you able to provide something to test them, either a sample or compiled test code?

@cccs-mog
Copy link
Contributor Author

@kevoreilly
Copy link
Owner

Thanks for the info - I just set about compiling the PR in order to start testing. Unfortunately the code seems to be generating a large number of warnings relating to string types.

For example, looking at the first warning:

1>d:\work\cape\capemon\hook_trace.c(31): warning C4133: 'function': incompatible types - from 'LPWSTR' to 'char *const '

It relates to the line:

sprintf( str, fmt, pSid->Revision,

Here the type definition is LPWSTR str which is a wide string, but sprintf takes type char*. The rest of the warnings are similar making me wonder how you are compiling at your end. But ultimately it needs to compile in VS2017, would you be able to address these warnings?

@cccs-mog
Copy link
Contributor Author

Fixed the warning, haven't had a chance to test the change yet. Will comment back/commit after being able to test the recent change. Thanks

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

Successfully merging this pull request may close these issues.

3 participants