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

SOCKET_CONTEXT / IOCTL_AFD_SET_CONTEXT helper data format is unknown #424

Open
derekbruening opened this issue Nov 28, 2014 · 4 comments
Open

Comments

@derekbruening
Copy link
Contributor

From [email protected] on May 30, 2011 04:33:39

On W7 x64 the SizeOfHelperData is 4 and all the bytes after the remote address are initialized (on the issue #421 test).

On XP 32 (and maybe 64-bit too) the SizeOfHelperData is more (104 on 32-bit) and some data in the middle is uninit.

The current comment in drmemory/syscall_windows.c says:
/* XXX: helper data could be a struct w/ padding. I have seen pieces of
* it be uninit on XP. If see many false positives here should just
* disable this until understand its structure.
*/

xref issue #375

Original issue: http://code.google.com/p/drmemory/issues/detail?id=424

@derekbruening
Copy link
Contributor Author

From [email protected] on June 01, 2011 04:43:58

btw, it's possible that helper data doesn't contain any data originating from the winsock client (i.e. a user program), so false negatives may not very important.

Labels: -Priority-Medium Priority-Low

@derekbruening
Copy link
Contributor Author

From [email protected] on June 01, 2011 06:54:12

please provide evidence to back that claim. did you track where the helperdata comes from?

@derekbruening
Copy link
Contributor Author

From [email protected] on June 01, 2011 07:02:35

After looking briefly at the ReactOS sources I had an impression that HELPER_DATA structure contains only stuff like refcount and function pointers (callbacks) - something that a mortal winsock user should not work with.

@derekbruening
Copy link
Contributor Author

From [email protected] on February 17, 2013 10:52:24

Labels: GoodContrib

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

No branches or pull requests

1 participant